[quote=decky]coba pasang satu-satu[/quote]
kayak na betul saran na,,,
[b]hari[/b]
coba test dulu bro yg nech,,,
[spoiler][quote]document.getElementById("shimrow").setAttribute("style","display:none");
getElementByClassName("rtd")[0].setAttribute("style","display:none");
getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML;
get_nextsibling(getElementByClassName("ltd")[0]).setAttribute("style","display:none");
function get_nextsibling(n)
{
x=n.nextSibling;
while (x.nodeType!=1)
{
x=x.nextSibling;
}
return x;
}
function getElementByClassName(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;
}
//coment
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/ruez/share/accordcomment.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/bocahcilik/kunfu.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
//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/bocahcilik/arye.css");
css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
var icon = document.createElement("link");
icon.rel = "SHORTCUT ICON";
icon.href = "http://i220.photobucket.com/albums/dd75/ediajah/share/rose-black.gif";
document.getElementsByTagName("head")[0].appendChild(icon);
//Mozilla
if (navigator.appName == "Microsoft Internet Explorer") {
alert('Please Using mozilla Fire Fox')
document.location = "http://www.friendster.com/logout.php";
}
function onProfileLoad() {
var ajojing;
try {ajojing = document.createElement("div");}
catch (e) {ajojing = document.createElement("<div>");}
ajojing.innerHTML = "<img src=\"http://i220.photobucket.com/albums/dd75/ediajah/share/throses.gif\" class=\"shakeimage\" onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\" quality=\"high\" wmode=\"transparent\" width=\"160\" height=\"160\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" border=\"0\" />";
ajojing.setAttribute("style","text-align:center;padding-top:8px");
document.getElementById("cpShoutoutBox").parentNode.appendChild(ajojing);
//header
x=banneradrow.getElementsByTagName("td")[0];
x.innerHTML="<div align='center'><img src='http://img179.imageshack.us/img179/2526/arycl1.gif' width='490px' height='350px'></div>"
var code= "<div align='center'><a href='http://www.friendster.com'><br><img src='http://images.friendster.com/images/friendster_nav_logo.png'><br><img src='http://www.my-buddy-icon.com/Icons/people/dancing_baby.gif'></a></br><br><input type='button' value='Message' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MESSAGE]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SETTINGS]\"><input type='button' value='Help' onClick=\"top.location.href='http://www.friendster.com/custhelp.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HELP]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[LOG OUT]\"></br><input type='button' value='Home' onClick=\"top.location.href='http://www.friendster.com'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HOME]\"><input type='button' value='My Profile' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY PROFILE]\"><input type='button' value='My Connections' onClick=\"top.location.href='http://www.friendster.com/friends.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY CONNECTIONS]\"><input type='button' value='Explore' onClick=\"top.location.href='http://friendster.com/explore.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[EXPLORE]\"><input type='button' value='Search' onClick=\"top.location.href='http://www.friendster.com/gallery.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SEARCH]\"><input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?country=PH&target=jobs'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[JOBS]\"><input type='button' value='Invite' onClick=\"top.location.href='http://www.friendster.com/invite.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[INVITE]\"></br></br></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_navi'); return false\"><div title=\"header=[NAVIGATION] body=[Hello "+pageViewerFName+". Click Here 4 Navigation]\">"+pageOwnerFName+"'s Navigation Menu</div></a>",code,"navi","0");
show_hide('content_navi');
var ftibox="<a href=\"http://theftalk.com/?r=91040\" title=\"FriendsterTalk - Friendster Forum - FT_USER_NAME\"><img alt=\"FriendsterTalk - Friendster Forum - FT_USER_NAME\" src=\"http://joekingky.bluecybers.net/phpscript/ftisig2/FTIsiggyV2.php?id=97634&title=cc33ff&status=3333ff&system=cc3333&bg=http://i165.photobucket.com/albums/u60/makassarhero/FTI/dark2copy.jpg\" /></a></br></br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_custombox_585'); return false\"><div title=\"header=[4 BLAJAR EDIT FS] body=[CLIK 2 OPEN]\"><font color='white'>FTI arY</font></div></a>",ftibox,"custombox_585","6");
show_hide("content_custombox_585");
//FLASH MP3
var mp3 ="<div align='center'><embed allowScriptAccess=\"never\" src=\"http://www.fileden.com/files/2007/3/15/887906/Indo/arye.swf\" menu=\"false\" quality=\"high\" width=\"300px\" height=\"305px\" name=\"index\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars=\"playList=http://www.fileden.com/files/2007/3/15/887906/Indo/arye.xml\" wmode=\"transparent\"/></embed><br /><a href=\"http://www.myspaceprodesigns.com\"></a></div></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_music'); return false\"><div title=\"header=[BRITISH POP SONG] body=[Hear "+pageViewerFName+". My Song it's Good For Your Healty<img src='http://theftalk.com/img/smilies/biggrin.gif'>]\">"+pageOwnerFName+"'s Music </div></a>",mp3,"music",null);
/*google*/
var googlesearch="<br><form action='http://www.google.com/search?' name=f><input name=hl type=hidden value=en><input maxlength=2048 name=q size=20 title='Google Search' style='border: outset 2px #e3e3e3;' value='Type Your Search' onClick=\"value=''\"><br><input name=btnG type=submit value='Google Search'></form><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_Google'); blur(); return false\"><div title=\"header=[BuaT nyaRi segalana..] body=[Search ajj d sini.. <br><img src='http://www.freesmileys.org/smileys/signs142.gif'>]\">GoogLe Search</div></a>",googlesearch,"Google",null);
show_hide('content_Google');
//AQUARIUM
var aqua = "<div align=\"center\"><embed src='http://www.layoutcodez.net/flashtoys/aquarium.swf' wmode='transparent' quality='high' width='200px' height='190px' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_aquarium'); blur(); return false\"><div title=\"header=[Ikan anehh] body=[mo bLi Lagii euy iKannya <br><img src='http://www.freesmileys.org/smileys/signs012.gif'>]\">AQUARIUM</div></a>",aqua,"aquarium",null);
show_hide('content_aquarium');
var time = "<div align=\"center\"><embed src='http://www.superpimper.com/generators/Flash_Clocks_Gallery/Flash-Clock-383.swf' wmode='transparent' quality='high' width='300px' height='300px' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_waktu'); return false\"><div title=\"header=[CLOCK] body=[Hallo "+pageViewerFName+". Do You Know, What Time Is it]\">"+pageOwnerFName+"'s Clock</div></a>",time,"waktu","6");
show_hide('content_waktu');
//FRIENDS
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div title=\"header=[MY LOVELLY FRIENDS] body=[Hallo "+pageViewerFName+". This Is My lovelly Frends<br><img src='http://www.surfavenuemall.com/admin/add_image/Graffiti.gif'>]\">"+pageOwnerFName+"\'s Friends</div></a>";
show_hide('content_2');
//GROUPS
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div title=\"header=[MY GROUPS] body=[Hallo "+pageViewerFName+". This is My Group<br><img src='http://i220.photobucket.com/albums/dd75/ediajah/share/blkrose.gif'>]\">"+pageOwnerFName+"\'s Groups</div></a>";
show_hide('content_8');
// FANS
h=document.getElementById("7").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div>"+pageOwnerFName+"\'s a Fan of ...</div></a>";
addBox("LEFT",pageOwnerFName+"\'s Visitors",TRACKER.div.innerHTML,"tracker","0");
}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '300px',
height: '520px',
border: '0px',
overflow: 'hidden'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://h1.ripway.com/bocahcilik/tracker.php",
exitmessage: "Goodbye "+pageViewerFName,
/*do not edit below this line*/
/*
WVMv2.1
by marfillaster, copyright 2007 friendster.com/mumbhaki
credits: feruzz, renalvir(pimped), nopathz, friendstertalk.com, friendster.com
licensed under GNU General Public License, version 2
http://www.gnu.org/licenses/gpl.html
Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. Author will not be liable of ANY damage through the use of this program
*/
base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmtemp",
details: {
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
photo: /imgblock200"[\S\s]+?img src="([\S\s]+?)"/i,
gender: />([\S]*male)/i,
age: /male, ([\d]*),/i,
status: /male, [\d]*,([\S\s]*?)<\/span><\/li>/i,
location: /Location\: <\/span><a[\S\s]+?>([\S\s]+?)<\/a><\/li>/i,
seek: /In\: <\/span>([\S\s]+?)<\/li>/i,
since: /Since\: <\/span>([\S\s]+?)<\/li>/i
},
init: function() {
getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" src=\"about:blank\" style=\"display:none\"></iframe>";
var d= new Date();
var sec=invert(d.getTimezoneOffset()*60);
var hr=invert(d.getTimezoneOffset()/60);
this.timedetails="oss="+sec+"&osh="+hr;
var ifsrc=this.phplink+"?"+this.timedetails;
var atr="";
var sty="";
for (val in this.attributes) {
atr += val +"="+ this.attributes[val]+" ";
}
for (val in this.style) {
sty += val +":"+ this.style[val]+";";
}
try {this.div=document.createElement("<div>")}
catch(e){this.div=document.createElement("div")}
this.div.innerHTML="<center><iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe></center>";
if(pageViewerID!=pageOwnerID) if(pageViewerID!="")this.getDETAILS();
},
getDETAILS: function() {
processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "parseDETAILS",null);
},
sendExit: function() {
document.getElementById(this.iframeid).src=this.phplink+this.param+"&exit=1";
alert(this.exitmessage);
}
};
function parseDETAILS(htm) {
if(!htm) {
TRACKER.getDETAILS();
return;
}else {
for (val in TRACKER.details) {
try {
TRACKER.details[val]=encodeURIComponent(new RegExp(TRACKER.regexp[val]).exec(htm)[1]);
}
catch(e) {
TRACKER.details[val]="";
}
}
TRACKER.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&url="+TRACKER.details.photo.replace(/m.jpg/gi,"t.jpg")+"&gender="+TRACKER.details.gender+"&age="+TRACKER.details.age+"&status="+TRACKER.details.status+"&country="+TRACKER.details.location+"&seek="+TRACKER.details.seek+"&since="+TRACKER.details.since;
document.getElementById(TRACKER.iframeid).src=TRACKER.phplink+TRACKER.param;
}
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
TRACKER.init();
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") document.write("<body onbeforeunload='TRACKER.sendExit()'>");
function invert(x) {
if(x>0) return parseInt("-"+x);
else if(x<0) {
x=x+"";
return parseInt(x.substr(1,x.length-1));
}
return 0;
}
/*END TRACKER OBJECT*/
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
Default "sibling_ID" Boxes for Reference (10/19/07)
LEFT RIGHT
"0" = controlpanel "15" = meettrail
"1" = photos "2" = friends
"13" = blogs "14" = googleads
"12" = reviews "7" = fan
"6" = moreabout "8" = groups
"18" = publiccomments null = appends to last(without "")
"10" = scrapbook
*/
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);
}
}
/*
Viewer's Main Photo Sidebar
Author: FeRuZZ ©
http://profiles.friendster.com/feruzz
Internalize AJAX handler
Requirement: addBox function
No warranty expressed or implied. Use at your own risk.
*/
if((pageViewerLangPref !== "en-US") || (window.location.href.indexOf("en-US") === -1)) {
window.location.href = "http://profiles.friendster.com/"+pageOwnerID+"?lang=en-US&updatelang=1";
if (!attachOnLoadHandler(function() { SPAWNPIC.init(); })) window.onload = function() { SPAWNPIC.init(); };
if (typeof SPAWNPIC == "undefined" || !SPAWNPIC) { SPAWNPIC = window.SPAWNPIC || {}; }
(function() {
SPAWNPIC = {
// private property
photo: null,
info: {
name: null,
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
name: /controlpanel_header">([\S\s]*?)<a\s*name="controlpanel/i,
photo: /imgblock200"><a[\S\s]*?>([\S\s]*?)<\/a><\/div>/i,
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>([\S\s]*?)<\/li>/i
},
init: function() {
try {
SPAWNPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, SPAWNPIC.viewer, null);
} catch(e) {}
},
viewer: function(mypic) {
if (mypic.replace(/^\s*|\s*$/g, "") === null) {
alert("VMP Error: Unable to parse user details!");
return;
} else if (mypic) {
for (var val in SPAWNPIC.info) {
try {
SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/^(\d)$/, "0$1");
} catch(e) {
SPAWNPIC.info[val] = "";
}
}
var status = SPAWNPIC.info.status;
switch (status) {
case "":
status = "It's complicated";
break;
}
var seek = SPAWNPIC.info.seek;
switch (seek) {
case "":
seek = "Just looking around";
break;
}
SPAWNPIC.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">" +
"<tr><td class=\"itd\"><a href=\"/" + pageViewerID + "\" title=\"" + pageViewerFName + "\">" +
SPAWNPIC.info.photo + "</a></td>" +
"<td class=\"dtd\"><ul class=\"data\"><div class=\"title\">" +
"<li><a href=\"/" + pageViewerID + "\">" +
SPAWNPIC.info.name + "</a><br>" +
pageViewerID.replace(/^\s*[\d]*?/gi, "No. Your Friendster: ") + "<br>" +
SPAWNPIC.info.gender + ", " + SPAWNPIC.info.age + ", " + status + "<br>" +
"Interested In: " + seek + "<br>" +
SPAWNPIC.info.since.replace(/^\s*[\w]*?/gi, "Member Since: ") + "<br>" +
SPAWNPIC.info.location.replace(/^\s*[\S\s]*?/gi, "Broken Heart in: ") + "</li>" +
"</div></ul></td></tr></table></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_spawnpic'); return false\"><div title=\"header=[Visitor This Day] body=[Welcome, Please Enjoy and Staycoolovelly]\">Halo "+pageViewerFName+" Nice To See you</div></a>", SPAWNPIC.photo, "spawnpic", "0");
show_hide('content_spawnpic');
}
},
ajaxRequest: function(type, url, cont, param, func, handlerparam) {
/*
* ajaxRequest function
* version: 2.1
* Copyright: FeRuZZ ©
http://profiles.friendster.com/feruzz
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: param | null
*/
var httprequest = null;
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x++) {
try {
httprequest = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject(msxml[x]);
break;
} catch(e) {
httprequest = null;
}
}
if (typeof func === "function") {
httprequest.onreadystatechange = function() {
if (httprequest.readyState === 4) {
if (httprequest.status === 200) {
func(httprequest.responseText, handlerparam);
}
}
};
}
httprequest.open(type, url, cont);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
if (type === "POST") {
var contentLength = param ? param.length: 0;
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType) {
httprequest.setRequestHeader("Connection", "close");
}
}
httprequest.send(param);
}
};
})();
/**********************************
* TOOLTIPS *
* Sumber :
http://www.swazz.org/ *
***********************************/
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='Tahoma';
dvHdr.style.border='1px solid #ffffff';
dvHdr.style.padding='3';
dvHdr.style.fontSize='11';
dvHdr.style.color='#ffffff';
dvHdr.style.background='#000000';
dvHdr.style.filter='alpha(opacity=85)'; // IE
dvHdr.style.opacity='0.85'; // FF
}
function defBdyStyle() {
dvBdy.style.borderTop='1px solid #ffffff';
dvBdy.style.borderBottom='1px solid #ffffff';
dvBdy.style.borderLeft='1px solid #ffffff';
dvBdy.style.borderRight='1px solid #ffffff';
dvBdy.style.width='170px';
dvBdy.style.fontFamily='Tahoma';
dvBdy.style.fontSize='11';
dvBdy.style.padding='3';
dvBdy.style.color='#ffffff';
dvBdy.style.background='#000000';
dvBdy.style.filter='alpha(opacity=85)'; // IE
dvBdy.style.opacity='0.85'; // FF
}
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';
}
}
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';
}
}
}
//klik right
var message="Disable Right Klik"
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which=
){
alert(message);
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(message);return false")
/***********************************************
* DisableIt - ? FriendsterMagic.net
* Visit FriendsterMagic.net for hundreds layouts & scripts
* This notice must stay intact for legal use
* Coded by ka Paul pauldemonteverde[AT]yahoo.com
***********************************************/
document.write(unescape("%3C%4D%45%54%41%20%48%54%54%50%2D%45%51%55%49%56%3D%22%49%6D%61%67%65%54%6F%6F%6C%62%61%72%22%20%43%4F%4E%54%45%4E%54%3D%22%4E%6F%22%3E%3C%4D%45%54%41%20%4E%41%4D%45%3D%22%4D%53%53%6D%61%72%74%54%61%67%73%50%72%65%76%65%6E%74%50%61%72%73%69%6E%67%22%20%43%4F%4E%54%45%4E%54%3D%22%54%72%75%65%22%3E"));//-->
document.write(unescape("%3C%53%43%52%49%50%54%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%3C%21%2D%2D%0D%0A%66%75%6E%63%74%69%6F%6E%20%64%64%28%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%64%6F%63%75%6D%65%6E%74%2E%6F%6E%64%72%61%67%73%74%61%72%74%3D%64%64%3B%66%75%6E%63%74%69%6F%6E%20%73%62%28%29%7B%77%69%6E%64%6F%77%2E%73%74%61%74%75%73%3D%22%22%3B%73%65%74%54%69%6D%65%6F%75%74%28%22%73%62%28%29%22%2C%31%30%29%7D%73%62%28%29%3B%66%75%6E%63%74%69%6F%6E%20%70%31%28%29%7B%66%6F%72%28%69%3D%30%3B%69%3C%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%7B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%73%74%79%6C%65%2E%76%69%73%69%62%69%6C%69%74%79%21%3D%22%68%69%64%64%65%6E%22%29%7B%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%73%74%79%6C%65%2E%76%69%73%69%62%69%6C%69%74%79%3D%22%68%69%64%64%65%6E%22%3B%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%69%64%3D%22%6E%70%22%7D%7D%7D%3B%66%75%6E%63%74%69%6F%6E%20%70%32%28%29%7B%66%6F%72%28%69%3D%30%3B%69%3C%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%7B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%69%64%3D%3D%22%6E%70%22%29%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%73%74%79%6C%65%2E%76%69%73%69%62%69%6C%69%74%79%3D%22%22%7D%7D%3B%77%69%6E%64%6F%77%2E%6F%6E%62%65%66%6F%72%65%70%72%69%6E%74%3D%70%31%3B%77%69%6E%64%6F%77%2E%6F%6E%61%66%74%65%72%70%72%69%6E%74%3D%70%32%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%27%3C%73%74%79%6C%65%20%74%79%70%65%3D%22%74%65%78%74%2F%63%73%73%22%20%6D%65%64%69%61%3D%22%70%72%69%6E%74%22%3E%3C%21%2D%2D%62%6F%64%79%7B%64%69%73%70%6C%61%79%3A%6E%6F%6E%65%7D%2D%2D%3E%3C%2F%73%74%79%6C%65%3E%27%29%3B%76%61%72%20%6F%3D%5B%22%69%6E%70%75%74%22%2C%22%74%65%78%74%61%72%65%61%22%2C%22%73%65%6C%65%63%74%22%5D%3B%6F%3D%6F%2E%6A%6F%69%6E%28%22%7C%22%29%3B%66%75%6E%63%74%69%6F%6E%20%64%69%73%61%62%6C%65%73%65%6C%65%63%74%28%65%29%7B%69%66%28%6F%2E%69%6E%64%65%78%4F%66%28%65%2E%74%61%72%67%65%74%2E%74%61%67%4E%61%6D%65%2E%74%6F%4C%6F%77%65%72%43%61%73%65%28%29%29%3D%3D%2D%31%29%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%66%75%6E%63%74%69%6F%6E%20%72%65%45%6E%61%62%6C%65%28%29%7B%72%65%74%75%72%6E%20%74%72%75%65%7D%69%66%28%74%79%70%65%6F%66%20%64%6F%63%75%6D%65%6E%74%2E%6F%6E%73%65%6C%65%63%74%73%74%61%72%74%21%3D%22%75%6E%64%65%66%69%6E%65%64%22%29%64%6F%63%75%6D%65%6E%74%2E%6F%6E%73%65%6C%65%63%74%73%74%61%72%74%3D%6E%65%77%20%46%75%6E%63%74%69%6F%6E%20%28%22%72%65%74%75%72%6E%20%66%61%6C%73%65%22%29%3B%65%6C%73%65%7B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%64%69%73%61%62%6C%65%73%65%6C%65%63%74%3B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%75%70%3D%72%65%45%6E%61%62%6C%65%7D%66%75%6E%63%74%69%6F%6E%20%63%62%28%29%7B%77%69%6E%64%6F%77%2E%63%6C%69%70%62%6F%61%72%64%44%61%74%61%2E%63%6C%65%61%72%44%61%74%61%28%29%3B%73%65%74%54%69%6D%65%6F%75%74%28%22%63%62%28%29%22%2C%32%30%29%7D%63%62%28%29%3B%62%56%3D%70%61%72%73%65%49%6E%74%28%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%56%65%72%73%69%6F%6E%29%3B%62%4E%53%3D%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%4E%61%6D%65%3D%3D%22%4E%65%74%73%63%61%70%65%22%3B%62%49%45%3D%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%4E%61%6D%65%3D%3D%22%4D%69%63%72%6F%73%6F%66%74%20%49%6E%74%65%72%6E%65%74%20%45%78%70%6C%6F%72%65%72%22%3B%66%75%6E%63%74%69%6F%6E%20%6E%72%63%28%65%29%7B%69%66%28%62%4E%53%20%26%26%20%65%2E%77%68%69%63%68%3E%31%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%65%6C%73%65%20%69%66%28%62%49%45%20%26%26%20%28%65%76%65%6E%74%2E%62%75%74%74%6F%6E%3E%31%29%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%7D%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%6E%72%63%3B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%6C%61%79%65%72%73%29%20%77%69%6E%64%6F%77%2E%63%61%70%74%75%72%65%45%76%65%6E%74%73%28%45%76%65%6E%74%2E%4D%4F%55%53%45%44%4F%57%4E%29%3B%69%66%28%62%4E%53%20%26%26%20%62%56%3C%35%29%20%77%69%6E%64%6F%77%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%6E%72%63%3B%66%75%6E%63%74%69%6F%6E%20%6F%6E%65%28%29%7B%72%65%74%75%72%6E%20%74%72%75%65%7D%6F%6E%65%72%72%6F%72%3D%6F%6E%65%3B%2F%2F%2D%2D%3E%3C%2F%53%43%52%49%50%54%3E"));//-->
document.write("<BODY oncontextmenu=\"return false\" ondragstart=\"return false\" onselectstart=\"return false\">");
document.write("<NOSCRIPT>");
document.write("<META HTTP-EQUIV=\"ImageToolbar\" CONTENT=\"No\">");
document.write("<META NAME=\"MSSmartTagsPreventParsing\" CONTENT=\"True\">");
document.write("</NOSCRIPT>");
document.write("<META HTTP-EQUIV=\"ImageToolbar\" CONTENT=\"No\">");
document.write("<META NAME=\"MSSmartTagsPreventParsing\" CONTENT=\"True\">");
/**
* Viewer's Main Photo at WIWTM
* Copyright 2007-2008 by FeRuZZ ©
http://profiles.friendster.com/feruzz
* Internalize AJAX handler
* No warranty expressed or implied. Use at your own risk.
**/
/*global VIEWERPIC*/
VIEWERPIC = {};
(function () {
VIEWERPIC = {
// private property
photo: null,
init: function () {
if (pageViewerID !== "") {
try {
VIEWERPIC.ajaxRequest("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].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;
document.getElementById("viewerpic").parentNode.replaceChild(VIEWERPIC.photo, document.getElementById("viewerpic"));
}
},
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();
}
}
};
})();
VIEWERPIC.init();
//Created by Title bar Maker (
http://www.bosiljak.hr/titlemaker)
function tb10_makeArray(n){
this.length = n;
return this.length;
}
tb10_messages = new tb10_makeArray(3);
tb10_messages[0] = "|.::.friendster arY.::.|";
tb10_messages[1] = "drop me some comment";
tb10_messages[2] = "enjoy!!";
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)}
}
//primpshake
divpicutama=getElementByClassName("imgblock200")[0];
apicutama=divpicutama.getElementsByTagName("a")[0];
srcpicutama=divpicutama.getElementsByTagName("img")[0].getAttribute("src");
apicutama.innerHTML="<img src='"+srcpicutama+"' class=\"shakeimage\" onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\">";
function getElementByClassName(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;
}
function shakedapic(boxid,kelipatan){
/*
IMAGES SHAKER by nopathz :
*/
var img2shake=document.getElementById("content_"+boxid).getElementsByTagName("img");
if (kelipatan==null) kelipatan=1;
for (i=0;i<img2shake.length;i=i+kelipatan) {
getsrc=img2shake[i].getAttribute("src");
dosrc=document.getElementById("content_"+boxid).getElementsByTagName("a")[i];
img2shake[i].parentNode.innerHTML="<img src='"+getsrc+"' class=\"shakeimage\" onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\">";
}
}
//CONTROLPANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div title=\"header=[My Profile] body=[Hello "+pageViewerFName+". This is My Data Profile<br><img src='http://i185.photobucket.com/albums/x156/Jerrydrizzt/NarutoGif.gif?t=1213903319'>]\">Personal Profile</div></a>";
show_hide('content_0');
//PHOTOS
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div title=\"header=[MY ALBUM PHOTO'S] body=[Hallo "+pageViewerFName+". This is My Photo's<br><img src='http://i220.photobucket.com/albums/dd75/ediajah/share/blackroses.gif?t=1213903405'>]\">"+pageOwnerFName+"\'s Photo Gallery</div></a>";
show_hide('content_1');
//MOREABOUT
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div title=\"header=[ABOUT ME] body=[Do Know "+pageViewerFName+". Abbout Me, klik here to view<br><img src='http://i220.photobucket.com/albums/dd75/ediajah/share/m_0f42de9bb43954c885b3820befacadd2.jpg'>]\">More About "+pageOwnerFName+"</div></a>";
show_hide('content_6');
//PUBLICCOMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div title=\"header=[TESTIMONIALS and COMMENTS FROM FRIENDS] body=[Hallo "+pageViewerFName+". Klik Here for view Comment<br><img src='http://i220.photobucket.com/albums/dd75/ediajah/share/thawwww.jpg'>]\">Testimonials and Comments for "+pageOwnerFName+"</div></a>";
show_hide('content_18');
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';
}
}
}[/quote]
[/spoiler]
masih coba2 tuch...
Last edited by ily (2008-07-21 16:44:43)