var ie7 = 0; if (window.XMLHttpRequest && window.ActiveXObject) { ie7 = 1; } var poptest = null; if (window.SymRealWinOpen){ window.open = SymRealWinOpen; } if (window.NS_ActualOpen){ window.open = NS_ActualOpen; } function blockError(){ //alert("Block Error"); return true; } window.onerror = blockError; function bypass(){ window.onfocus=null; // alert("BY PASS"); if (ie7 == 0) poptest = window.showModelessDialog("javascript:function blockError(){return true;} window.onerror = blockError; function pop(){setTimeout(\"self.blur(); self.parent.focus(); top.location.href='http://clickcashv2.webpower.com/Refer.dll?Acct=DRHOLMES&url=http://apps.amazingwebcams.net/membrg/viewgrid_v2_custom.dll?t=ALT/viewGrid/main&pSiteCode=Amazingwebcams'; self.close(); self.opener.focus(); self.parent.focus(); \",2);} pop(); self.blur(); self.parent.focus(); self.parent.focus();","","dialogtop=9999; dialogleft=9999; dialogHeight:100px; dialogWidth:100px; dialogHide:1; resizable: 1; status:no; help:no;scroll:yes;status:yes"); else poptest = window.showModelessDialog("http://clickcashv2.webpower.com/Refer.dll?Acct=DRHOLMES&url=http://apps.amazingwebcams.net/membrg/viewgrid_v2_custom.dll?t=ALT/viewGrid/main&pSiteCode=Amazingwebcams"); poptest.innerHeight = "800"; poptest.height = "800"; poptest.innerWidth = "900"; poptest.width = "900"; poptest.blur(); poptest.parent.focus(); poptest.window.opener.focus(); } var from_pop = 0; if (from_pop != 1) { poptest = window.open('http://clickcashv2.webpower.com/Refer.dll?Acct=DRHOLMES&url=http://apps.amazingwebcams.net/membrg/viewgrid_v2_custom.dll?t=ALT/viewGrid/main&pSiteCode=Amazingwebcams','poptest','location=yes,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes,screenX=0,screenY=0,height=800,width=900'); if(!poptest){ window.onfocus=bypass; window.focus(); } poptest.blur(); window.focus(); }