%@ LANGUAGE="VBSCRIPT" %> <% Response.Buffer = True %> <% Response.Expires = 5 %> <% Set bc = Server.CreateObject("MSWC.BrowserType") %> <% ' Convert Browser details to a more meaningful name If bc.Browser = "IE" THEN valBrowser = "Internet Explorer" ElseIf bc.Browser = "Netscape" THEN valBrowser = "Netscape Navigator" Else valBrowser = "Unknown" END IF Browser_Details = (valBrowser & " " & bc.Majorver & "." & bc.Minorver) ' The following line decides whether the java library is included or referenced ' Internet Explorer < 4 and Netscape < 4 doesn't seem to be able to handle the java being referenced from secure channels DIM valScript, msgWarning IF bc.Majorver >= 4 THEN valScript = "ScriptServerSide" ELSE valScript = "ScriptClientSide" END IF %> <% DIM Apply_Credit_Card, Apply_Personal_Loan, Credit_Card_Type, Credit_Card_Description ' Convert parameters sent from Query string into local server side variables Apply_Credit_Card = Request.QueryString("Apply_Credit_Card") Apply_Personal_Loan = Request.QueryString("Apply_Personal_Loan") Credit_Card_Type = Request.QueryString("Credit_Card_Type") ' Convert Card Type to a more meaningful Description Select Case Credit_Card_Type Case "visaclassic" Credit_Card_Description = "Visa Classic with no interest free period" Case "visaclassic55" Credit_Card_Description = "Visa Classic with up to 55 days interest free" Case "visagold55" Credit_Card_Description = "Visa Gold with up to 55 days interest free" Case "visagold" Credit_Card_Description = "Visa Gold with no interest free period" Case "stndmaster" Credit_Card_Description = "Standard MasterCard with no interest free period" Case "stndmaster55" Credit_Card_Description = "Standard MasterCard with up to 55 days interest free" Case "goldmaster55" Credit_Card_Description = "Gold MasterCard with up to 55 days interest free" Case "goldmaster" Credit_Card_Description = "Gold MasterCard with no interest free period" Case "bankcard55" Credit_Card_Description = "Bankcard with up to 55 days interest free" Case Else Credit_Card_Description = "UNKNOWN Credit Card" End Select %>