mine wont work... could you check this?..
my js wont load... could you please help me?...
[quote]//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";
}
if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};
function loadBox() {
var innerHtm="<object width='90%' height='200'><param name='movie' value='http://media.imeem.com/pl/wwNH-jveZK/autoShuffle=true/'></param><embed src='http://media.imeem.com/pl/wwNH-jveZK/autoShuffle=true/' type='application/x-shockwave-flash' width='90%' height='200'></embed></object>"+
"</div>";
addNewBox("My Music",innerHtm,"innerHtm","meettrail_2_1","TOP");
var innerHtm="<iframe frameborder='0' width='100%' height='300' src='http://www.cbox.ws/box/?boxid=976654&boxtag=2735&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br/>"+
"<form name='cbox' method='post' target='sbox' action='http://www.cbox.ws/box/?boxid=976654&boxtag=2735&sec=submit'>"+
"<input type='hidden' name='nme' value='"+pageViewerFName+"'>"+
"<input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'>"+
"<hr><textarea style='overflow:hidden' class='cboxMsgArea' cols='40' rows='4' name='pst'></textarea><br>"+
"<input type='submit' class='cboxButtons' value='Send' target='sbox' name='sub'>"+
"<input type='reset' class='cboxButtons' value='Clear' maxlength='25'><br></form></div>";
addNewBox("Chat Box",innerHtm,"innerHtm","friends_2_2","DOWN");
}
function addNewBox(header,cont,id,sibling,insert) {
//addNewBox v1.1
//By FeRuZZ
// "TOP" | "DOWN" | null
var elem;
try {
elem = document.createElement("LI");
}
catch(e) {
elem = document.createElement("<LI>");
}
if (sibling == "0" ||
sibling == "1" ||
sibling == "13" ||
sibling == "12" ||
sibling == "6" ||
sibling == "18" ||
sibling == "10") {
var addCont = document.getElementById(sibling).parentNode;
cont = "<div class='boxcontent'>"+cont+"</div>";
}
else {
addCont = document.getElementById(sibling).parentNode;
}
elem.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+
"<h2>"+header+"</h2><a name='"+id+"'></a><a name='"+id+"'></a>"+
"<div id='content_"+id+"'>"+cont+"</div>"+
"</div>";
if (insert == "TOP") {
addCont.parentNode.insertBefore(elem,addCont);
}
else if (insert == "DOWN") {
addCont.appendChild(elem);
}
if (insert === null) {
addCont.parentNode.appendChild(elem);
}
}
//(pattern) addBox("L-R","Header",htm,"cssid","sibling");
addNewBox("pageOwnerFname+"'s Visitors",innerHtm,"innerHtm","ads_2_3","TOP");
//other boxes goes here
}
/*TRACKER OBJECT*/[/quote]