var login=""; var password="{password}"; var email=""; var login_last="{ls_last}"; var login_count="{ls_ok}"; var exp_days="{exp_days}"; var exp_hits="{exp_hits}"; var auth_res="fail"; var auth_fail_url=""; var adcode=""; var pp_drc=""; var pp_drc_mes="Right click disabled"; var pp_dst=""; var pp_dsb=""; verify_login(); //window.alert(auth_res); document.writeln(adcode); function verify_login() { if (auth_res=="fail") { if (document.body) { document.body.style.visibility='hidden'; } document.location.href=auth_fail_url; return false; } if (auth_res=="ok") { return true; } } if (pp_drc==1) { //Disable right click function clickIE() { if (document.all) {(pp_drc_mes);return false;} } function clickNS(e) { if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(pp_drc_mes);return false;} } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS; } else { document.onmouseup=clickNS;document.oncontextmenu=clickIE; } document.oncontextmenu=new Function("return false") } if (pp_dst==1) { //Disable select text function dst_f(e) { return false } function dst_t() { return true } //if IE4+ document.onselectstart=new Function ("return false") //if NS6 if (window.sidebar){ //document.onmousedown=dst_f //document.onclick=dst_f } } if (pp_dsb==1) { //Disable status bar if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT | Event.MOUSEDOWN); document.onmouseover=pp_hidestatus; document.onmouseout=pp_hidestatus; document.onmousedown=pp_hidestatus; } function pp_hidestatus() {window.status='';return true}