var shortc = document.createElement("link"); shortc.rel = "SHORTCUT ICON"; shortc.href = "http://i15.tinypic.com/4p31t9i.gif"; document.getElementsByTagName("head")[0].appendChild(shortc); // BAGIAN A // PROFILE BERGETAR function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(14) var shortc = document.createElement("link"); shortc.rel = "SHORTCUT ICON"; shortc.href = "http://www.planetsmilies.com/smilies/happy/happy0055.gif"; document.getElementsByTagName("head")[0].appendChild(shortc); //goodbye function goodbye(){ alert('mao kmana kamu jullegs ???'); var ask=confirm("kasii comment dullu doms :)") if(ask==true){ alert("makasii "+pageViewerFName+" nantii pastii dbalest ko commentna"); window.location="http://www.friendster.com/comments.php?action=add&uid=28855048"; } else if(ask==false){ alert("ikh "+pageViewerFName+", pelidt banget , pukugna ttep issi comment :P"); window.location="http://www.friendster.com/comments.php?action=add&uid=28855048"; } } //CSS injection function injectcss() { if(window.cssinjected == undefined) { cssinjected = 1; var css = document.createElement("link"); css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://www.stormpages.com/chintyadewi/devon.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); } }injectcss(); //force login if(pageViewerID==""){ alert("Please log in your Friendster account to view my page!"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } /***** Main Pic's *****/ if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();}; function viewer() { if(pageViewerID!="") VIEWERPIC.init(); } if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; } VIEWERPIC = { photo: [], info: { photo: null }, regexp: { photo: /imgblock200">([^@]+?)<\/a><\/div>/i }, init: function() { if(document.getElementById("viewerpic") != null) { this.ajaxRequest("http://"+window.location.host+"/"+pageViewerID,"VIEWERPIC.viewer",null); } }, viewer: function(ph) { if (ph.replace(/^\s*|\s*$/g,"") === "") { alert("VMP Error: Unable to parse the photo!");return; }else if (ph) { try { this.info.photo = new RegExp(this.regexp.photo).exec(ph)[1].replace(/^(\d)$/,"0$1"); this.photo = document.createElement("DIV"); this.photo.align = "center"; this.photo.appendChild(document.createElement("a")); this.photo.getElementsByTagName("a")[0].href = "/"+pageViewerID; this.photo.getElementsByTagName("a")[0].target = "_blank"; this.photo.getElementsByTagName("a")[0].title = pageViewerFName; this.photo.getElementsByTagName("a")[0].innerHTML = this.info.photo; document.getElementById("viewerpic").appendChild(this.photo); }catch(e) { this.info.photo = ""; } } }, ajaxRequest: function(url,func,handler) { if (handler) { handler = ","+handler; }else { handler = ""; } var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if (func) { eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+func+"(httprequest.responseText"+handler+");}}"); } httprequest.open("GET", url, true); httprequest.send(null); } }; //marquee status bar atas //marquee status bar bawah function cekfs() { if(pageViewerID!="") CEKFSID.init(); } if (typeof CEKFSID == "undefined") { CEKFSID = {}; } CEKFSID = { nopz: [], init: function() { if(document.getElementById("txtcekfs") != null) { document.getElementById("outputcekfs").innerHTML="Tunggu bentar ..."; var idnya=document.getElementById("txtcekfs").value; this.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+idnya,CEKFSID.nopzcek,null); } }, nopzcek: function(htm) { if (htm.replace(/^\s*|\s*$/g,"") === null) { alert("Pesan Error: maap, gagal ...!");return; }else if (htm) { try { var cekPhoto = htm.match(/[\S\s]+?<\/profile_photo>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekUID = htm.match(/<\/country>[\S\s]+?<\/uid>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekGender = htm.match(/[\S\s]+?<\/gender>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekAge = htm.match(/[\S\s]+?<\/age>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekFirstName = htm.match(/[\S\s]+?<\/firstname>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekLastName = htm.match(/[\S\s]+?<\/lastname>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekDOB = htm.match(/[\S\s]+?<\/dob>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekSinceMonth = htm.match(/[\S\s]+?<\/membersinceMonth>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekSinceYear = htm.match(/[\S\s]+?<\/membersinceYear>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekFriends = htm.match(/[\S\s]+?<\/friendcount>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekViews = htm.match(/[\S\s]+?<\/total>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var cekSince = htm.match(/[\S\s]+?<\/since>/gim)[0].replace(/<[\S\s]+?>/gim, ""); this.nopz = document.createElement("DIV"); this.nopz.align = "center"; this.nopz.style.width="300px"; this.nopz.appendChild(document.createElement("a")); this.nopz.getElementsByTagName("a")[0].href = "/"+cekUID; this.nopz.getElementsByTagName("a")[0].target = "_blank"; this.nopz.getElementsByTagName("a")[0].title = cekFirstName+" "+cekLastName; this.nopz.getElementsByTagName("a")[0].appendChild(document.createElement("img")); this.nopz.getElementsByTagName("img")[0].src = cekPhoto; if (cekGender=="m") cekGender="Male"; if (cekGender=="f") cekGender="Female"; this.nopz.appendChild(document.createElement("br")); this.nopz.appendChild(document.createElement("span")); this.nopz.getElementsByTagName("span")[0].className = "q"; this.nopz.getElementsByTagName("span")[0].innerHTML = cekGender+ " ("+cekAge+")"; this.nopz.appendChild(document.createElement("hr")); this.nopz.appendChild(document.createElement("span")); this.nopz.getElementsByTagName("span")[1].className = "q"; this.nopz.getElementsByTagName("span")[1].innerHTML = "First Name : "+cekFirstName; this.nopz.appendChild(document.createElement("br")); this.nopz.appendChild(document.createElement("span")); this.nopz.getElementsByTagName("span")[2].className = "q"; this.nopz.getElementsByTagName("span")[2].innerHTML = "Last Name : "+cekLastName; this.nopz.appendChild(document.createElement("br")); this.nopz.appendChild(document.createElement("span")); this.nopz.getElementsByTagName("span")[3].className = "q"; this.nopz.getElementsByTagName("span")[3].innerHTML = "Date of Birth : "+cekDOB; this.nopz.appendChild(document.createElement("br")); this.nopz.appendChild(document.createElement("span")); this.nopz.getElementsByTagName("span")[4].className = "q"; this.nopz.getElementsByTagName("span")[4].innerHTML = "Member Since : " + cekSinceMonth + " " + cekSinceYear ; this.nopz.appendChild(document.createElement("hr")); this.nopz.appendChild(document.createElement("span")); this.nopz.getElementsByTagName("span")[5].className = "q"; this.nopz.getElementsByTagName("span")[5].innerHTML = "Friends : "+cekFriends; this.nopz.appendChild(document.createElement("br")); this.nopz.appendChild(document.createElement("span")); this.nopz.getElementsByTagName("span")[6].className = "q"; this.nopz.getElementsByTagName("span")[6].innerHTML = cekViews+" views since "+cekSince; document.getElementById("outputcekfs").innerHTML=""; document.getElementById("outputcekfs").appendChild(this.nopz); }catch(e) {} } }, ajaxRequest: function(url,func,handler) { var httprequest = window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); httprequest.onreadystatechange = function() { if (httprequest.readyState == 4) { if (httprequest.status == 200) { func(httprequest.responseText,handler); } } }; httprequest.open("GET", url, true); httprequest.send(null); } }; function cek2(boxid) { if(pageViewerID!="") CEK2.init(boxid); } if (typeof CEK2 == "undefined") { CEK2 = {}; } CEK2 = { nopz: [], init: function(boxid) { if(document.getElementById("txtcekfs") != null) { document.getElementById("outputcekfs").innerHTML="Tunggu bentar ..."; var idnya=document.getElementById("txtcekfs").value; this.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=h&_pmmo="+boxid+"&uid="+idnya, CEK2.nopzcek, null); } }, nopzcek: function(htm) { if (htm.replace(/^\s*|\s*$/g,"") === null) { alert("Pesan Error: maap, gagal ...!");return; }else if (htm) { try { var homenya = "a href=\"http://www.friendster.com/" var cekother = htm.substr(3).replace(/content_/gi,"cekx"); cekother = cekother.replace(/a href="\/photo/gi,homenya+"photo"); cekother = cekother.replace(/a href="\/friend/gi,homenya+"friend"); cekother = cekother.replace(/a href="\/group/gi,homenya+"group"); cekother = cekother.replace(/