home *** CD-ROM | disk | FTP | other *** search
- <%@ LANGUAGE=VBScript %>
-
- <% Option Explicit %>
- <% Response.Expires = 0 %>
-
- <%
- Dim key
-
- ' Called by iihd.asp, when opening property sheets.
-
- ' this is a fairly generic script... we pass in a variety of keys to set our session vars with
- ' including, but not limited to: vtype, stype, spath, dpath
-
-
-
- For Each key In Request.QueryString
- 'Response.write "KEY:" & key
- 'Response.write " VAL:" & Request.QueryString(key) & "<P>"
- Session(key)=Request.QueryString(key)
- Next
-
- %>
-
- <HTML>
- <BODY>
-
- <SCRIPT LANGUAGE="JavaScript">
-
- function popBox(title, width, height, filename){
-
- var popbox;
-
- thefile=(filename + ".asp");
- thefile="iipop.asp?pg="+thefile;
-
- <% if Session("Browser") <> "IE3" then %>
- width=width +25;
- height=height + 50;
- <% end if %>
-
- popbox=window.open(thefile,title,"toolbar=no,scrollbars=yes,directories=no,menubar=no,width="+width+",height="+height);
- if(popbox !=null){
- if (popbox.opener==null){
- popbox.opener=self;
- }
- }
- }
-
-
-
- if ("<%= Request.QueryString("vtype") %>"=="comp"){
- <% if Session("FONTSIZE") = "LARGE" then %>
- popBox("computer",525,300,"iicomp");
- <% else %>
- popBox("computer",440,250,"iicomp");
- <% end if %>
- top.body.iisstatus.location="iistat.asp"
- }
- else{
- path = "ii<%= Request.QueryString("stype") %>.asp?vtype=<%= Request.QueryString("vtype") %>";
-
- top.body.location.href=(path);
- }
-
-
-
- </SCRIPT>
-
- </BODY>
- </HTML>
-
-