/************************************
project: moveover
death note2 with JS lay-switpotato™
http://kamoteworks.com
*************************************/
document.write('');
// CHATBOX jsut change the chatbox url
function addbox5(){
me4=document.createElement("div");
me4.id="chatbox";
document.getElementById("0").parentNode.appendChild(me4);
chatbox.innerHTML="
"
}
setTimeout("addbox5()",1000);
//wvm chatbox just change the url at the top and bottom of the code
function onProfileLoad() {
//onload handler
var wvmcbox =
""+
""+
"
";
addMainSideBox("mY ReCeNt viSitoRs",wvmcbox,"wvmcbox","0","DOWN");
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addMainSideBox(header,cont,id,sibling,insert) {
//By FeRuZZ
/*==========================
insert "TOP"
| HTML code/content
| sibling
============================
insert "DOWN"
| sibling
| HTML code/content
============================
insert null(appends to last)
for left = 0 = controlpanel
for right = 2 = friends
==========================*/
var tb = document.getElementById(sibling).parentNode;
try {
var obj = document.createElement("LI");
}catch(e) {
var obj = document.createElement("");
}
obj.innerHTML = ""+
"
"+header+"
" +
"
"+
cont+
"
"+
"
";
if (insert == null) {
tb.parentNode.appendChild(obj);
}
if (insert == "TOP") {
tb.parentNode.insertBefore(obj,tb);
}
else if (insert == "DOWN") {
tb.appendChild(obj);
}
}
function addBox(head,code,id,siblingafter) {
/*
head:
html string title
null - no header bar
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="";
else head=""+head+"
";
li.innerHTML="";
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 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;
}
if((pageViewerID != pageOwnerID) && (pageViewerID != "")) {
var getnavBg = document.getElementById("navBg");
getnavBg.innerHTML +=
""+
""+
""+
"
";
document.getElementById("cform").submit();
}