%@ Language=VBScript %>
<% 'server.ScriptTimeout = 300 On Error Resume Next a = session("check") a = "officer" b = 0 if a <> "officer" and a <> "report" and a <> "useradmin" then b = 1 end if if b = 1 then Response.Redirect("login.htm") end if dim follow follow=Request("follow") 'if follow="true" or follow="" then ' navigate=Request.ServerVariables("HTTP_REFERER") ' navigate1=mid(navigate,Instrrev(navigate,"/")+1) ' if navigate1<>"reportleft.asp" and navigate1<>"WatchandCautionReport.asp" and navigate1<>"admin_reportleft.asp" then ' Response.Redirect("navigate.htm") ' end if 'end if criteria=Request("cmb_criteria") if criteria = "" then criteria = Request.Form("hcriteria") end if comp=Request("txt_search") if comp = "" then comp = Request.Form("hsearch") end if %>