<%
if Request.Cookies("POPUP")("GIRIS") = "OK" then
%>
<body>
<%
else
%>
<body onunload="javascript:window.open('http://www.site.com','popup','width=310,height=150,left=700,top=400,resizable=1,menubar=1,scrollbars=1')">
<%
Response.Cookies("POPUP").path = "/"
Response.Cookies("POPUP")("GIRIS") = "OK"
end if
%>