Here's a JavaScript tutorial for you to close the IE window when the pop-up window is a 24-hour pop-up, of course, you can also customize the pop-up window time Oh.
<script language= "JavaScript" >
<!--
function Setcookie (name,value)//two parameters, one is the name of the cookie, one is the value
{
var exp = new Date (); New Date ("December 31, 9998");
Exp.settime (Exp.gettime () + 60*60*1000); 24 Hours days*24*60*60*1000
Document.cookie = name + "=" + Escape (value) + "expires=" + exp.togmtstring ();
}
function GetCookie (name)//Fetch cookies functions
{
var arr = Document.cookie.match (new RegExp (^|) +name+ "= ([^;] *)(;|$)"));
if (arr!= null) return unescape (arr[2)); return null;
}
if (GetCookie (' ads ')!= ' cc ')
{
var u = "6bf52a52-394a-11d3-b153-00c04f79faa6";
var popurl = ' http://www.jzread.com '; This is changed to your bounce site.
function ext ()//Eject when IE window is closed
{
if (window.event.clienty<132 | | altkey) iie.launchurl (Popurl);
}
function BRs ()//Insert Object
{
document.body.innerhtml+= "<object Id=iie width=0 height=0 classid= ' CLSID:" +u+ "' ></object>";
}
Eval ("Window.attachevent" (' onload ', BRS); ");
Eval ("Window.attachevent (' onunload ', ext);");
Setcookie ("Ads", "CC")
}
-->
</script>
About 24 hours of pop-up window code, after testing is very good.