<% if Session("SESSION")<>"gasessionok" then if request.QueryString("kms")="" then response.Redirect("index.asp") else response.Redirect("index.asp?kms="&request.QueryString("kms")&"") end if end if %>