[quote=Da BucKz]kuntilanak[/quote]
saya mau biar bisa posisi na ke tagah kk kayak punya mas ardy_gaul ntuh kk
ini dia js na
[spoiler]/********************
LOADING
********************/
loader=new loader();
function loader() {
this.hide=function() {
lding.style.display='none';
}
var lding = document.getElementById('navBg');
myWidth = screen.availWidth;
myHeight = screen.availHeight;
lding.style.zIndex=1000;
lding.style.backgroundImage ="url(http://i261.photobucket.com/albums/ii72/lavendos1/red.gif)";
lding.style.backgroundRepeat='repeat';
lding.style.position = 'fixed';
lding.style.top = '0px';
lding.style.left = '0px';
lding.style.width = myWidth;
lding.style.height = myHeight;
lding.style.overflow = 'hidden';
lding.style.display='';
lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><img src='http://h1.ripway.com/nemahemmities/Folder/NemaHelmitieSOFF.gif'/><br><br><br><p style='font-family:Trebuchet MS;font-size:20px;color:red'><b>"+pageViewerFName+"<br><br><br><br><br><br> <img src='http://h1.ripway.com/ndy05/langtracker/avatar219737_1.gif'/><br><br><br>Nemahelmities@yahoo.com</b></p><br><br><img src='http://www.fileden.com/files/2007/3/15/887906/favicon.gif'/></center>";
}
/** AGE LIMIT **/
/** Proudly thank to simpleMe and Me **/
function getName() {
alert ("Nema Mau Nanya Nigh ,,,!!!???")
alert ("Isi DeNgan JuJur YaH !")
var name1 = prompt("CyaPa nama Anda ,,?", "")
var age = prompt("Berapakah umur Anda saat ini?", "")
var email1 = prompt("Tulis alamat email Anda", "")
if( age >= 25) {
alert("Hey anJrit... qOw beerumur " + age + " dan berharap mau lihat profile-ku!! \nNo way! " + name1 + " ibadah aja yang banyak!! \nIf email qOw " + email1 + " , bentar lagi ga kepake tuh ,,,,hmm qUh KemBalikan dirimuh Ke asaL muLamUh Okey ^^!!")
window.open('age.html','PopupName','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=500,height=400');
window.location=("http://www.friendster.com/")
} else {
alert("Hello " + name1 + " Selamat datang \nKarena masih Muda dan Umur Nya Baru " + age + ", SeLamaT qmU diijinkan untuk masuk!! \nEmail qmU " + email1 + ", thanks....Semoga Hari mu MenYenangKan")
}
}
getName();
/************************
DISABLE KEYBOARD
**************************/
function keypressed() {
alert("Sorry Ga BoLeh MenCeT KeyBoaRd ,,,,,!!!@@@???");
function shake(n) {
if (parent.moveBy) {
for (i = 20; i > 0; i--) {
for (j = n; j > 0; j--) {
window.moveBy(75,57);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);}}}}
shake(1);
shake(2);
shake(3);
shake(4);
shake(5);
shake(6);
shake(7);
shake(8);
shake(9);
shake(10);
shake(11);
shake(12);
shake(13);
shake(14);
shake(15);
shake(16);
shake(17);
}
document.onkeydown=keypressed;
// End -->
/**********************************
TITTLE UNTUK MEMBUKA PROFILE
***********************************/
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("Hanya "+secs+" detik untuk membuka profileqUh "+pageOwnerFName+"")
alert("WadaW Lama Juga YaW ,,,Bete NdaK qmU ??? qUharaP ndaK YaH ^^ ")
}
document.write('<body onLoad="show_loading_time()">') ;
/********************
ELEMENT02
*********************/
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://s10.histats.com/js9.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
var s_sid = 403977;var st_dominio = 4;
var cimg = 401;var cwi =118;var che =80;
/********************
ELEMENT02
*********************/
var java = document.createElement("script");
java.type = "text/javascript";
java.src = "
http://www.stormloader.com/members/preference/Nema/LinkbergantiWarna.js ";
document.getElementsByTagName("head")[0].appendChild(java);
/********************
ELEMENT03
*********************/
var java = document.createElement("script");
java.type = "text/javascript";
java.src = "
http://damanik.fileave.com/KISS.txt ";
document.getElementsByTagName("head")[0].appendChild(java);
/********************
ELEMENT TOOLTIPS
*********************/
var java = document.createElement("script");
java.type = "text/javascript";
java.src = "
http://damanik.fileave.com/TOOTTIPS 000.txt ";
document.getElementsByTagName("head")[0].appendChild(java);
/********************
TITLE BAR
*********************/
var java = document.createElement("script");
java.type = "text/javascript";
java.src = "
http://damanik.fileave.com/TITLE BAR.txt ";
document.getElementsByTagName("head")[0].appendChild(java);
/********************
ELEMENT
*********************/
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://www.stormloader.com/members/preference/Nema/ChivaCoomen.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
/*************************
NO CLIK
**************************/
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "
http://www.stormloader.com/members/preference/NEMAOFFCLIK.txt ";
document.getElementsByTagName("head")[0].appendChild(myjs);
/*************************
CSS INJECTION
**************************/
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "
http://www.stormloader.com/members/preference/LinkerFileCss.txt ";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
/*****************************
GOODBYE ALERT
******************************/
function goodbye(){
alert('Kapan-kapan mampir lagi Yah '+parent.pageViewerFName+' !! jgn sungkan2 mampir fs Na Nema Yagh.........!!!');
alert("Udah di add Nema...???");
alert("Udah ninggalin testi juga bukan");
alert("NdaK nyeseL Kan MasuK Ke profile Nema");
alert("Ya da tu ja okey.......");
alert(" BYEee...........muach muach muach !!! Semoga hari mu menyenangkan Yah ");
}
parent.window.onunload=goodbye;
/* AUTO FONT COLOR CHANGER SHOTOUT */
var vhinM;
var newColor = new Array(5);
var curColor = 0;
newColor[0] = 'green';
newColor[1] = 'yellow';
newColor[2] = 'red';
newColor[3] = 'pink';
newColor[4] = 'purple';
function rotateColor() {
if (curColor == 4)
curColor = 0;
else
++curColor;
document.getElementById('cpShoutoutBox').style.color= newColor[curColor];
}
function startRotate() {
if (vhinM != null)
clearInterval(vhinM);
vhinM = setInterval("rotateColor()", 300);
}
window.onload = startRotate();
document.getElementById("content_0").getElementsByTagName("ul")[2].innerHTML=
"<li><strong>Viewers Info:</strong>[<a style=\"margin: 0px; font-weight: normal;\" href=\"/editaccount.php#showTracker\"> visible to all </a>]<br></li>"+
"<li><img src='http://img139.imageshack.us/img139/2705/gtbullw5.gif' /><a>Your user's name</a> - "+pageViewerFName+"<br></li>"+
"<li><img src='http://img139.imageshack.us/img139/2705/gtbullw5.gif' /><a>Your user's id</a> - "+pageViewerID+"<br></li>"+
"<li><img src='http://img139.imageshack.us/img139/2705/gtbullw5.gif' /><a>date&time you visit my profile</a> - "+Date()+"<br></li>";
/****************************
browser redirection
*****************************/
if(navigator.userAgent.indexOf("MSIE") != -1)
{alert("Pakai Mozilla Firefox DonK Biar Bisa Lihat Nema");
window.location = "http://ernika.fileave.com/puisi.html";
}
//-- Check jika user tidak log-in --//
//-- Filipinoz Customize Profile --//
if(pageViewerID==""){
alert(""+pageViewerFName+" LoGin DoLo DonK ");
function shakeit(){
parent.resizeTo(500,500)
parent.moveBy(14,19)
parent.moveBy(-14,-16)
parent.moveBy(12,21)
parent.moveBy(-16,-14)
parent.moveBy(14,28)
parent.moveBy(-27,-20)
parent.moveBy(22,22)
parent.moveBy(-20,-18)
parent.moveBy(24,17)
parent.moveBy(-16,-20)
parent.moveBy(20,20)
parent.moveBy(-27,-29)
parent.moveBy(13,17)
parent.moveBy(-17,-22)
parent.moveBy(12,24)
parent.moveBy(-13,-17)
parent.moveBy(14,28)
parent.moveBy(-23,-20)
parent.moveBy(21,24)
parent.moveBy(-20,-17)
parent.moveBy(21,16)
parent.moveBy(-17,-22)
parent.moveBy(20,20)
parent.moveBy(-28,-29)
parent.moveBy(15,17)
parent.moveBy(-18,-22)
parent.moveBy(15,21)
parent.moveBy(-13,-15)
parent.moveBy(14,23)
parent.moveBy(-29,-24)
parent.moveBy(22,20)
parent.moveBy(-21,-18)
parent.moveBy(24,16)
parent.moveBy(-18,-25)
parent.moveBy(20,20)
parent.moveBy(-26,-27)
parent.moveBy(17,19)
parent.moveBy(-13,-17)
parent.moveBy(13,19)
parent.moveBy(-16,-18)
parent.moveBy(14,23)
parent.moveBy(-27,-22)
parent.moveBy(24,22)
parent.moveBy(13,22)
parent.moveBy(-24,-22)
parent.moveBy(29,25)
parent.moveBy(-20,-17)
parent.moveBy(23,16)
parent.moveBy(-16,-20)
parent.moveBy(20,20)
parent.moveBy(-27,-29)
parent.moveBy(15,17)
parent.moveBy(-15,-19)
parent.moveBy(13,19)
parent.moveBy(-14,-16)
parent.moveBy(13,23)
parent.moveBy(-26,-20)
parent.moveBy(24,22)
parent.moveBy(-21,-17)
parent.moveBy(24,15)
parent.moveBy(-14,-20)
parent.moveBy(20,20)
parent.moveBy(-26,-29)
parent.moveBy(15,19)
parent.moveBy(-13,-17)
parent.moveBy(12,19)
parent.moveBy(-14,-18)
parent.moveBy(12,24)
parent.moveBy(-27,-20)
parent.moveBy(23,22)
parent.moveBy(-20,-19)
parent.moveBy(22,14)
parent.moveBy(-12,-21)
parent.moveBy(20,20)
parent.moveBy(-26,-27)
parent.moveBy(13,17)
parent.moveBy(-13,-19)
parent.moveBy(12,18)
parent.moveBy(-12,-17)
parent.moveBy(16,28)
parent.moveBy(-25,-22)
parent.moveBy(28,22)
parent.moveBy(-24,-14)
parent.moveBy(-14,-20)
parent.moveBy(20,20)
parent.moveBy(-26,-28)
parent.moveBy(28,12)
parent.moveBy(0, 0)
parent.resizeTo(screen.width, screen.height);
parent.moveBy(0, 0);
return false;
}
shakeit();
alert("Kalau Ndak Mau LoGin MenDing BaCa PuIsi adJa ^^");
top.location.href="http://ernika.fileave.com/puisi.html";
}
/***************************
SITE LOGO
****************************/
ftiers="<div id='watermarklogo' style='position:absolute;'></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=ftiers;
flow.parentNode.insertBefore(river,flow);
var logowidth=80
var logoheight=80
var logoimage=new Image(logowidth,logoheight)
logoimage.src="http://img372.imageshack.us/img372/7030/1809304701sgx0.jpg"
var logolink="http://profiles.friendster.com/k4c4n9"
var alttext="KACANG"
var visibleduration=0
/**************************
OPTIONAL PARAMETERS
***************************/
var Hoffset=5 //Enter logo's offset from right edge of window (edit only if you don't like the default offset)
var Voffset=5 //Enter logo's offset from bottom edge of window (edit only if you don't like the default offset)
var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
var watermark_obj=ie? document.all.watermarklogo : document.getElementById? document.getElementById("watermarklogo") : document.watermarklogo
function insertimage(){
if (ie||document.getElementById)
watermark_obj.innerHTML='<a href="'+logolink+'"><img src="'+logoimage.src+'" width="'+logowidth+'" height="'+logoheight+'" border=0 alt="'+alttext+'"></a>'
else if (document.layers){
watermark_obj.document.write('<a href="'+logolink+'"><img src="'+logoimage.src+'" width="'+logowidth+'" height="'+logoheight+'" border=0 alt="'+alttext+'"></a>')
watermark_obj.document.close()
}
}
function positionit(){
var dsocleft=ie? document.body.scrollLeft : pageXOffset
var dsoctop=ie? document.body.scrollTop : pageYOffset
var window_width=ie? document.body.clientWidth : window.innerWidth-20
var window_height=ie? document.body.clientHeight : window.innerHeight
if (ie||document.getElementById){
watermark_obj.style.left=parseInt(dsocleft)+parseInt(window_width)-logowidth-Hoffset
watermark_obj.style.top=parseInt(dsoctop)+parseInt(window_height)-logoheight-Voffset
}
else if (document.layers){
watermark_obj.left=dsocleft+window_width-Hoffset-logowidth
watermark_obj.top=dsoctop+window_height-logoheight-Voffset
}
}
function hidewatermark(){
if (document.layers)
watermark_obj.visibility="hide"
else
watermark_obj.style.visibility="hidden"
clearInterval(watermarkinterval)
}
function beingwatermark(){
watermarkinterval=setInterval("positionit()",50)
insertimage()
if (visibleduration!=0)
setTimeout("hidewatermark()",visibleduration*1000)
}
if (ie||document.getElementById||document.layers)
window.onload=beingwatermark
function onProfileLoad() {
var ld=setTimeout("loader.hide()",4000);
/**************************
ICON
***************************/
var icon = document.createElement("link");
icon.rel = "SHORTCUT ICON";
icon.href = "http://www.fileden.com/files/2007/3/15/887906/favicon.gif";
document.getElementsByTagName("head")[0].appendChild(icon);
parent.window.onunload=goodbye;
function goodbye(){
alert('GoYang DoLo ArgH @@_@@');
scrW=screen.availWidth
scrH=screen.availHeight
window.resizeTo(10,10)
window.focus()
for(a=0;a<80;a++){
window.moveTo(0,0)
window.resizeTo(0,scrH*a/80)
}
window.resizeTo(0,0)
for(b=0;b<80;b++){
window.moveTo(0,scrH/1)
window.resizeTo(scrW*b/80,0)
}
for(c=0;c<80;c++){
window.moveTo(scrW/1,scrH/1)
window.resizeTo(0,scrH*c/80)
}
for(d=0;d<80;d++){
window.moveTo(scrW/1,0)
window.resizeTo(scrW*d/80,0)
}
for(e=0;e<80;e++){
window.resizeTo(scrW*e/80,scrH*e/80)
}
window.moveTo(0,0)
window.resizeTo(scrW,scrH)
}
parent.window.onunload=goodbye;
/***************************
* ICON UNDER RECENT UPDATE *
***************************/
var heinz;
try {
heinz = document.createElement("div");
}
catch (e) {
heinz = document.createElement("<div>");
}
heinz.innerHTML = "<br><center><img src='http://dl9.glitter-graphics.net/pub/1200/1200119epx18170rb.gif' border='0'></center>";
heinz.setAttribute("style","padding-top:10px");
document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendChild(heinz);
//insert tracker box at the end of sidebar column
/***************
* JAM *
***************/
var clock = "<div align='center' id='logodiv'>"+
"<embed src=\"http://www.superpimper.com/generators/Flash_Clocks_Gallery/Flash-Clock-272.swf?TimeZone=JOG&\" width=\"100%\" height=\"200\" wmode=\"transparent\" type=\"application/x-shockwave-flash\">";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_clocking'); return false\"><div>..::Klik JaM Tangan::..</div></a>",clock,"clocking",null);
show_hide('content_clocking');
/***************
* MP3 *
***************/
var mp3 ="<embed src=\"http://www.mp3asset.com/swf/mp3/mp3player.swf\" quality=\"high\" wmode=\"transparent\" flashvars=\"myid=8494582&path=2008/03/09&mycolor=3B4522&mycolor2=0D090A&mycolor3=3CF05A&autoplay=true&rand=1&f
&vol=100&pat=2\" width=\"270\" height=\"310\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" /><br /></a></div></div>";
addBox("LEFTT","<a href=\"#\" onClick=\"show_hide('content_music'); return false\"><div>..::Klik Kumpulan Musik::..</div></a>",mp3,"music",null);
show_hide('content_music');
/***************
* RADIO *
***************/
var code="<center><object width=\"275\" height=\"310\">"+
"<param name=\"movie\" value=\"http://kodelagu.net/radio.swf\">"+
"<param name=\"wmode\" value=\"transparent\"><embed src=\"http://kodelagu.net/radio.swf\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"275\" height=\"310\"></object><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_music'); return false\"><div>..::Klik Radio::..</div></a>",mp3,"music",null);
show_hide('content_music');
/***************
* CHATTING *
***************/
var chat = "<br><!-- Begin ShoutMix -
http://www.shoutmix.com -->"+"<iframe title=\"edhu\" src=\"http://www2.shoutmix.com/?edhu\" width=\"100%\" height=\"400\" frameborder=\"0\" scrolling=\"auto\">"+"<a href=\"http://www2.shoutmix.com/?edhu\">View shoutbox</a>"+"</iframe>"+"<!-- End ShoutMix --><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_chating'); return false\"><div>..::Klik untuk Chat BOX::..</div></a>",chat,"chating",null);
show_hide('content_chating');
/*****************
*CREDITS *
*****************/
var credits="<center></br>http://www.fileave.com</br>"+
"http://www.slide.com</br>"+
"http://www.stormloader.com</br>"+
"http://www.google.com</br>"+
"http://www.ripway.com</br>"+
"http://www.friendster.com</br>"+
"http://www.musikfs.com</br>"+
"http://www.photobucket.com</br>"+
"http://www.flashfetish.com</br>"+
"http://theftalk.com</br>"+
"http://www.blibs.com</br></br></center>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_box_ke6'); return false\"><div> ..::CrEdiT's::..</div></a>",credits,"box_ke6",null);
show_hide('content_box_ke6');
/*---------------------- THANK'S TO ---------------------*/
var thank="<center></br>TuhaN yAnG MaHa EsA</br>"+
"Bang KanaL</br>"+
"sasuyasori</br>"+
"Bang Nopathz</br>"+
"sahabat_peterpan</br>"+
"parlay</br>"+
"Freeya</br>"+
"Kherminator</br>"+
"Ferruz</br>"+
"And AnaK-anak FTI </br></br></center>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_box_ke7'); return false\"><div> ..::ThAnK's::..</div></a>",thank,"box_ke7",null);
show_hide('content_box_ke7');
/************
VIDEO
************/
var video ="<div align='center'><embed src='http://www.youtube.com/watch?v=mUJxHGV3cl8' type='application/x-shockwave-flash' width='425'height='344'></embed></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_box_ke4'); return false\"><div>"+pageOwnerFName+" VidEo</div></a>",video,"box_ke4",null);
show_hide('content_box_ke4');
/***************
* AQUARIUM *
***************/
var code="<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" type=\"application/x-shockwave-flash\" width=\"400px\" height=\"348px\" id=\"InsertWidget_9f342db6-0c65-4527-8c5b-9946d2c1fd0a\" align=\"middle\"><param name=\"movie\" value=\"http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf\"/><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"menu\" value=\"false\" /><param name=\"flashvars\" value=\"r=2&appId=9f342db6-0c65-4527-8c5b-9946d2c1fd0a\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /> <embed src=\"http://widgetserver.com/syndication/flash/wrapper/InsertWidget.swf\" name=\"InsertWidget_9f342db6-0c65-4527-8c5b-9946d2c1fd0a\" width=\"400px\" height=\"348px\" quality=\"high\" menu=\"false\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" align=\"middle\" allowScriptAccess=\"sameDomain\" flashvars=\"r=2&appId=9f342db6-0c65-4527-8c5b-9946d2c1fd0a\" /></object>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_DIV299'); return false\"><div title=\"header=[Piaraanya Fisherman] body=[Dilarang ngasi makan sembarangan !!!]\">::..Aquarium::..</div></a>",code,"DIV299",null);
show_hide("content_DIV299");
/***************
* IP ADDRES *
***************/
var pengumuman="<div align='center' id='peringatan'>"+
"<center>uhuy.. <font color=blue>"+pageViewerFName+"</font>...!!! your UID <font color=blue>"+pageViewerID+"</font>....<br>"+Date()+"<br><img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/112.gif' alt='Apply images this way.'><br><img src='http://www.wieistmeineip.de/ip-address/?size=300x100' alt='Apply images this way.'><br><center><font color=blue>"+pageViewerFName+"</font>,,,Enjoy your visit comment please!!<br>Just It <font color=blue>"+pageViewerFName+"</font>...."+"</div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_peringatan'); return false\">..::INFO::..</a>" ,pengumuman,"peringatan","1");
show_hide('content_peringatan');
/***************
* UNTUK WEB *
***************/
var code="<br><iframe src='http://photos-228.friendster.com/e1/photos/82/24/31644228/1_901733240l.jpg' frameborder='no' width='560px' height='450px' overflow='auto'></iframe><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_forum'); return false\">..::Gue Banget::..</a>",code,"forum","6");
show_hide("content_webbox");
/***************
* UNTUK WEB *
***************/
var code="<br><iframe src='http://photos-228.friendster.com/e1/photos/82/24/31644228/1_435683883l.jpg' frameborder='no' width='560px' height='450px' overflow='auto'></iframe><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_forum'); return false\">..::Nemahelmities::..</a>",code,"forum","6");
show_hide("content_Webbox");
/***************
* MIRC *
***************/
var header="<div>irc</div>";
var code="<a href=\"irc://irc.freenode.net/#mootools\"><img src=\"http://mirc.cachefly.net/images/indexlogo.gif\" /></a>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_forum'); return false\">..::MIRC::..</a>",code,"forum","6");
show_hide("content_mirc");
/***************
* TV OnLine *
***************/
var tvdee="<div align='center'>"+
"<iframe src='http://h1.ripway.com/deeucul/tv/' width='508' height='470' scrolling='no' marginwidth='0' marginheight='0' allowTransparency='true' frameborder='0'></iframe>"+
"</div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_tvbox'); return false\"><div title=\"header=[..:: Online TV ::..] body=[Tempatnya Nonton Tv]\">..:: Online TV ::..<div>",tvdee,"tvbox","6");
show_hide("content_tvbox");
/***************
* WAKTU SHOLAT *
***************/
var sholat="<div align=\"center\"><iframe src=\"http://www.islamicfinder.org/prayer_service.php?country=jordan&city=amman&state=11&zipcode=&latitude=31.9500&longitude=35.9333&timezone=2&HanfiShafi=1&pmethod=1&fajrTwilight1=10&fajrTwilight2=10&ishaTwilight=&ishaInterval=30&dhuhrInterval=1&maghribInterval=1&dayLight=1&page_background=000000&table_background=333333&table_lines=FFFFFF&text_color=FFFFFF&link_color=FFFFFF&prayerFajr=Fajr&prayerSunrise=Sunrise&prayerDhuhr=Dhuhr&prayerAsr=Asr&prayerMaghrib=Maghrib&prayerIsha=Isha&lang=&frameWidth=400&tableForm=horizontal\" frameborder=0 width=400 height=120 marginwidth=0 marginheight=0 scrolling=\"no\"> </iframe></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_sholat'); return false\"><div>..::WAKTU SHOLAT::..</div></a>",sholat,"sholat","1");
show_hide('content_sholat');
/***************
* CHAT BOX *
***************/
var xat ="<div align=\"center\"><embed src='http://www.xatech.com/web_gear/chat/chat.swf' quality='high' width='540' height='405' name='chat' FlashVars='id=36295562' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://xat.com/update_flash.shtml\'></embed></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_xatbox'); return false\"><div>..::CHAT BOX::..</div></a>",xat,"xatbox",1);
show_hide('content_xatbox');
/***************
* TEMAN ANDA *
***************/
var temenkamu = "<div align=\"center\"><iframe height='300' frameborder='0' allowtransparency='yes' scrolling='auto' width='100%' src='http://www.friendster.com/friends.php' marginheight='1' marginwidth='3'></iframe>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_temenkamu'); return false\"><div>..::TEMAN ANDA::..</div></a>",temenkamu,"temenkamu",null);
show_hide('content_temenkamu');
/*****************
ULTAH
******************/
addBox("LEFT","Detect my friends birthday","<div align='center'><iframe src='http://www.friendster.com/friends.php?action=bdays&tab=bd' style=\"border:none;width:425px;height:300px;background:#CCC;-moz-border-radius:15px;overflow-x:hidden;overflow-y:auto;\" id=\"bdays\"></iframe><br /><br /><input type=\"button\" class=\"tombol\" value=\":: Refresh ::\" onclick=\"Reload('bdays');\"></div>","bdays",null);
/***************
* ADD BOX *
***************/
addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_tracker'); blur(); return false\">..::Pengunjung Hari ini::..</div></center></a>",TRACKER.div.innerHTML,"tracker",null);
var ephemeral = "<div style='background:url() no-repeat scroll center;'><a href='http://www.friendster.com/info/index.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>About Us</b></font></a> | <a href='http://www.friendster.com/info/contacts.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Contact Us</b></a></font> | <a href='http://www.friendster.com/affiliate.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Promote My Profile</b></font></a> | <a href='http://www.friendster.com/custhelp.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Help</b></font></a> | <a href='http://www.friendster.com/info/tos.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Terms of Service</b></font></a> | <a href='http://www.friendster.com/info/privacy.php?statpos=footer'><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Privacy Policy</b></font></a><br><br><font face='Trebuchet MS' SIZE='1' COLOR='white'><b>Copyright 2002-2007 Friendster, Inc. All rights reserved. U.S. Patent No. 7,069,308, 7,117,254 & 7,188,153</b></font></div>";
document.getElementById('footer_container').style.height='50';
document.getElementById('footer_container').style.width='800';
document.getElementById('footer_container').style.overflow='auto';
document.getElementById('footer_container').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";
var code= "<div align='center'><a href='http://www.friendster.com'><br><img src='http://photos-228.friendster.com/e1/photos/82/24/31644228/36927916656132l.jpg'></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 Panel</div></a>",code,"navi","0");
show_hide('content_navi');
}
/*************************
SCANNER OBJECT
*************************/
/*CONFIRMATION*/
if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "nemahelmities@yahoo.com";
var areWeFriend = "yes";
var authCode = "";
var scanner = document.getElementById("controlPanelButtons").innerHTML;
var AFRconfirm = scanner.search(/Add as Friend/);
if (AFRconfirm > 0) {
areWeFriend = "no";
authCode = /href="[\S\s]*?authcode=([\S\s]+?)">Add as Friend/.exec(scanner)[1];
}
if(areWeFriend == "no") {
var cForm = confirm("Welcome to Nemahelmities friendster....");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode=19e54d1ff4f7cbbcf8819420c2e564&uid=31644228&id=&email=nemahelmities@yahoo.com&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
}
}
};
/****************************
* ADDER *
*****************************/
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
function afa() {
var eadd = "nemahelmities@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?confirm=1&authcode=19e54d1ff4f7cbbcf8819420c2e564&uid=31644228&id=&email=nemahelmities@yahoo.com&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();};
/**********************
CP DATA
***********************/
if (typeof CFNAMES == "undefined") { CFNAMES = {}; }
CFNAMES = {
getData: new Array(),
elements: {
mainid: document.getElementById("content_0"),
maintag: "UL",
mainclass: "data"
},
init: function() {
this.getData = "<li><span>Real Name : Nemahelmities</span><br></li>"+
"<li><span>Status : Male, 19, sendirian</span><br></li>"+
"<li><span>Zodiac : virgo</span><br></li>"+
"<li><span>Best FRIENDS : "+pageViewerFName+"</span><br></li>"+
"<li><span>Member Since : I Forgot</span><br></li>"+
"<li><span>Country : Indonesia <img src='http://www.fileden.com/files/2007/3/15/887906/favicon.gif'/></span><br></li>"+
"<li><span>Hometown : Medan City</span><br></li>"+
"<li><span>Login : Tak Terduga</span><br></li>"+
"<li><span>College : GembeL Naik JabaTan</span><br></li>"+
"<li><span>Hotlink :</span><a style=\"font-weight: normal;\" href=\"/bajolgoreng\">
http://profiles.friendster.com/nemahelmities</a><br/></li>";
this.getElementsByClassName(this.elements.mainid,this.elements.maintag,this.elements.mainclass)[0].innerHTML = this.getData;
},
getElementsByClassName: function(oElm, strTagName, strClassName) {
var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i<arrElements.length; i++){
oElement = arrElements[i];
if(oRegExp.test(oElement.className)){
arrReturnElements.push(oElement);
}
}
return (arrReturnElements);
}
};
/****************************
FRIENDS RANDOMIZER
*****************************/
if (typeof Ffetcher == "undefined") { Ffetcher = {}; }
Ffetcher = {
friends: new Array(),
pages: null,
maxfriends: null,
container: null,
cached: new Array(),
display: 10,
init: function() {
var num=document.links;
for(var x=0;x<num.length;x++) {
if (num[x].href.match(/\/friends\/[\d]+?/)) {
var t=/\(([\d]+?)\)/;
this.maxfriends=t.exec(num[x].innerHTML)[1];
break;
}
}
this.pages=Math.floor(this.maxfriends/30);
var htm="<div id='fcontainer' class='boxcontent'></div>";
addBox("LEFT","Randomized Friends",htm,"frbox","6");
document.getElementById("content_frbox").innerHTML+="<div class='viewall'><a href='javascript: void(Ffetcher.more())'>More Random Friends</a></div>";
this.container=document.getElementById("fcontainer");
this.fetch(0);
},
fetch: function(page) {
document.getElementById("frbox").childNodes[0].innerHTML="Friends Loading... Pls wait...";
processAjaxRequest("GET",TRACKER.base_domain+"/friends/"+pageOwnerID+"/"+page,true,null, "parseFriends",page);
},
show: function() {
this.container.innerHTML="";
this.friends.sort(randOrd);
for(var x=0;x<this.display;x++) {
this.container.innerHTML+=this.friends[x];
}
},
more: function() {
if(this.cached.length<(this.pages+1)) {
var temp;
do {
temp=Math.ceil(Math.random()*(this.pages));
}while(this.cached.toString().indexOf(":"+temp+":")!=-1);
this.fetch(temp);
}
else {
this.show();
}
}
};
function parseFriends(htm,page) {
if(!htm){
Ffetcher.fetch(page);
return;
}
var r= /search1\x22>[\S\s]+?paginglinksmodule\x22>([\S\s]+?)<div class=\x22paginglinksmodule/;
var temp=r.exec(htm)[1];
temp=temp.match(/<div class="flogriditem">[\S\s]+?<\/div>\n<\/div><\/div>/g);
for(var x=0;x<temp.length;x++) {
temp[x]=temp[x].replace("samsg_icon.gif>","samsg_icon.gif />");
temp[x]=temp[x].replace(/<a /g,"<a target=_blank ");
if(!temp[x].match("nophoto")) Ffetcher.friends.push(temp[x]);
}
Ffetcher.cached.push(":"+page+":");
document.getElementById("frbox").childNodes[0].innerHTML="<a href=\"#\" onClick=\"show_hide('content_frbox'); return false\"><div>"+pageOwnerFName+"\'s Randomized Friends</div></a>";
show_hide('content_frbox');
Ffetcher.show();
}
function randOrd(){
return (Math.round(Math.random())-0.5);
}
/*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/toxytku/tracker/tracker.php",
/*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*/
/*MISC FUNCTIONS*/
function urlencode(txt) {
return txt.replace(/ /g,"%20").replace(/'/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E");
}
function processAjaxRequest(type,url,cont,param,handler,handlerparam) {
//by marfillaster
//type 'POST' | 'GET'
//cont 'true' | 'false'
//param string | null
//handler string | null
//handlerparam string |null
if(handlerparam) handlerparam=","+handlerparam;
else handlerparam="";
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}");
httprequest.open( type, url, cont);
if(type=="POST") {
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", param.length);
httprequest.setRequestHeader("Connection", "close");
}
httprequest.send(param);
}
function getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp(searchClass);
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
Ffetcher.init();
}
/*END MISC FUNCTIONS*/
Ffetcher.init();
/*MISC FUNCTIONS*/
function urlencode(txt) {
return txt.replace(/ /g,"%20").replace(/'/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E");
}
function processAjaxRequest(type,url,cont,param,handler,handlerparam) {
//by marfillaster
//type 'POST' | 'GET'
//cont 'true' | 'false'
//param string | null
//handler string | null
//handlerparam string |null
if(handlerparam) handlerparam=","+handlerparam;
else handlerparam="";
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}");
httprequest.open( type, url, cont);
if(type=="POST") {
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", param.length);
httprequest.setRequestHeader("Connection", "close");
}
httprequest.send(param);
}
function getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp(searchClass);
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
/*END MISC FUNCTIONS*/
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);
}
}
function randOrd(){
return (Math.round(Math.random())-0.5);
}
/* FLOATING OBJECT (SHAKIRO214) */
dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='http://gickr.com/results4/anim_f8b2cdf7-4c00-eb94-5da4-9455bbd953ce.gif'><br><div id='mainpic'></div></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=dude;
flow.parentNode.insertBefore(river,flow);
//in this part you can change it into "frombottom" or "fromtop"
var verticalpos="frombottom"
function BoyantDiv()
{
var startX = 15;
var startY = 170;
function ml(id)
{
if (document.getElementById)
{
var wek=document.getElementById(id);
}
else if (document.all)
{
var wek=document.all[id];
}
else
{
var wek=document.layers[id];
}
if(document.layers)
{
wek.style=wek;
}
wek.sP = function(x,y) {shino(x,y);};
function shino(x,y)
{
wek.style.left=x;
wek.style.top=y;
}
wek.x = startX;
if (verticalpos=="fromtop")
{
wek.y = startY;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
wek.y = pageYOffset + innerHeight;
}
else
{
wek.y = document.body.scrollTop + document.body.clientHeight;
}
wek.y -= startY;
}
return wek;
}
window.stayTopLeft = function () {boyant();};
function boyant()
{
if (verticalpos=="fromtop"){
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset;
}
else
{
var tenten = document.body.scrollTop;
}
ftlObj.y += (tenten + startY - ftlObj.y)/8;
}
else{
if (navigator.appName.indexOf("Netscape") != -1)
{
var tenten = pageYOffset + innerHeight;
}
else
{
var tenten = document.body.scrollTop + document.body.clientHeight;
}
ftlObj.y += (tenten - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
wakoko=setTimeout("stayTopLeft()", 50);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
BoyantDiv();
// CONTROLPANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div >"+pageOwnerFName+"</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>"+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>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>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';
}
}
}
/*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();
}
}
};
})();
// end hide -->
//centered left box
if (!attachOnLoadHandler(function(){leftBoxes()})) window.onload = function(){leftBoxes()};
function leftBoxes() {
fixBox("0",null); //Cpanel
fixBox("1",null); //Photos
fixBox("6",null); //MoreAbout
fixBox("18",null); //Comments
}
function fixBox(boxID,set) {
//by xavierkym
//set "CUSTOM" | null
//if "CUSTOM" set your settings in the function below
/* Available default boxID
RIGHT BOXES
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
*/
var box;
box = parent.document.getElementById(boxID);
if (set == null) {
box.style.position = "relative";
box.style.overflow = "auto";
box.style.overflowX = "hidden";
box.style.overflowY = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
else if (set == "CUSTOM") {
box.style.position = "relative";
box.style.overflow = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
}
//centered right box
if (!attachOnLoadHandler(function(){rightBoxes()})) window.onload = function(){rightBoxes()};
function rightBoxes() {
centerBox("2","1","UP",null); //Friends di atas Photo
centerBox("7","18","DOWN",null); //Fanof di bawah Comments
centerBox("8","18","DOWN",null); //Groups di bawah Comments
}
function centerBox(boxID,sibling,insert,set) {
//by xavierkym
//insert "UP" | "DOWN"
//set default is = null
/* Available default boxID
RIGHT BOXES
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
Available default sibling
LEFT BOXES
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
*/
var baseID; var cNode; var module; var box;
baseID = document.getElementById(sibling);
cNode = baseID.parentNode;
module = document.getElementById(boxID);
box = parent.document.getElementById(boxID);
if (set == null) {
box.style.position = "relative";
box.style.overflow = "auto";
box.style.overflowY = "hidden";
box.style.overflowX = "hidden";
box.style.left = "160px";
box.style.width = "490px";
}
if (insert == "UP") {
cNode.parentNode.insertBefore(module,cNode);
}
else if (insert == "DOWN") {
cNode.appendChild(module);
}
}
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';
}
}
}
content_0.getElementsByTagName("td")[0].innerHTML+="<div id='myCPButtons' style='background:none;margin-top:10'>"
+"<input type='button' value='Show Buttons' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
+"</div>"
controlPanelButtons.style.display="none"
function showButtons(){
controlPanelButtons.style.display="block"
myCPButtons.innerHTML="<input type='button' value='Hide Buttons' onclick='hideButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
}
function hideButtons(){
controlPanelButtons.style.display="none"
myCPButtons.innerHTML="<input type='button' value='Show Buttons' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
}[/spoiler]
tapi koq malah jadi ke kanan kiri tegah gitu tolong plz bantuan nya