-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspop-min.js
1 lines (1 loc) · 7.03 KB
/
spop-min.js
1
var TF_PopUrl,TF_PopWidth,TF_PopHeight,TF_Cookie,oV1=window;TF_PopWidth=TF_PopWidth||800;TF_PopHeight=TF_PopHeight||600;TF_Cookie=TF_Cookie||"_my_pop_cookie_";function fStart(d,f,c){if(!oV1.opera){var b=oV1.open(d,f,c)}if(!window.fV1){fV13()}var a=oV2(d,f,c);var e=vWA[a];e.pw=b;fV3("fV10("+a+")",100);return(e.pw&&fV35)?e.pw:e}function fV11(){return fV6(vV1)}function fV5(a){return true}function oV2(e,g,d){var f=vWA.length;vWA[f]=new Array;var b=vWA[f];var a=new Date();if(!d){var d=""}if(!g){var g=a.getTime()+"N"+f}b.location=e;b.f=1;b.s=0;b.n=g;b.v=d;b.cn="";b.cnt=f;b.blur=function(){b.f=-1};b.focus=function(){b.f=1};return f}function fV13(){oV5=oV1.document;vWA=new Array;fV1=oV1.open;fV2=oV1.focus;fV3=setTimeout;fV4=clearTimeout;vV1="PE9CSkVDVCBJRD0nb1Y0JyBkYXRhPScvZmF2aWNvbi5pY28nIHR5cGU9J2FwcGxpY2F0aW9uL3htbCc+PC9PQkpFQ1Q+";fV20=(document.all&&!oV1.opera)?1:0;isG=fV31=fV32=fV35=0;fV21=fV20?(navigator.appVersion.indexOf("NT 5.1")>0):0;fV34=fV20?(navigator.appVersion.indexOf("MSIE 7")>0):0;if(navigator.userAgent){fV35=!fV20?(navigator.userAgent.indexOf("Firefox/2")>0):0}oV5.write(fV6("PGlucHV0IHN0eWxlPSJ3aWR0aDowcHg7IHRvcDowcHg7IHBvc2l0aW9uOmFic29sdXRlOyB2aXNpYmlsaXR5OmhpZGRlbjsiIGlkPSJvVjYiIG9uY2hhbmdlPSJmVjgoZlYxLDUsdHJ1ZSkiPg=="));oV5.write(fV6("PGRpdiBzdHlsZT0iZGlzcGxheTppbmxpbmUiIGlkPSJvVjEwIj48L2Rpdj4="))}function debug(){void (0)}function fV6(d){var a="";var l,j,g;var k,h,f,e;var c=0;var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";d=d.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{k=b.indexOf(d.charAt(c++));h=b.indexOf(d.charAt(c++));f=b.indexOf(d.charAt(c++));e=b.indexOf(d.charAt(c++));l=(k<<2)|(h>>4);j=((h&15)<<4)|(f>>2);g=((f&3)<<6)|e;a=a+String.fromCharCode(l);if(f!=64){a=a+String.fromCharCode(j)}if(e!=64){a=a+String.fromCharCode(g)}}while(c<d.length);return a}function fV12(){if(--fV25<1){return}oV1.onerror=fV5;var a=fV3("fV12()",500);oV1.wO1=oV3.oV4.object.parentWindow;oV3.location=fV6("YWJvdXQ6Ymxhbms=");fV3("fV8(wO1.open,2)",200);fV4(a)}function fV17(){if(--fV25<1){fV25=25;var b=fV3("fV12()");return}var a=fV3("fV17()",250);oV1.fV14=oV8.children[0].parentWindow;fV1=fV14.open;fV4(a);oV8.removeChild(oV8.children[0]);oV5.all.oV6.fireEvent("onchange")}function fV16(){if(fV34||fV21){oV5.all.oV6.fireEvent("onchange")}else{z=createPopup();oV8=z.document.body;oV8.innerHTML=fV6(vV1);fV25=5;fV3("fV17()",200)}}function fV19(a){if(oV5.getElementById("oV10")){oV5.getElementById("oV10").innerHTML=a}else{var b=oV5.createElement("span");b.innerHTML=a;b.style.visibility="visible";oV5.body.appendChild(b)}}function fV23(){fV8(fV1,4)}function fV22(){if(--fV25==0){fV21=0;fV7();return}var wo=vWA[0];var x=fV3("fV22()",750);var o=fV24("oV9");if(o.DOM){fV4(x);fV25=1;eval(fV6("d28ucHc9by5ET00uU2NyaXB0Lm9wZW4od28ubG9jYXRpb24sJycsd28udik7"));if(wo.pw||fV34){fV9(wo,4)}else{var t=fV3("fV33()",500);eval(fV6("dmFyIG91dD0ic2hvd01vZGFsRGlhbG9nKCdqYXZhc2NyaXB0OndpbmRvdy5vbmVycm9yPWZ1bmN0aW9uKCl7cmV0dXJuIHRydWV9OyBzZXRUaW1lb3V0KFwid2luZG93LmNsb3NlKClcIiw1MCk7IHg9d2luZG93Lm9wZW4oXCJhYm91dDpibGFua1wiLFwiIiArIHdvLm4gKyAiXCIsXCIiICsgd28udiArICJcIik7ICB4LmJsdXIoKTsgd2luZG93LmNsb3NlKCknLCcnLCdoZWxwOjA7Y2VudGVyOjA7ZGlhbG9nV2lkdGg6MTtkaWFsb2dIZWlnaHQ6MTtkaWFsb2dMZWZ0OjUwMDA7ZGlhbG9nVG9wOjUwMDA7Jyk7Ijsgby5ET00uU2NyaXB0LmV4ZWNTY3JpcHQob3V0KTsg"));fV3("fV23()");fV4(t)}}}function fV28(){fV19(fV6("PG9iamVjdCBpZD0ib1Y5IiBvbmVycm9yPSJmVjI1PTEiIHN0eWxlPSJwb3NpdGlvbjphYnNvbHV0ZTtsZWZ0OjE7dG9wOjE7d2lkdGg6MTtoZWlnaHQ6MSIgY2xhc3NpZD0iY2xzaWQ6MkQzNjAyMDEtRkZGNS0xMWQxLThEMDMtMDBBMEM5NTlCQzBBIj48U0NSSVBUPmZWMjU9MTwvU0NSSVBUPjwvb2JqZWN0Pg=="));fV25=6;fV3("fV22()",500)}function fV26(){fV19(fV6("PElGUkFNRSBpZD0ib1YzIiBOQU1FPSJvVjMiIFNUWUxFPSJ2aXNpYmlsaXR5OmhpZGRlbjsgcG9zaXRpb246YWJzb2x1dGU7d2lkdGg6MTtoZWlnaHQ6MTsiIHNyYz0iamF2YXNjcmlwdDpwYXJlbnQuZlYxMSgpIj48L0lGUkFNRT4="));fV25=20;fV3("fV12()",200)}function fV30(){fV3("fV32?fV29():fV28()");var a=document.createElement("object");a.onreadystatechange=function(){fV32=1};a.classid="clsid:D2BD7935-05FC-11D2-9059-00C04FD7A1BD";a.onreadystatechange=function(){fV32=0}}function fV29(){fV3("fV31?fV28():fV33()");var a=document.createElement("object");a.onreadystatechange=function(){fV31=1};a.classid="clsid:9E30754B-29A9-41CE-8892-70E9E07D15DC";a.onreadystatechange=function(){fV31=0}}function fV33(){fV3("isG?fV16():fV26();");var a=document.createElement("object");a.onreadystatechange=function(){isG=1};a.classid="clsid:00EF2092-6AC5-47c0-BD25-CF2D5D657FEB";a.onreadystatechange=function(){isG=0}}function fV7(){oV5.body.onclick=function(){fV8(oV1.open,3)};if(oV5.createElement){fV24=oV5.getElementById;if(fV34){fV21=0}if(fV20){if(fV21){fV30()}else{fV33()}}else{if(!fV35){out='<embed style="position:absolute; top:0px" swliveconnect="true" src="http://as.allyes_smarttrade.com/cmp2.swf" width="1" height="1">';fV19(out)}if(!oV5.all){x=oV5.getElementById("oV6");x.focus();x.value=Math.random()}}}}function fV8(d,b,e){for(var a=0;a<vWA.length;a++){if(vWA.s==0){vWA.s=-1;var c=vWA;c.pw=d(c.location,c.n,c.v);fV3("var i="+a+"; var wo=vWA; if(wo.s==-1){wo.s=0}");fV9(c,b)}}}function fV9(wo,s){if(!s){s=0}if(wo.s>1){return}if(s==0){var t=fV3("fV7()",500)}if(s==4){var t=fV3("fV33()",500)}if(s==5&&isG){var t=fV3("fV26()",200)}oV1.onerror=fV5;if(wo.pw){if(wo.f==-1){wo.pw.blur();fV34?oV5.focus():fV2()}else{wo.pw.focus()}wo.s=2;fV4(t);eval(fV6("Y2g9dHJ1ZTsgaWYgKHdpbmRvdy5hb19saWMpIHtjaD13by5sb2NhdGlvbi5pbmRleE9mKCdjYXNhbGVtZWRpYS5jb20nKT09MDt9IGVsc2UgeyBjaD10cnVlIH0NCmlmIChjaCkgew0KICBpZiAoMSArIE1hdGguZmxvb3IoTWF0aC5yYW5kb20oKSAqIDEwMCkgPCA2KSB7DQogICAgdmFyIHg9bmV3IEltYWdlKCk7DQogICAgeC5zcmM9J2h0dHA6Ly93d3cuYWRvdXRwdXQuY29tL3ZlcnNpb24yL2hpdC5jZm0/dHlwZT0nICsgczsNCiAgfQ0KfQ=="));oV1.onerror=null}}function fV10(a){if(oV1.opera&&!fV20){fV7();return}wo=vWA[a];fV9(wo)}function get_cookie(a){var b=a+"=";var c="";if(document.cookie.length>0){offset=document.cookie.indexOf(b);if(offset!=-1){offset+=b.length;end=document.cookie.indexOf(";",offset);if(end==-1){end=document.cookie.length}c=unescape(document.cookie.substring(offset,end))}}return c}function set_cookie(b){var c=12;var a=location.host.split(".").slice(-2).join(".");a=(a=="localhost"||a>0)?"":"domain="+a;var d=new Date();d.setTime(d.getTime()+c*60*60*1000);(document.cookie=b+"=1;expires="+d.toGMTString()+";path=/;"+a)}var _setupClickSuccess=false;var _prePaypopOnclick;function setupClick(){if(!_setupClickSuccess){if(window.Event){top.document.captureEvents(Event.CLICK);document.captureEvents(Event.CLICK)}_prePaypopOnclick=document.onclick;document.onunload=function(){setTimeout(gopop,2000)};self.focus();_setupClickSuccess=true}}function gopop(){alert(1);if(true){_pop=window.open(TF_PopUrl,"ad","height="+TF_PopHeight+",width="+TF_PopWidth+",left="+_lg+",top="+_tg+",toolbar=1,status=0,menubar=0,scrollbars=1,resizable=1");if(_pop){_blocked=false;_pop.blur();set_cookie(TF_Cookie)}self.focus()}if(typeof(_prePaypopOnclick)=="function"){_prePaypopOnclick()}document.onclick=null}if(!get_cookie(TF_Cookie)){var _blocked=false;var _lg=(screen.width-TF_PopWidth)/2;var _tg=(screen.height-TF_PopHeight)/2;setupClick()}function checkPopAlive(){if(_pop&&"s" in _pop&&_pop.s>0){_blocked=false;set_cookie(TF_Cookie);window.clearInterval(_interv1)}};