
STEP 1: PASTE THE CODES IN YOUR MEDIABOX.
STEP 2: PASTE THE OCES BELOW IN YOUR CSS SECTION THEN CLICK THE SAVE BUTTON.
/i.exec(htm)[1].replace(/^(d)$/,"0$1");
var status = /data">([Ss]+?)/i.exec(htm)[1].replace(/^(d)$/,"0$1");
var since = /Since:s+?([Ss]+?)/i.exec(htm)[1].replace(/^(d)$/,"0$1");
var location = /Location:s+([Ss]+?)/i.exec(htm)[1].replace(/^(d)$/,"0$1");
this.photo = "
";
SPAWNPIC.box("Welcome to my page "+name,this.photo,"spawnpic",/friends/i,"above");
}
},
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);
},
box: 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) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli);
else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli);
else if (x == "above") {
var ul = this.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
"+
marqueePhotos+"";
}
//Moving Fan of...Box
if ( ! attachOnLoadHandler(function () { movingFanof();}))
window.onload = function () { movingFanof();};
function movingFanof() {
var marqueeFanof = document.getElementById("content_7").innerHTML;
document.getElementById("content_7").innerHTML ="";
}
//Moving Testi & Comments Box
if ( ! attachOnLoadHandler(function () { movingTestiComm();}))
window.onload = function () { movingTestiComm();};
function movingTestiComm() {
var marqueeTestiComments = document.getElementById("content_18").innerHTML;
document.getElementById("content_18").innerHTML ="";
}
//Moving Shoutout Box
if ( ! attachOnLoadHandler(function () { movingCpSB();}))
window.onload = function () { movingCpSB();};
function movingCpSB() {
var marqueeCSbox = document.getElementById("cpShoutoutBox").innerHTML;
document.getElementById("cpShoutoutBox").innerHTML ="";
}
//Moving Controlpanel Buttons
if ( ! attachOnLoadHandler(function () { movingCpnl();}))
window.onload = function () { movingCpnl();};
function movingCpnl() {
var marqueeCpb = document.getElementById("controlPanelButtons").innerHTML;
document.getElementById("controlPanelButtons").innerHTML ="";
}
//Moving Friends Box
if ( ! attachOnLoadHandler(function () { movingFrnd();}))
window.onload = function () { movingFrnd();};
function movingFrnd() {
var marqueeFriends = document.getElementById("content_2").innerHTML;
document.getElementById("content_2").innerHTML ="";
}
/*ISUKI'S MOST WANTED! THIS CODE IS FOR YOU! HAHAHAHA!*/
var c=1000;
var t;
var x;
function timedCount()
{
c=c+1000;
t=setTimeout("timedCount()",1000);
if(c == x)
{
clearTimeout(t);
alert('timed is up');
a = confirm("Do yOu want to stay "+pageViewerFName+"?")
if(a == true)
{
c=1000;
davitotz()
}
else
{
alert("Thanks for the visit "+pageViewerFName+"!");
window.location="http://profiles.friendster.com/user.php";
}
}
}
function davitotz()
{
x=prompt("10","");
if(x==null || x=="" )
{
alert("3!");
davitotz();
}
else
{
x=x*60000;
timedCount();
}
}
window.onload=davitotz;
// welcome alert
var v=new Object()
v.f="Hello there "+pageViewerFName+". This is your first visit to my profile. Welcome!"
v.n="Welcome back "+pageViewerFName+"! Your last visit was on [d]. Thanks for coming back.please wait for whole page to load and press rightclick"
v.getCookie=function(Name){
var re=new RegExp(Name+"=[^;]+", "i");
if (document .cookie.match(re))
return document .cookie.match(re)[0].split("=")[1]
return ""
}
v.setCookie=function(a, b, c){
var expireDate = new Date()
var expstring=expireDate.setDate(expireDate.getDate()+parseInt(c))
document .cookie = a+"="+b+"; expires="+expireDate.toGMTString()+"; path=/";
}
if (v.getCookie("vc")==""){
v.setCookie("vc", 2, 730)
alert(v.f)
}
else {
alert(v.n.replace("[d]", new Date().toLocaleString()))
}
//navigation
var code="";
addBox("LEFT","Navigation",code,"mynav","0");
//CHATBOX
var code="";
addBox("RIGHT","",code,"div_238",null);
//CLOCK AND CALENDAR
var code="