<%id = request.querystring("id") redirectTyp=301 if id<>"" then redirectUrl="/events/index.asp" else redirectUrl="/events/index.asp" end if%> <% if redirectUrl<>"" then if redirectTyp=301 then Response.Status="301 Moved Permanently" Response.AddHeader "Location", redirectUrl end if else Response.Status="301 Moved Permanently" Response.AddHeader "Location", "http://www.petnet.co.il" end if %>