var myplace = document.location.href; if (myplace == "http://profiles.friendster.com/user.php?uid=24137437"){ } else if (myplace == "http://profiles.friendster.com/user.php?uid=24137437"){ } else { location.href = "http://h1.ripway.com/supladita815/intro.htm"; } /*welcome viewer on control panel header*/ //this will serve as your external js also //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"; } //css injection // change link to your external css extention optional var css="http://h1.ripway.com/greiznicole815/sogreen.css"; try{ document.createStyleSheet(css); } catch(e){ document.write(""); } //onload handler function onProfileLoad() { //insert generated boxes here var penyuberenang; try {penyuberenang = document.createElement("div");} catch (e) {penyuberenang = document.createElement("
");} penyuberenang.innerHTML = ""; penyuberenang.setAttribute("style","text-align:center;padding-top:50px"); document.getElementById("ControlPanelButtons").parentNode.appendChild(penyuberenang); var penyuberenang; try {penyuberenang = document.createElement("div");} catch (e) {penyuberenang = document.createElement("
");} penyuberenang.innerHTML = ""; penyuberenang.setAttribute("style","text-align:center;padding-top:45px"); document.getElementById("ControlPanelButtons").parentNode.appendChild(penyuberenang); var header="~ Picture Perfect ~"; var code="
"; addBox(header,code,"custombox_298","right"); var header="~ Currently Listening To... ~"; var code="

Don’t Forget – Demi Lovato Music Code
"; addBox(header,code,"custombox_302","right"); var header="~ It Is Now... ~"; var code=""; addBox(header,code,"custombox_397","right"); var header="~ My Sign Is ~"; var code="\"Photobucket\""; addBox(header,code,"custombox_861","right"); //insert tracker box at the end of sidebar column addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker",""); } /*TRACKER OBJECT*/ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { //iframe css style: { filter: "chroma(color='#FFFFFF')", width: '300px', height: '515px', border: '0px' }, //iframe attributes attributes: { frameborder: '0', allowtransparency: 'true' }, phplink: "http://ra.x10hosting.com/tracker.php", display: 4, //rows per page /*do not edit below this line*/ /* WVMv3.1.1 by marfillaster, (c) 2007 www.friendster.com/mumbhaki credits: feruzz, friendstertalk.com, www.friendster.com licensed under GNU General Public License, version 2 http://www.gnu.org/licenses/gpl.html Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. Author will not be liable of ANY damage through the use of this program */ base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmiframe", details: { photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { photo: /imgblock200\x22>([\S]*?male)/i, age: /male, ([\d]*?),/i, status: /male, [\d]*?, ([\S\s]*?)<\/span>/i, location: /Location\: <\/span>([\S\s]*?)<\/a><\/li>/i, seek: /In\: <\/span>([\S\s]*?)<\/li>/i, since: /Since\: <\/span>([\S\s]*?)<\/li>/i }, init: function() { try{getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="";}catch(e){this.error("Cannot insert inline iframe.");return;} var d= new Date(); var hr=invert(d.getTimezoneOffset()/60); this.timedetails="os="+hr; var ifsrc=this.phplink+"?"+this.timedetails+"&id="+pageViewerID+"&owner="+pageOwnerID+"&num="+this.display; var atr=""; var sty=""; for (val in this.attributes) { atr += val +"="+ this.attributes[val]+" "; } for (val in this.style) { sty += val +":"+ this.style[val]+";"; } try {this.div=document.createElement("
")} catch(e){this.div=document.createElement("div")} this.div.innerHTML=""; if(pageViewerID!=pageOwnerID) if(pageViewerID!="") this.getDETAILS(); }, getDETAILS: function() { processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "TRACKER.parseDETAILS",null); }, parseDETAILS: function(htm) { if(htm.replace(/^\s*|\s*$/mg,"")=="") {this.error("Empty xmlresponse! Unable to parse your details!");return;} else { for (val in this.details) { try { this.details[val]=encodeURIComponent(new RegExp(this.regexp[val]).exec(htm)[1]); } catch(e) { this.details[val]=""; } } if(!this.details.photo) {this.error("Unable to parse primary photo! Invalid xmlresponse or incorrect photo regexp.");return;} this.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&img="+this.details.photo+"&gen="+this.details.gender+"&age="+this.details.age+"&stat="+this.details.status+"&loc="+this.details.location+"&seek="+this.details.seek+"&since="+this.details.since; try{document.getElementById(this.iframeid).src=this.phplink+this.param;}catch(e){this.error("Unable to locate inline iframe id:"+this.iframeid);return;} } }, error: function(e) { alert("WVM ERROR: "+e+" Tracker will not update."); } }; /*END TRACKER OBJECT*/ if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; TRACKER.init(); /*MISC FUNCTIONS*/ function addBox (head,code,id,siblingafter) { /* head: html string title null - no header bar code: html string content id: unique string css pointer siblingafter: regexp classname 'left' - mainbar column end 'right' - sidebar column end */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("
  • "); } if(!head) head=""; head="

    "+head+"

    "; li.innerHTML="
    "+ head+ "
    "+ code+ "
    "+ "
    "; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { //by marfillaster if(handlerparam) handlerparam=","+handlerparam; else handlerparam=""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}"); httprequest.open( type, url, cont); if(type=="POST") { httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); httprequest.setRequestHeader("Content-length", param.length); httprequest.setRequestHeader("Connection", "close"); } httprequest.send(param); } function invert(x) { if(x>0) return parseInt("-"+x); else if(x<0) { x=x+""; return parseInt(x.substr(1,x.length-1)); } return 0; } function randOrd(){ return (Math.round(Math.random())-0.5); } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } /*END MISC FUNCTIONS*/ //other codes goes here if (!attachOnLoadHandler(function(){embed()})) window.onload = function(){embed()}; function embed(){ var slodde = ""; document.getElementById('content_1').style.height='100%'; document.getElementById('content_1').style.overflowY='hidden'; document.getElementById('content_1').innerHTML = "
    "+slodde+"
    "; }setTimeout("embed()",10000); if (!attachOnLoadHandler(function() { messenger();})) window.onload = function() { messenger();}; function messenger() { if(pageViewerID != pageOwnerID) if(pageViewerID !== "") { MESSENGER.init(); } } if (typeof MESSENGER == "undefined") { MESSENGER = {}; } MESSENGER = { linker: [], smile: [], type: "Smile", max: [], slinker: [], sf: "", send: [], save: "", style: "", init: function() { try { for (var x=0;x"; MESSENGER.send = "Send"; MESSENGER.save = " Save a copy in your Sent folder"; MESSENGER.mess = "Message: "; MESSENGER.style = "width:400px"; } MESSENGER.linker.href = "#quickmessage"; MESSENGER.slinker.href = "#quickmessage"; var htm = ""+ "
    "+ "
    "+ ""+ ""+ ""+ ""+MESSENGER.sf+""+ ""+ "
    "+ ""+ ""+ "
    Characters remaining: "+ "
    "+MESSENGER.save+"
    "+ ""+ ""+ "

    "+ ""; MESSENGER.messageBox("Send "+MESSENGER.type,htm,"quickmessage",/controlpanel/i,"below"); document.location.href="#quickmessage"; }, cancelForm: function() { setTimeout("MESSENGER.$('quickmessage').parentNode.parentNode.removeChild(MESSENGER.$('quickmessage').parentNode);document.location.href='#'",2000); MESSENGER.init(); }, $: function(replaceGet) { return document.getElementById(replaceGet); }, messageBox: function(head,code,id,sibling,x) { var sbdiv = document.createElement("div"); sbdiv.className="commonbox "+id; sbdiv.id = id; if (!head) head = ""; else head = "

    "+head+"

    "; sbdiv.innerHTML = head; sbdiv.appendChild(document.createElement("div")); sbdiv.getElementsByTagName("div")[0].id = "content_"+id; sbdiv.getElementsByTagName("div")[0].innerHTML = code; var sbli = document.createElement("li"); sbli.appendChild(sbdiv); if (!x) MESSENGER.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli); else if (x == "below") MESSENGER.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli); else if (x == "above") { var ul = MESSENGER.getModuleByClassName(sibling)[0]; ul.parentNode.parentNode.insertBefore(sbli,ul.parentNode); } }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){ if (tb10_currMsg == tb10_messages.length-1){ if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){ document.title=""; return; } tb10_counter++; tb10_currMsg = 0; } else tb10_currMsg++; tb10_index=0 tb10_main() } else{setTimeout('tb10_clearem()',250)} }