[quote=arashiuzumaki15][spoiler]/*global EventHandler, window, event, document*/
(function () {
EventHandler = {
add: function (obj, type, fn) {
if (obj.addEventListener) {
obj.addEventListener(type, fn, false);
} else if (obj.attachEvent) {
obj["e" + type + fn] = fn;
obj[type + fn] = function () {
obj["e" + type + fn](window.event);
};
obj.attachEvent("on" + type, obj[type + fn]);
} else {
obj["on" + type] = obj["e" + type + fn];
}
},
remove: function (obj, type, fn) {
try {
obj.removeEventListener(type, fn, false);
} catch (e) {
try {
obj.detachEvent("on" + type, fn);
} catch (er) {
obj["on" + type] = null;
}
}
}
};
})();
/**
* ajaxRequest - You may not remove or change this notice.
* version: 2.5
* Copyright 2008 by FeRuZZ ©
http://profiles.friendster.com/feruzz.
*
* @type: "GET" | "POST"
* @async: true | false
* @param: string | null
* @func: string | null
* @handlerparam: string | null
**/
/*global ajaxRequest, window, ActiveXObject, XMLHttpRequest, location, navigator*/
(function () {
ajaxRequest = {
init: function (type, url, async, param, func, handlerparam) {
var xmlHttp = null;
var requestDone = false;
var data = null;
var responseType = "text";
var timeout = 0;
var ival = null;
var onreadystatechange = {};
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x += 1) {
try {
xmlHttp = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest();
break;
} catch (e) {
if (async) {
xmlHttp = null;
}
}
}
if (typeof func === "function") {
onreadystatechange = function (isTimeout) {
if (!requestDone && xmlHttp && (xmlHttp.readyState === 4 || isTimeout === "timeout")) {
requestDone = true;
if (ival) {
window.clearInterval(ival);
ival = null;
}
if (!xmlHttp.status && location.protocol === "file:" || (xmlHttp.status >= 200 && xmlHttp.status < 300) || xmlHttp.status === 304 || xmlHttp.status === 1223) {
var resPonse = /xml/i.test(responseType) ? xmlHttp.responseXML : xmlHttp.responseText;
func(resPonse.replace(new RegExp("<script[^>]*>[\\S\\s]*?<\/script>", "gi"), ""), handlerparam);
}
if (async) {
xmlHttp = null;
}
}
};
}
if (async) {
ival = window.setInterval(onreadystatechange, 13);
if (timeout > 0) {
window.setTimeout(function () {
if (xmlHttp) {
xmlHttp.abort();
if (!requestDone) {
onreadystatechange("timeout");
}
}
}, timeout);
}
}
if (type === "GET" && /GET/i.test(type)) {
var ts = new Date();
var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + (ts).getTime() + "$2");
url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + (ts).getTime() : "");
}
if (data && type === "GET" && /GET/i.test(type)) {
url += (url.match(/\?/) ? "&" : "?") + data;
data = null;
}
if (type === "POST" && /POST/i.test(type)) {
var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : "");
var contentLength = param ? param.length : 0;
try {
xmlHttp.setRequestHeader("Content-type", headers);
xmlHttp.setRequestHeader("Content-length", contentLength);
if (xmlHttp.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) {
xmlHttp.setRequestHeader("Connection", "close");
}
} catch (err) {}
}
xmlHttp.open(type, url, async);
xmlHttp.setRequestHeader("ajaxRequest", "true");
xmlHttp.setRequestHeader("X-Requested-With", "XMLHttpRequest");
xmlHttp.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT");
xmlHttp.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*");
xmlHttp.send(param);
if (!async) {
onreadystatechange();
}
return xmlHttp;
}
};
})();
/*global addNewBox, document*/
(function () {
addNewBox = {
init: function (header, htmlString, id, sibling, insertion) {
var sibdiv, sibli;
try {
sibdiv = document.createElement("div");
} catch (e) {
sibdiv = document.createElement("<div>");
}
sibdiv.className = "commonbox " + id;
sibdiv.id = id;
if (!header) {
header = "";
} else {
header = "<h2>" + header + "</h2>";
}
sibdiv.innerHTML = header;
try {
sibdiv.appendChild(document.createElement("div"));
} catch (er) {
sibdiv.appendChild(document.createElement("<div>"));
}
if (document.getElementsByTagName) {
sibdiv.getElementsByTagName("div")[0].id = "content_" + id;
sibdiv.getElementsByTagName("div")[0].innerHTML = htmlString;
} else if (document.all) {
sibdiv.all.tags("DIV")[0].id = "content_" + id;
sibdiv.all.tags("DIV")[0].innerHTML = htmlString;
}
try {
sibli = document.createElement("li");
} catch (err) {
sibli = document.createElement("<li>");
}
sibli.appendChild(sibdiv);
var ulTag = $$(sibling)[0];
if (insertion === "below") {
ulTag.parentNode.appendChild(sibli);
} else if (insertion === "above") {
ulTag.parentNode.parentNode.insertBefore(sibli, ulTag.parentNode);
} else {
ulTag.parentNode.parentNode.appendChild(sibli);
}
}
};
})();
/*global oColumn*/
(function () {
oColumn = {
$width: "490px", //Default width
$IE: /*@cc_on!@*/false, //IE
init: function () {
var tableleft = $$("ltd", "td")[0].getElementsByTagName("ul")[0];
var tableright = $$("rtd", "td")[0].getElementsByTagName("ul")[0];
var ctrlpnl = $$("commonbox controlpanel", "div")[0];
if (!oColumn.$IE) {
tableleft.parentNode.parentNode.parentNode.appendChild(tableright);
} else { //Fixed for IE
ctrlpnl.parentNode.parentNode.appendChild(tableright);
}
var tabledata = document.getElementsByTagName("td")[0].getElementsByTagName("img"), x = 0;
while (x < tabledata.length) {
if (tabledata[x].src === "http://images.friendster.com/images/spacer.gif") {
tabledata[x].style.display = "none";
}
x += 1;
}
var tableparent = $$("commonbox", "div"), y = 0;
while (y < tableparent.length) {
tableparent[y].style.width = oColumn.$width;
y += 1;
}
try {
var secondLinks = $$("secondary_links", "div")[0];
secondLinks.style.display = "none";
var banner = $("banneradrow");
banner.style.display = "none";
} catch (e) {}
var searchFS = $("search");
var ulData = $$("data", "ul", $("content_0"))[0];
ulData.appendChild(searchFS);
}
};
})();
/*global RANDPHOTO*/
(function () {
RANDPHOTO = {
$photos: [],
$cached: [],
$pages: null,
$maxphotos: null,
$temp: [],
$display: 10, //display the photos
init: function () {
var commlinks = document.links;
for (var x = 0, y = commlinks.length; x < y; x += 1) {
if (commlinks[x].href.match(/\/viewphotos\.php?/)) {
var pagelink = /\(([\d]*?)\)/;
RANDPHOTO.$maxphotos = pagelink.exec(commlinks[x].innerHTML)[1];
break;
}
}
RANDPHOTO.$pages = Math.floor(RANDPHOTO.$maxphotos / 20);
RANDPHOTO.fetch(0);
},
fetch: function (page) {
RANDPHOTO.changeText($$("commonbox photos", "div")[0].getElementsByTagName("h2")[0], "Loading Photos...Please wait...");
ajaxRequest.init("GET", "http://" + location.hostname + "/viewphotos.php?page=" + page + "&a=0&uid=50888036", true, null, RANDPHOTO.parsephoto, page);
},
randPhoto: function () {
return (Math.round(Math.random()) - 0.8);
},
show: function () {
RANDPHOTO.changeText($("photocontainer"), "");
RANDPHOTO.$photos.sort(RANDPHOTO.randPhoto);
for (var x = 0, y = RANDPHOTO.$display; x < y; x += 1) {
$("photocontainer").innerHTML += RANDPHOTO.$photos[x];
}
},
more: function () {
if (RANDPHOTO.$cached.length < (RANDPHOTO.$pages + 1)) {
var temp;
do {
temp = Math.ceil(Math.random() * RANDPHOTO.$pages);
}
while (RANDPHOTO.$cached.toString().indexOf(":" + temp + ":") !== -1);
RANDPHOTO.fetch(temp);
} else {
RANDPHOTO.show();
}
},
parsephoto: function (htm, page) {
if (htm.replace(/^\s*|\s*$/g, "") === "") {
RANDPHOTO.fetch(page);
return;
} else {
var htmlspaces = "&nb" + "sp;";
RANDPHOTO.$temp = htm.split(";").join(" ");
RANDPHOTO.$temp = htm.match(/<div\s*class="photothumb">[\S\s]*?<\/div><\/div>/gi);
for (var i = 0, j = RANDPHOTO.$temp.length; i < j; i += 1) {
RANDPHOTO.$temp[i] = RANDPHOTO.$temp[i].replace(/href="\/photos/gi, "href=\"http://www.friendster.com/photos");
RANDPHOTO.$temp[i] = RANDPHOTO.$temp[i].replace(/<a /gi, "<a target=\"_blank\" ");
if (!RANDPHOTO.$temp[i].match("nophoto")) {
RANDPHOTO.$photos.push(RANDPHOTO.$temp[i]);
}
}
var photo = document.createElement("div");
photo.id = "randomphoto";
photo.align = "center";
photo.appendChild(document.createElement("div"));
photo.getElementsByTagName("div")[0].id = "photocontainer";
photo.getElementsByTagName("div")[0].align = "center";
var boxcontent = $$("boxcontent", "div", $("content_1"))[0];
try {
boxcontent.parentNode.replaceChild(photo, boxcontent);
} catch (e) {}
var randLink = document.createElement("a");
randLink.href = "#photos";
randLink.onclick = function () {
EventHandler.add(randLink, "click", RANDPHOTO.defaultPropagation);
RANDPHOTO.more();
};
randLink.appendChild(document.createTextNode("More Random Photos"));
var viewall = $$("viewall", "div", $("content_1"))[0].getElementsByTagName("a")[0];
try {
viewall.parentNode.replaceChild(randLink, viewall);
} catch (er) {}
RANDPHOTO.$cached.push(":" + page + ":");
RANDPHOTO.changeText($$("commonbox photos", "div")[0].getElementsByTagName("h2")[0], pageOwnerFName + "'s Photo Gallery");
RANDPHOTO.show();
}
},
defaultPropagation: function (e) {
if (window.event) {
window.event.cancelBubble = true;
window.event.returnValue = false;
} else if (e.stopPropagation) {
e.stopPropagation();
e.preventDefault();
}
},
innerTextFeature: function () {
var obj = (document.getElementsByTagName("body")[0].innerText !== undefined) ? true : false;
return obj;
},
changeText: function (elem, changeVal) {
if (!RANDPHOTO.innerTextFeature()) {
elem.textContent = changeVal;
} else {
elem.innerText = changeVal;
}
}
};
})();
/*global VIEWERPIC*/
(function () {
VIEWERPIC = {
// private property
photo: null,
init: function () {
if (pageViewerID !== "") {
try {
ajaxRequest.init("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, VIEWERPIC.viewer, null);
} catch (e) {}
}
},
viewer: function (htm) {
if (htm.replace(/^\s*|\s*$/g, "") === "") {
window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");
return;
} else {
htm = htm.slice(htm.indexOf("<div class=\"imgblock200\">") + 0, htm.indexOf("<ul id=\"controlPanelButtons\">") + 0);
htm = htm.slice(htm.indexOf("<img src=\"") + 10, htm.indexOf("\"></a></div>") + 0);
VIEWERPIC.photo = document.createElement("div");
VIEWERPIC.photo.id = "viewerphoto";
VIEWERPIC.photo.align = "center";
VIEWERPIC.photo.appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[0].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[0].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[0].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
VIEWERPIC.photo.getElementsByTagName("img")[0].className = "glossy iradius50";
VIEWERPIC.photo.getElementsByTagName("img")[0].src = htm;
VIEWERPIC.photo.appendChild(document.createElement("br"));
VIEWERPIC.photo.appendChild(document.createElement("span"));
VIEWERPIC.photo.getElementsByTagName("span")[0].className = "q";
VIEWERPIC.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[1].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[1].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[1].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[1].innerHTML = pageViewerFName;
$("viewerpic").parentNode.replaceChild(VIEWERPIC.photo, $("viewerpic"));
}
}
};
})();
/*global MyFriends*/
MyFriends = {};
(function () {
MyFriends = {
friends: [],
pages: null,
maxfriends: null,
cached: [],
display: 6,
init: function () {
var num = document.links;
for (var x = 0, y = num.length; x < y; x += 1) {
if (num[x].href.match(/\/friends\/[\d]*?/)) {
var numfriends = /\(([\d]*?)\)/;
MyFriends.maxfriends = numfriends.exec(num[x].innerHTML)[1];
break;
}
}
MyFriends.pages = Math.floor(MyFriends.maxfriends / 30);
MyFriends.fetch(0);
},
fetch: function (page) {
MyFriends.changeText(getElementsByClassName("commonbox friends", "div")[0].getElementsByTagName("h2")[0], "Loading Friends...Please wait...");
ajaxRequest.init("GET", "http://" + location.hostname + "/friends/56950448/" + page, true, null, MyFriends.parseFriends, page);
},
randFriend: function () {
return (Math.round(Math.random()) - 0.8);
},
show: function () {
MyFriends.changeText($("fcontainer"), "");
MyFriends.friends.sort(MyFriends.randFriend);
for (var x = 0, y = MyFriends.display; x < y; x += 1) {
$("fcontainer").innerHTML += MyFriends.friends[x];
}
},
more: function () {
if (MyFriends.cached.length < (MyFriends.pages + 1)) {
var temp;
do {
temp = Math.ceil(Math.random() * MyFriends.pages);
}
while (MyFriends.cached.toString().indexOf(":" + temp + ":") !== -1);
MyFriends.fetch(temp);
} else {
MyFriends.show();
}
},
parseFriends: function (htm, page) {
if (htm.replace(/^\s*|\s*$/g, "") === "") {
MyFriends.fetch(page);
return;
} else {
var rf = /search1">[\S\s]*?paginglinksmodule">([\S\s]*?)<div\s*class="paginglinksmodule/;
var temp = rf.exec(htm)[1];
temp = temp.match(/<div\s*class="flogriditem">[\S\s]*?<\/div>\n<\/div><\/div>/g);
for (var x = 0, y = temp.length; x < y; x += 1) {
temp[x] = temp[x].replace("samsg_icon.gif>", "samsg_icon.gif />");
temp[x] = temp[x].replace(/<a /g, "<a target=\"_blank\" ");
temp[x] = temp[x].replace(/alt=/g, "title=");
if (!temp[x].match("nophoto")) {
MyFriends.friends.push(temp[x]);
}
}
var friends = document.createElement("div");
friends.id = "fcontainer";
friends.align = "center";
friends.appendChild(document.createElement("div"));
friends.getElementsByTagName("div")[0].className = "boxcontent";
var fboxcontent = getElementsByClassName("boxcontent", "div", $("content_2"))[0];
try {
fboxcontent.parentNode.replaceChild(friends, fboxcontent);
} catch (e) {}
var randLink = document.createElement("a");
randLink.href = "#friends";
randLink.onclick = function () {
EventHandler.add(randLink, "click", MyFriends.defaultPropagation);
MyFriends.more();
};
randLink.appendChild(document.createTextNode("More Random Friends"));
var viewall = getElementsByClassName("viewall", "div", $("content_2"))[0].getElementsByTagName("a")[0];
try {
viewall.parentNode.replaceChild(randLink, viewall);
} catch (er) {}
try {
var editLink = getElementsByClassName("editlink", "div", $("content_2"))[0].getElementsByTagName("a")[0];
editLink.style.display = "none";
} catch (err) {}
MyFriends.cached.push(":" + page + ":");
MyFriends.changeText(getElementsByClassName("commonbox friends", "div")[0].getElementsByTagName("h2")[0], pageOwnerFName + "'s Friends");
MyFriends.show();
}
},
defaultPropagation: function (e) {
if (window.event) {
window.event.cancelBubble = true;
window.event.returnValue = false;
} else if (e.stopPropagation) {
e.stopPropagation();
e.preventDefault();
}
},
innerTextFeature: function () {
var obj = (document.getElementsByTagName("body")[0].innerText !== undefined) ? true: false;
return obj;
},
changeText: function (elem, changeVal) {
if (!MyFriends.innerTextFeature()) {
elem.textContent = changeVal;
} else {
elem.innerText = changeVal;
}
}
};
})();
/*global WVMCBOX, document, navigator*/
(function () {
WVMCBOX = {
div: null,
count: 30,
second: 1000,
date: Date().split("(", 1),
DOM: document.getElementById ? true : false,
ifstyle: [
"100%", //width
"300", //height
"auto", //scrolling
"yes" //allowtransparency
],
base: {
"cboxdiv": ["www4", "3481563", "4txh2m"]
},
details: {
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null,
profileViewed: null,
friends: null
},
regexp: {
gender: /q">([\S]*male)/i,
age: /male,\s*([\d]*),/i,
status: /male,\s*[\d]*,\s*([\S\s]*?)<\/span>/i,
location: /Location\:\s*<\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i,
seek: /Interested\s*In\:\s*<\/span>([\S\s]*?)<\/li>/i,
since: /Member\s*Since\:\s*<\/span>([\w]*?[\s][\d]*?)<\/li>/i,
profileViewed: /\/profilehistory\.php">([\S\s]*?)<\/a>/i,
friends: /viewall"><a\s*href=[\S\s]*?\/friends\/[\d]*?">View\s*All\s*\(([\d]*?)\)<\/a><\/div>/i
},
init: function () {
/*global pageViewerID, pageViewerFName, addNewBox*/
if (window.location.href.indexOf("user.php") !== -1) {
ajaxRequest.init("GET", "http://" + location.hostname + "/user.php?uid=" + pageViewerID, true, null, WVMCBOX.viewer, null);
} else {
ajaxRequest.init("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, WVMCBOX.viewer, null);
}
var refreshLocation;
if (WVMCBOX.DOM && !document.all) {
refreshLocation = "window.wvm_submit.location.href=document.getElementById('wvm_submit').src";
}
if (document.layers) {
refreshLocation = "window.wvm_submit.location.href=document.layers['wvm_submit'].src";
}
if (document.all) {
refreshLocation = "document.wvm_submit.location.href=document.all['wvm_submit'].src";
}
window.setInterval(refreshLocation, WVMCBOX.count * WVMCBOX.second);
},
viewer: function (htm) {
if (htm.replace(/^\s*|\s*$/g, "") === "") {
window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");
return;
} else if (htm) {
for (var val in WVMCBOX.details) {
if (typeof WVMCBOX.details[val] !== "function") {
try {
WVMCBOX.details[val] = new RegExp(WVMCBOX.regexp[val]).exec(htm)[1];
} catch (e) {
WVMCBOX.details[val] = "";
}
}
}
if (WVMCBOX.details.seek === "") {
WVMCBOX.details.seek = "Just looking around";
}
if (WVMCBOX.details.friends === "") {
WVMCBOX.details.friends = "No Friend";
}
if (WVMCBOX.details.profileViewed === "") {
WVMCBOX.details.profileViewed = "N / A";
}
for (var seeboks in WVMCBOX.base) {
if (typeof WVMCBOX.base[seeboks] !== "function") {
var htmlspaces = "&nb" + "sp;";
var htmlbulls = "&bu" + "ll;";
WVMCBOX.div = "<iframe frameborder=\"0\" width=\"" + WVMCBOX.ifstyle[0] + "\" height=\"" + WVMCBOX.ifstyle[1] + "\" scrolling=\"" + WVMCBOX.ifstyle[2] + "\" allowtransparency=\"" + WVMCBOX.ifstyle[3] + "\" marginheight=\"2\" marginwidth=\"2\" 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://" + location.hostname + "/" + pageViewerID + "\">" +
"<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">" + WVMCBOX.date +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.gender + "," + htmlspaces + "" + WVMCBOX.details.age + "," + htmlspaces + "" + WVMCBOX.details.status.replace(/<[\S]*?>/g, "").replace(/TM/g, "[sup]TM[/sup]") +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.since.replace(/^\s*[\w]*?/gi, "Member Since: ") +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.seek.replace(/^\s*[\S\s]*?/gi, "Interested In: ") +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.location.replace(/^\s*[\S\s]*?/gi, "Location: ") +
"[br]" + htmlbulls + "" + htmlspaces + "" + sGeobytesCity.replace(/^\s*[\S\s]*?/gi, "Current Location: ") + "," + htmlspaces + "" + sGeobytesRegion.split("(", 1) + "," + htmlspaces + "" + sGeobytesCountry +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.profileViewed.replace(/^\s*[\S\s]*?/gi, "Profile Viewed: ") +
"[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.friends.replace(/^\s*[\d]*?/gi, "Number of Friends: ") +
"[br]" + htmlbulls + "" + htmlspaces + "" + sGeobytesIpAddress.replace(/^\s*[\S\s]*?/gi, "IP Address: ") +
"[br]" + htmlbulls + "" + htmlspaces + "Browser:" + htmlspaces + "" + navigator.userAgent.split("/").join(" ") + "</textarea>" +
"</form>" +
"</div>";
addNewBox.init("Visitors Info", "<div id=\"" + seeboks + "\" align=\"center\">" + WVMCBOX.div + "</div>", "wvmcbox", "commonbox friends", null);
}
}
if ((pageViewerID !== "15254372") && (pageViewerID !== "")) {
if (document.wvmcboxform) {
document.wvmcboxform.submit();
} else if (WVMCBOX.DOM && !document.all) {
$("wvmcboxform").submit();
}
}
}
}
};
})();
VIEWERPIC.init();
//RANDPHOTO.init();
MyFriends.init();
EventHandler.add(window, "load", WVMCBOX.init);
//EventHandler.add(window, "load", oColumn.init);
//--------------------------------------------------[/spoiler]
ada yang salah gak ma script di atas?
bantu donk[/quote]
emang ada
yang ini kamu apus aja
[quote]/*global pageViewerLangPref*/
if (pageViewerLangPref !== "en-US") {
window.location.href = "http://" + location.hostname + "/50888036?lang=en-US&updatelang=1";
}[/quote]
trus kamu harus ada fungsi init kalau mau kayak bang kanal [quote]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
VIEWERPIC.init();
RANDPHOTO.init();
MyFriends.INIT();[/quote]
tapi harus ada fungsi add box ama taro scriptnya d dalam onload heder
Last edited by teguh0203 (2008-07-26 22:54:20)