Fire-star
02-28-2010, 01:13 PM
Every now and then I get a weird bug type thing here. The most recent was I left a thread in the Windows XP forum. I got this code.
Code:
f_frSrc=function(){try{if(!arguments[0]||!arguments[1]){return}if(typeof(arguments[0])!='object'){frames[arguments[0]].location.href=arguments[1]}else{arguments[0].location.href=arguments[1]}}catch(e){}return};AF_flpp=new function(){this.adlt='';this.set=function(){try{if(typeof(_AF$.BOX)!='undefined'){_AF$.BOX.rm()}var tpp=document.body.getBoundingClientRect().top+document.body.scrollTop,bmtop=document.body.currentStyle['marginTop'.replace(/-(w)/g,function(strMatch,p1){return p1.toLowerCase()})],pleft=0,pwidth='100%',dt=new Date().getTime(),adlt=(!!arguments[0]?'&c='+arguments[0]:''),isrc=_AF$.AF+'api/clrdr2.php?cid=90&tm='+dt+adlt+'&afurl='+document.URL._AFtoHex(),mfl=_$id(_AF$.AD.ID+'flpp'),pfl=_$id('AFpfl'+_AF$.RN),cfl=_$id('AFcfl'+_AF$.RN),ffl=_$id('AFffl'+_AF$.RN);if(_AF$.wIW>=900){pleft=parseInt(_AF$.wIW/10);pwidth='80%'}if(tpp<0){tpp=tpp*-1}tpp+=parseInt(bmtop);_$tn('html')[0].style.overflow="hidden";document.body.style.overflow="hidden";pfl.style.left=pleft+'px';pfl.style.width=pwidth;pfl.style.height=_AF$.wIH+'px';pfl.style.top=tpp+'px';cfl.style.height=_AF$.wIH+'px';cfl.style.top=tpp+'px';cfl.style.width=(_AF$.wIW+20)+'px';ffl.style.width='100%';ffl.style.height=_AF$.wIH+'px';mfl.style.display='block';AFf_frSrc('AFffl'+_AF$.RN,isrc);var oarr=_$tn('object');for(var i=0;i]*>(.*?)<\/script>/gi,stl=/]*>(.*?)<\/style>/gi,matchTag=/<(?:.|\s)*?>/g;kwstr=document.body.innerHTML;kwstr=kwstr.replace(stl,"");kwstr=kwstr.replace(scrpt,"");kwstr=kwstr.replace(matchTag,"");if(kwstr!=''){ct_add=this.s(kwstr,aps,',p');if(ct_add==''){ct_add=this.f(kwstr,apw,',p');if(ct_add==''){ct_add=this.f2(kwstr,apw2,',p');if(ct_add==''){ct_add=this.s(kwstr,a1,',1');if(ct_add==',1'&&kwstr.indexOf('2257')!=-1){ct_add=',p'}}}}}PRP=_$ina('p',_AF$.CT);PR1=_$ina('1',_AF$.CT);PR0=_$ina('0',_AF$.CT);_AF$.ACat=ct_add;if(PR0!=false&&PR1==false&&PRP==false){if(ct_add==',1'||ct_add==',p'){rep=true;if(_AF$.AD.A!=false&&_AF$.ADSRC!=''){_AF$.CT=_AF$.CT+ct_add;AFf_frSrc(_AF$.AD.ID,'about:blank');window.setTimeout(function(){AFf_frSrc(_AF$.AD.ID,_AF$.ADSRC+'&ncat='+_AF$.CT+'&cat='+_AF$.CT+_AF$.URR+_AF$.RFR)},1000)}}}else if(PR1!=false&&PRP==false){if(ct_add==',p'){rep=true;_AF$.CT=_AF$.CT+ct_add;AFf_frSrc(_AF$.AD.ID,_AF$.ADSRC+'&ncat='+_AF$.CT+'&cat='+_AF$.CT+_AF$.URR+_AF$.RFR)}}if(rep!=false){if(_AF$.CH=='HSSCNL000223'){_AF$.clsBtn()}if(_AF$.VIDEORUN.size!=''){_$id('AFvideorun').innerHTML=''}var AFtptst2=new Image();AFtptst2.src=_AF$.AFR+AFf_T()+'/afrpt.gif?tag='+_AF$.SN+'&sip='+_AF$.IP+'&cat='+_AF$.CT+'&ncat='+ct_add+'&affr=recat_iframe'+_AF$.URR}_AF$.CT+=ct_add;delete(tags)}}};var AFpre=new _AF_Meta2.init();AFpre.pre();(function(){try{if(parent.location!=document.location||top.location!=document.location){_AF$.TOP=0;return}var a_hf=document.URL+'',a_arrS=_$ck.get('AF_C'),lset=function(){var v=arguments[0]+'_'+escape(arguments[1]);_$ck.set('AF_C',v,arguments[2],'')};if(a_arrS!=null){var a_arr=new RegExp(/([0-9]+)_(.*)/).exec(a_arrS),a_f=a_arr[1]*1,a_Url=a_arr[2]+'',ea_hf=escape(a_hf);if(a_f>3&&ea_hf==a_Url){lset('4',a_hf,5);_AF$.TOP=0;return}else if(ea_hf!=a_Url){lset('0',a_hf,1)}else{lset((a_f+1),a_hf,1)}}else{lset('0',a_hf,1)}}catch(e){_AF$.TOP=0;return}document.write('
')})();_AF$.ON=(function(){if(_AF$.CH=='HSSCNL000219'||_AF$.CH=='HSSCNL000220'){_AF$.AD.P=false;_AF$.AD.C=false;_AF$.AD.K=false;_AF$.AD.S=false;if(_$ina('p',_AF$.CT)==true||_$ina('1',_AF$.CT)==true){_AF$.AD.A=false;return 0}else{_AF$.AD.A='ask'}}if(_AF$.CH=='HSSCNL000223'){if(_$ina('p',_AF$.CT)==true||_$ina('1',_AF$.CT)==true){_AF$.AD.A=false;return 0}}if(_AF$.CH=='HSSCNL000224'){if(typeof(AF_ASKBAR)!='undefined'&&AF_ASKBAR==true||_AF$.wIW<620){return 0}else{_AF$.AD.A='askbar';_AF$.AD.DIM=99;_AF$.AD.HGHT=58}}try{if(_AF$.TOP==0||_AF$.REF==_AF$.DOM||navigator.userAgent.indexOf('iPhone')!=-1||navigator.userAgent.indexOf('iPod')!=-1){return 0}if(_$ina('1C',_AF$.CT)==true||_$ina('1H',_AF$.CT)==true||_$ina('o',_AF$.CT)==true||_$ina('1J',_AF$.CT)==true){return 0}if(_$ina('1K',_AF$.CT)==true){window.location='687474703a2f2f686f7473706f74736869656c642e636f6d2f'._AFtoStr()+'terms/';return 0}if(_AF$.wIH<300||_AF$.wIW<485){_AF$.AD.DIM=0;_AFimgStat(6);return 0}else if(_AF$.CH!='HSSCNL000224'){if(typeof(AF_ASKBAR)!='undefined'&&AF_ASKBAR==true){if(unescape(_AF$.DOM).indexOf('hss=srch')!=-1){_AF$.AD.DIM=41;_AF$.AD.HGHT=31;AFf_DOM('AF_ASKFIX()')}else{return 0}}else if(typeof(AF_QBRBAR)!='undefined'&&AF_QBRBAR==true){if(unescape(_AF$.DOM).indexOf('hss=srch')!=-1){_AF$.AD.DIM=41;_AF$.AD.HGHT=31;AFf_DOM('AF_QBRFIX()')}else{return 0}}else if(unescape(_AF$.DOM).indexOf('hss=srch')!=-1){_AF$.AD.DIM=41;_AF$.AD.HGHT=31}else if(unescape(_AF$.DOM).indexOf('hss=srch')!=-1){_AF$.AD.DIM=41;_AF$.AD.HGHT=31}else if(_AF$.wIW>=748){_AF$.AD.DIM=100}else if(_AF$.wIW<748&&_AF$.wIW>=485){_AF$.AD.DIM=30;_AF$.AD.HGHT=61}}}catch(e){return 0}_AF_PP=function(){var b=(!!arguments[0]&&arguments[0]==true)?true:false,nf=function(){if(window.name=='AF'){window.name='AF2'}var pp=window.open(this.ur,'AF','copyhistory=1,titlebar=1,location=1,menubar=1,resizable=1,scrollbars=1,status=1,titlebar=1,toolbar=1,directories=1');if(pp!=null){if(document.addEventListener){document.removeEventListener('click',_AF_PP,false)}else if(document.attachEvent){document.detachEvent('onclick',_AF_PP)}pp.blur();window.focus()}return false};try{if(b==true){this.ur=arguments[1];if(document.addEventListener){document.addEventListener('click',_AF_PP,false)}else if(document.attachEvent){document.attachEvent('onclick',_AF_PP)}}else{nf()}}catch(e){return}};(function(){_AF$.STL=AFf_bgP();document.write("")})();return 1})();AFf_Box=function(){var d=document,db=d.body;this.tag=_$id(_AF$.AD.DV);this.shpx=_$id('AFt_trk'+_AF$.RN);this.cls='AFc_body'+_AF$.RN;this.elA=[];this.modABS=true;this.pS=function(){if(d.defaultView&&d.defaultView.getComputedStyle){return d.defaultView.getComputedStyle(arguments[0],'').getPropertyValue(arguments[1])}else if(!!arguments[0]&&arguments[0].currentStyle){return this.trim(arguments[0].currentStyle[arguments[1].replace(/-(w)/g,function(strMatch,p1){return p1.toLowerCase()})])}return''};this.getP=function(){var c='',b=true,a=arguments[0];while(a.parentNode!=null){a=a.parentNode;c=this.pS(a,'position');if(a.tagName.toLowerCase()=='body'&&c=='static'){break}else if(c=='relative'||c=='absolute'||c=='fixed'){b=false;break}}return b};this.trim=function(){return arguments[0].replace(/^\s*|\s*$/g,'')};this.getABC=function(){var ot=_$tn('*'),dln=ot.length,a=[];for(var i=0;i6){this.tag.style.position='fixed'}else if(document.compatMode&&document.compatMode=="CSS1Compat"&&typeof(document.body.style.maxHeight)!="undefined"){this.tag.style.position='fixed'}else{this.tag.style.position='absolute'}this.tag.style.display='block';this.tag.style.height=_AF$.AD.HGHT+'px';this.adpos();_AF$RM=false};this.lrm=function(){this.tag.style.display='none'};this.rm=function(){_AF$.AD.A=false;this.tag.style.display='none';this.shpx.style.display='none';try{AFf_Pr.showX();if(typeof(this.elA)!='undefined'&&this.elA.length!=0&&this.elA!=null){for(var i=this.elA.length;--i>=0;){var el=_$id(this.elA[i]);if(typeof(el)!='undefined'){var tp=this.pS(el,'top').toUpperCase();tp=tp.replace(/[^0-9]/g,'');el.style.top=(tp-_AF$.AD.HGHT)+'px'}}this.elA=null;this.modABS=false}AFf_rmNode(_AF$.AD.ID)}catch(e){}};this.adpos=function(){if(this.pS(db,'position')=='relative'){this.tag.style.top='-'+_AF$.AD.HGHT+'px';this.tag.style.width='100%'}else{this.tag.style.top='0px';this.tag.style.width=_AF$.wIW+'px'}if(_AF$.AD.DIM!=30){try{var advc=_$id(_AF$.AD.DVC);advc.style.position='absolute';advc.style.top='0';if(_AF$.AD.A=='ask'){var nsz=(_AF$.wIW>1130)?((_AF$.wIW/2)-374):'203';nsz=(_AF$.wIW<970)?'0':nsz}else if(_AF$.AD.A=='askbar'){var nsz=(((_AF$.wIW/2)-310)>1)?((_AF$.wIW/2)-310):'0'}else{if(_AF$.VIDEORUN.size!=''){var nsz=(((_AF$.wIW/2)-443)>1)?((_AF$.wIW/2)-443):'0'}else{var nsz=(((_AF$.wIW/2)-374)>1)?((_AF$.wIW/2)-374):'0'}}advc.style.left=nsz+'px'}catch(e){}}}};AFf_Pr=new function(){if(typeof(_AF$)=='undefined'||_AF$.C==false||typeof(AFf_T)=='undefined'){return}var getHost,getElsId,dhost=_AF$.DOM,aN=0,eN=0,elObj=[],elObjS=[],a=0,set,els='iframe,embed',change_time=4000;getHost=function(b){var _s=null;if(_AF$.hasClass(b,'AFc_all'+_AF$.RN)){return false}if(typeof(b.src)!='undefined'){_s=b.src}else{var _bn=b.childNodes;_bnlength=_bn.length;for(var m=0;m<_bnlength;m++){if(_bn[m].name&&_bn[m].name=='movie'){_s=_bn[m].value;break}}}if(_s!=null&&_s.indexOf('http')!=-1){var _sn=_s.match(/:\/\/(www\.)?([^\/:]+)/);if(_sn==null||_sn.length<2||typeof(_sn[2])=='undefined'){_sn=dhost}else{_sn=_sn[2]}}if(_sn!=null&&_sn!=dhost&&_sn!='box.anchorfree.net'&&_sn.indexOf('videoegg')==-1&&_sn.indexOf('mevio')==-1){return true}return false};toggle=function(nm){var fObj=_$id('AFt_adRepFrame'+nm),iObj=_$id('AFt_adRepImg'+nm),sArr=fObj.getAttribute('alt'),h=sArr[0],w=sArr[1],_top=_AFePos.y(fObj),_left=_AFePos.x(fObj);if(iObj.style.display='block'){iObj.style.display='none'}else if(iObj.style.display='none'){iObj.style.top=_top+'px';iObj.style.left=(_left+w-10)+'px';iObj.style.display='block'}};set=function(el,w,h){var cnt=_$id('AFt_adRep'+a),cls=el.getAttribute('class'),stl;if(typeof(cls)!='undefined'&&cls!=null){cnt.setAttribute('class',cls)}el.parentNode.insertBefore(cnt,el);cnt.style.width=w+'px';cnt.style.height=h+'px';cnt.style.display='block';if(_AF$.AD.A==true){var img_display='display:none;'}else{img_display='display:block;'}var sr=_AF$.VRS+'?#tag='+_AF$.SN+'&sip='+_AF$.IP+'&cnl='+_AF$.CH+'&cat='+_AF$.CT+'&type=c&w='+w+'&h='+h+_AF$.URR+_AF$.RFR;cnt.innerHTML=' [Show last ad] ';el.style.height='0';a++};this.del=function(a,h){var cnt=_$id('AFt_adRep'+a);cnt.style.display='none';cnt.nextSibling.style.height=h+'px';AFf_rmNode('AFt_adRep'+a)};this.showX=function(){for(var n=a;--n>=0;){var iObj=_$id('AFt_adRepImg'+n);if(typeof(iObj)!='undefined'){iObj.style.display='block'}}};this.init=function(){if((AFf_T()-_AF$.STT)=466&&w<=472)&&(h>=58&&h<=64)){elObj[++a]=tag[i];elObjS[a]=[468,60]}else if((w>=298&&w<=304)&&(h>=248&&h<=254)){elObj[++a]=tag[i];elObjS[a]=[300,250]}else if((w>=726&&w<=732)&&(h>=88&&h<=94)){elObj[++a]=tag[i];elObjS[a]=[728,90]}else if((w>=118&&w<=124)&&(h>=598&&h<=604)){elObj[++a]=tag[i];elObjS[a]=[120,600]}else if((w>=158&&w<=164)&&(h>=598&&h<=604)){elObj[++a]=tag[i];elObjS[a]=[160,600]}else if((w>=118&&w<=124)&&(h>=88&&h<=94)){elObj[++a]=tag[i];elObjS[a]=[120,90]}else if((w>=178&&w<=184)&&(h>=148&&h<=154)){elObj[++a]=tag[i];elObjS[a]=[180,150]}}if(elObj.length==10){continue}}a=0;for(el in elObj){if(elObj.hasOwnProperty(el)){set(elObj[el],elObjS[el][0],elObjS[el][1])}}}};if(_AF$.TOP==1){if(_AF$.ON==1){_AFimgStat(0);_AF$['ADFRAME']='';_AF$['VIDEORUN']={'run':false,'size':''};if(_AF$.AD.A=='ask'){var ask_pos=(_AF$.B=='F')?'position:fixed;right:20px;':'position:absolute;left:'+(_AF$.wIW-140)+'px;';_AF$['OUTPUT']=('