var natsShowExit = true; var popDialogOptions = "dialogWidth:800px; dialogHeight:600px; dialogTop:0px; dialogLeft:0px; edge:Raised; center:0; help:0; resizable:1; scroll:1; status:0"; var popWindowOptions = "scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=1,status=1,resizable=1,height=600,width=800"; var useDialog = true; var isNew = false; var popURL = "https://signup.firstanaldate.com/popup_run.php?chain=16&nats=MTk1MTozOjI0"; var isSP2 = false; var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6"; function natsExit() { if (natsShowExit && !isUsingSpecial) { natsShowExit = false; window.open(popURL,"",popWindowOptions); } else if (natsShowExit && isUsingSpecial) { natsExitNew(); } } function natsExitNew() { if(natsShowExit) { natsShowExit=false; if(!isSP2 && !useDialog) { window.open(popURL,"",popWindowOptions); } else if(!isSP2 && useDialog) { eval("window.showModalDialog(popURL,'',popDialogOptions)"); } else { iie.launchURL(popURL); } } } function natsInner() { document.body.innerHTML+=""; } function checkVersion() { isSP2 = (window.navigator.userAgent.indexOf("SV1") != -1); if (isSP2) natsInner(); isUsingSpecial = true; } eval("window.attachEvent('onload',checkVersion);"); eval("window.attachEvent('onunload',natsExitNew);");