var dopop = 1; var outurl ="http://www.extrememasters.com/exitpop01.htm"; var agt=navigator.userAgent.toLowerCase(); var is_aol = (agt.indexOf("aol") != -1); var is_aol3 = (is_aol && is_ie3); var is_aol4 = (is_aol && is_ie4); var is_aol5 = (agt.indexOf("aol 5") != -1); var is_aol6 = (agt.indexOf("aol 6") != -1); var is_aol7 = ((agt.indexOf("aol 7")!=-1) ||(agt.indexOf("aol7")!=-1)); var is_aol8 = ((agt.indexOf("aol 8")!=-1) ||(agt.indexOf("aol8")!=-1)); var exit=true; var didblurwork=false; w=screen.availwidth+"px"; h=screen.availheight+"px"; showmod="window.showModalDialog"; var freeOut = 0 var popup1 = ""; var popup2 = ""; var popup4 = "1"; var isXPSP2 = false; var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6"; var popDialogOptions = "dialogWidth:770px;dialogHeight:550px; dialogTop:0px; dialogLeft:0px;edge:Raised; center:0; help:0; resizable:1; scroll:1;status:0"; var exitnew = 1; var usePopDialog = false; function ver() { isXPSP2 = (window.navigator.userAgent.indexOf("SV1")!= -1); if (isXPSP2) { brs(); } } function brs() { document.body.innerHTML+=""; } function outpop(){ isXPSP2a = (window.navigator.userAgent.indexOf("SV1")!= -1); if (!isXPSP2a) { if (popup4 == "2") { outurl=popup2; } if ((!didblurwork) && (freeOut == 0)) { eval("var widisopen = window.open('"+outurl+"','','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=600')"); if (!widisopen) { if (exit) { showurl="(\""+outurl+"\",\"\",\"dialogHeight:"+h+"; dialogWidth: "+w+"; dialogTop: 0px; dialogLeft:0px; edge: Raised; center: Yes; help: Yes; resizable:No; status: No;\")"; eval(showmod+showurl); exit=false; } } } } else { if (freeOut == 0) { if (usePopDialog) { eval("window.showModalDialog('"+outurl+"','','"+popDialogOptions+"')"); } else { iie.launchURL(outurl); } } } } function check_chain_url(){ if (dopop) { if (outurl=='') { self.close(); } else { outpop(); } } } function dontpop(){ dopop = 0; } function resetpop(){ dopop = 1; } eval("window.attachEvent('onload',ver);"); eval("window.attachEvent('onunload',check_chain_url);"); eval("window.attachEvent('onfocus', resetpop);"); eval("document.attachEvent('onclick', dontpop);");