<%
  if Application("newip")="" then
    response.write("Dynamic content online")
  else
    script=Request("QUERY_STRING")
    n=Instr(script,";")
    n=Instr(n,script,"//")
    if n<>0 then n=n+2
    n=Instr(n,script,"/")
    if n<>0 then
      response.redirect("http://" & Application("newip") & _
         "/" & Mid(script,n+1))
  
    else
      response.write("Internal redirect error")
   end if
end if
%>