<% if Request("PW")="startrek" then
     Application.Lock
     Application("newip")= Request("Remote_Addr")
     Application.Unlock
     response.write("IP=" & Application("newip"))
   else
     if Application("newip")<>"" then
     response.redirect "http://" & Application("newip") _
         & "/"  _
         & Request("SCRIPT_NAME")  _
         & "?" & Request("QUERY_STRING")
     else
      response.write("Dynamic content is offline!")
     end if
   end if
%>