Setelah ane teliti,
ternyata ada code yang ente masukin salah bro yossi.
coba perhatikan ini
[quote]jection winter
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/yossi/snow_winter.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
// js injection winter
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/yossi/wvm_cbox.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/yossi/whitest.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
//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://img.photobucket.com/albums/v674/EphimeralKaizer/1234.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><br><br><br><br><br><center><font face='Modern, Roman, Trebuchet MS' color='red' size='4'>"+pageViewerFName+" pleaSe enJOyeD iN my profiLe! <br><br><br><br>hOpe u Like iT ___... Please Wait ...___<blink>.</blink></font><b><br><br><br><br><br><img src='http://i53.photobucket.com/albums/g50/co_gan-men/loading.gif'/></center>";
}
if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};
function loadBox() {
var ld=setTimeout("loader.hide()",4000);
}
//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";
}
var ymessenger;
try {ymessenger = document.createElement("div");}
catch (e) {ymessenger = document.createElement("<div>");}
ymessenger.innerHTML = "<br><a href='ymsgr:sendim?shy_yooossiii'><img src='http://opi.yahoo.com/online?u=shy_yooossiii&m=g&t=8'></a>";
ymessenger.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(ymessenger);
function onProfileLoad() {
//onload handler
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];
}
//navigation
var nav="<div id=\"form1\" align=\"center\"><br><select onchange=\"jumpMenu('parent',this,0);\" style=\"width: 90%; font-family:'Book Antiqua'; color:#000000; background-color:#c2c2c2; font-size:10pt;\"><option value= \"onclick=\"return false;\"><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'>__________NaViGaTioN_________<img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></option><option value=\"http://www.friendster.com\">Home</option><option value=\"http://profiles.friendster.com/user.php\">My Profile</option><option value=\"http://www.friendster.com/editprofile.php\">-- Edit Profile</option><option value=\"http://www.friendster.com/viewphotos.php\">-- Photos</option><option value=\"http://www.friendster.com/review.php\">-- Reviews</option><option value=\"http://www.friendster.com/blogs.php\">-- Blogs</option><option value=\"http://www.friendster.com/featuredfriends.php\">-- Featured Friends</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/bulletinboard.php\">-- Bulletin Board</option><option value=\"http://www.friendster.com/friends.php\">My Connections</option><option value=\"http://www.friendster.com/editcollege.php?A=s\">-- Schools</option><option value=\"http://www.friendster.com/friends.php?action=spusers\">-- I'm a Fan of...</option><option value=\"http://www.friendster.com/bookmarks.php\">-- Bookmarks</option><option value=\"http://www.friendster.com/group/mygroup.php\">-- Groups</option><option value=\"http://www.friendster.com/explore.php\">Explore</option><option value=\"http://www.friendster.com/userlist.php?list=newusers\">-- People</option><option value=\"http://www.friendster.com/photolist.php?list=mostrecent\">-- Photos</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/userlist.php?list=feat_profile\">-- Featured Fan Profiles</option><option value=\"http://www.friendster.com/widgetdirectory.php\">-- Widget Directory</option></select><br><br></div>";
addBox("RIGHT","<span><font size=1 face=Trebuchet MS>naVIgasinYa<font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> __yossi__ <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>",nav,"mynav","15");
//friendlist
var kawanku = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='39159952'><img src='http://photos.friendster.com/photos/25/99/39159952/1_141171770s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='39159952'>AnnA</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='17347889'><img src='http://photos-889.friendster.com/e1/photos/98/87/17347889/602247862s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='17347889'>kAnAL</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='43357140'><img src='http://photos.friendster.com/photos/04/17/43357140/1_427654196s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='43357140'>kHeR</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='44690981'><img src='http://photos.friendster.com/photos/18/90/44690981/1_541451356s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='44690981'>èMº</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='39552968'><img src='http://photos.friendster.com/photos/86/92/39552968/1_675712553s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='39552968'>ViZa</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='35523689'><img src='http://photos-689.friendster.com/e1/photos/98/63/35523689/1_353351747s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='35523689'>JimmY</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='44336258'><img src='http://photos-258.friendster.com/e1/photos/85/26/44336258/1_137376416s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='44336258'>JuAN</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='35772455'><img src='http://photos.friendster.com/photos/55/42/35772455/1_932628698s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='35772455'>ÄuÐi</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='20782428'><img src='http://photos.friendster.com/photos/82/42/20782428/32294966742955s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='20782428'>k3yQ</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='35838481'><img src='http://photos-481.friendster.com/e1/photos/18/48/35838481/1_474578378s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='35838481'>cHeRrY</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='44689441'><img src='http://photos.friendster.com/photos/14/49/44689441/1_657055347m.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='44689441'>cLeiO</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='10194071'><img src='http://photos.friendster.com/photos/17/04/10194071/473807454s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='10194071'>aDy</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='24755653'><img src='http://photos.friendster.com/photos/35/65/24755653/1_650042500s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='24755653'>YuKi</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='53481697'><img src='http://www.friendster.com/image-server.php/14/49/44689441/132769962005_private_m.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='53481697'>yuna</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='19420450'><img src='http://photos-450.friendster.com/e1/photos/05/40/19420450/1_172062271s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='19420450'>YanS</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='36410013'><img src='http://photos-013.friendster.com/e1/photos/31/00/36410013/1_197796680s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='36410013'>BorneO</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='50161568'><img src='http://photos.friendster.com/photos/86/51/50161568/1_263649295m.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='50161568'>dodix</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='26758739'><img src='http://photos.friendster.com/photos/93/78/26758739/1_859943338s.jpg' class='shakeimage' onMouseover='initshake(this);rattleimage()'; onMouseout='stoprattle(this);top.focus()' ; onClick='top.focus()'></a></div><div class='dr'><a href='26758739'>Ze3</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/54174701'><font size=2 face=Trebuchet MS Color=Blue><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'>looK aLL <font size=2 face=Modern Color=Red><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'>__yossi alone__<img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font>fRienD<img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font></a></div>";
addBox("RIGHT","<span><font size=1 face=Trebuchet MS>Yg buaNyak ngeBantuiN <font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> __yossi__ <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>",kawanku,"siputbox","14");
//guestbook
var bukutamu = "<div align='center' id='logodiv'>"+
"<embed src=\"http://widget-9a.slide.com/widgets/slidemap.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=h5&il=1&channel=1152921504618804122&site=widget-9a.slide.com\" style=\"width:100%;height:300px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:280px;text-align:left;\"><a href=\"http://www.slide.com/pivot?cy=h5&ad=0&id=1152921504618804122&map=5\" target=\"_blank\"> </a> <a href=\"http://www.slide.com/pivot?cy=h5&ad=0&id=1152921504618804122&map=6\" target=\"_blank\"></a></div>";
addBox("RIGHT","<span><font size=1 face=Trebuchet MS>t4 wat beRnarziz riA <font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> __yossi__ <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>",bukutamu,"box_logo",null);
//cbox
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='236' src='http://www.cbox.ws/box/?boxid=1038964&boxtag=7485&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#000000 1px solid;' id='cboxmain'></iframe><br/>"+
"<iframe frameborder='0' width='100%' height='75' src='http://www.cbox.ws/box/?boxid=1038964&boxtag=7485&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#000000 1px solid;border-top:1px' id='cboxform'></iframe>"+
"</div>";
addBox("LEFT","<span><font size=1 face=Trebuchet MS>kiRimin iCon wat nYa<font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> __yossi__ <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>",cbox,"cboxbox","6");
//crshoutbox
var crbox="<iframe src=\"http://yossi.freeshoutbox.net\" height=\"200\" width=\"300\" frameborder=\"0\"></iframe>";
addBox("RIGHT","<font size=1 face=Trebuchet MS>nGerumPi nYa<font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> __yossi__ <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>",crbox,"cboxbox", null);
//mp3
var mp3player_var="<div id='mp3player_div'>"+
"<embed src='http://www.mp3asset.com/swf/mp3/myflashfetish-mp3-player.swf?myid=6698404&path=2007/12/13&mycolor=0x010A14&mycolor2=0xFFFFFF&mycolor3=0xFF0000&autoplay=true&rand=0&f
&vol=100' quality='high' wmode='transparent' flashvars='' width='218' height='120'name='myflashfetish' align='middle'type='application/x-shockwave-flash'pluginspage='http://www.macromedia.com/go/getflashplayer' /><br></center><img style='visibility:hidden;width:0px;height:0px;' border=0 width=0 height=0 src='http://counters.gigya.com/wildfire/CIMP/Jmx*PTExOTc1NTMxNzM5MzcmcHQ9MTE5NzU1MzM*MzE*MCZwPTE4MDMxJmQ9Jm49.jpg' /></embed>"+
"</div>";
addBox("RIGHT","<span><font size=1 face=Trebuchet MS>Yg nGeinspirasi'in<font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> __yossi__ <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>",mp3player_var,"mp3_player_content","7");
addBox("RIGHT","<span><font size=1 face=Trebuchet MS>sanG penGintiP<font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> __yossi__ <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>",TRACKER.div.innerHTML,"tracker","2");
var credits="<center></br>WVMe Created by Marfillaster</br>"+
"Update/Fix by feruzz!</br>"+
"Edited by Ren Alvir</br>"+
"JS Linker Javanet Crew 10/25/07</br></br></center>";
addBox("RIGHT","<span><font size=1 face=Trebuchet MS>teRima kasIh nYa<font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> __yossi__ <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>",credits,"credits", null);
}
/*FRIEND SCANNER*/
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "shy_yooossiii@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("It seems that you are not in my contact list.\n Do you want to add me as your friend?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname=";
}
}
}
};
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '280px',
height: '350px',
border: '0px'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://h1.ripway.com/yossi/tracker.php",
exitmessage: "Goodbye "+pageViewerFName,
/*do not edit below this line*/
/*
WVMe v2.2 copyright 2007 friendster.com/mumbhaki
credits: marfillaster, feruzz, renalvir, 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() {
document.getElementById("navBg").innerHTML+="<iframe id=\"wvmtemp\" src=\"about:blank\" style=\"display:none\" />";
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><br /><input type=\"button\" class=\"reloadbutt\" value=\"Refresh Tracker\" onclick=\"Reload();\" style=\"margin: 3px;\"></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+"&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()};
[b]TRACKER.init();[/b] <--- seharusnya ini gag ada disini
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);
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
FRIENDSCAN.init();};
TRACKER.init();
/*MISC FUNCTIONS*/
function addBox (type,head,htm,id,sibling) {
//by marfillaster
/* ---------------------------
Available siblings
left side (mainbar)
"0" = controlpanel
"1" = photos
"13" = blogs
"12" = reviews
"6" = moreabout
"18" = publiccomments
"10" = scrapbook
right side (sidebar)
"15" = meettrail
"2" = friends
"14" = ads
"7" = fan
"8" = groups
--------------------------- */
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);
}
}
/*END MISC FUNCTIONS*/
//tracker refresher
function Reload () {
var f = document.getElementById('wvm');
f.src = f.src;
}
/* insert other codes below */
document.write('<META http-equiv="Page-Exit" CONTENT="RevealTrans(Duration=4,Transition=22)">') ;
//status bar
puchtit="]|-[[[__<<<---Someone-_YossI_-elsE--->>>__]]]-|[";
letrero2="_______________________Not Me____";
letrero1="_______________________NoT You____";ultimo1=letrero1.length-1;
ultimo2=letrero2.length-1;
tiempo=setTimeout("scroll()",.1);
function scroll()
{
aux1=letrero1.charAt(ultimo1-1);
letrero1=aux1+letrero1.substring(0,ultimo1-1);
aux2=letrero2.charAt(0);
letrero2=letrero2.substring(1,ultimo2+1)+aux2;
window.status="(" + letrero2 + puchtit + letrero1 + ")";
tiempo=setTimeout("scroll()",.1);
return true;
}
// SLIDSHOW
if (!attachOnLoadHandler(function(){embed()})) window.onload = function(){embed()};
function embed(){
var slodde = "<embed src=\"http://widget-a5.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=1152921504615549861&site=widget-a5.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/54174701\" target=\"_blank\"><b><FONT Color=Red>All photo __yossi</FONT></a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=54174701\" target=\"_blank\"><FONT Color=Blue>uPLoaD putu _yossi_</FONT></b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
}setTimeout("embed()",10000);
// FIELD NAME Trebuchet MS
document.getElementById('0').getElementsByTagName("ul")[1].innerHTML=
"<li><span><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'><b> <font size=1 face=modern color= BLUE> _yossi_ </font> <font size=1 face=modern color= RED>LooKing 4 My seLf</b></font><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></span><br></li>"+
"<li><span><font size=1 face=modern color= blue><b>Not Me Not You</b></font><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> <font size=1 face=arial><s>jomblo</s><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> 22 taon</font></span><br></li>"+
"<li><span><font size=1 face=modern color= blue><b>lahir nYa</b></font><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> <font size=1 face=arial><s><b>07</b></s><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> octob</font></span><;br></li>"+
"<li><span><font size=1 face=modern>NeeD U aLL<u> LeaVe mE aLOnE</u></font></span><br></li>"+
"<li><span><font size=1 face=modern>Agama <b><u>Alhamdulillah aNe Muslim</u></b></font></span><br></li>"+
"<li><span><font size=1 face=modern>SekRanG aNe ada Di <u>BhanjaRbaroe-pleyday </u> yanG seJUk beuD paGI haRi</font></span><br></li>"+
"<li><span><font size=1 face=modern>seDaRi doloe <u>gaG pernah nGerti aRti iduP</u> juSt life it suCk but enJoyeD</font></span><br></li>"+
"<li><span><font size=1 face=modern>mY GoaL <u>founD mY selF</u></font></span><br></li>"+
"<li><span><font size=1 face=modern color= blue>mYselF </font><font size=1 face=arial><u>aLwayS aLone</u></font></span><br></li>"+
"<li><span><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'><font size=1 face=arial> alaMat nE eF es <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'><br></font></span><a style=\"font-weight: normal;\" href=\"/NotmeNotYou\">http://www.friendster.com/notmenotyou</font></a></li><br/>"+
"<li><span><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></b></span></li>";
// style comment
function forumstyle() {
document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML="<div class=\"viewall\"><a href=\"http://www.friendster.com/comments.php?uid="+pageOwnerID+"\">Post a Comment</a> | <a href=\"http://www.friendster.com/comments.php?uid="+pageOwnerID+"\">View All (1000)</a></div>";
document.getElementById("content_18").getElementsByTagName("div")[22].innerHTML = "<div class=\"viewall\" id=\"quickreply\"><center><form name=\"testimonial_form\" method=\"post\"><input type=\"hidden\" name=\"testimonial_firstname\" value=\""+pageOwnerFName+"\"><input type=\"hidden\" name=\"testimonial_uid\" value=\""+pageViewerID+"\"><input type=\"hidden\" name=\"_submitted\" value=\"1\"><table class=\"formtable\"><tr><td class=\"value\"><textarea style=\"width: 400px; height: 100px;\" rows=\"5\" cols=\"60\" name=\"body\"></textarea></td></tr><tr><td class=\"value\"><input readonly type=\"hidden\" name=\"inputcount\" size=\"5\" maxlength=\"4\" value=\"500\"><input type=\"button\" name=\"Submit\" onMouseOver=\"window.status='Post';return true;\" onClick=\"document.testimonial_form.action='http://www.friendster.com/testimonials.php?uid="+pageOwnerID+"&action=add';document.testimonial_form.submit();\" value=\"Post\"><br></td></tr></table></form></center></div>";
for ( var i = 0; i < 10; i++) {document.getElementById("content_18").getElementsByTagName("ul")[i].innerHTML+="<br><hr><img src='http://qsmile.com/qsimages/227.gif'/>__thX CommenTnYa yaK__<img src='http://qsmile.com/qsimages/88.gif'/><hr><br><span style=\"padding-left:100px !important\"><a href=\"#quickreply\">Reply</a> | Quote | <a href=\"http://www.friendster.com/sendmessage.php?uid="+pageOwnerID+"\">Report Spam</a></span>";}
document.getElementById("content_18").getElementsByTagName("td")[0].innerHTML +="Posts: 1024<br>Level: FTIers<br>Reput:2<br><img src='http://qsmile.com/qsimages/88.gif'/>Online";
document.getElementById("content_18").getElementsByTagName("td")[2].innerHTML +="Posts: 2465<br>Level: FTIers<br>Reput:31<br><img src='http://qsmile.com/qsimages/88.gif'/>Offline";
document.getElementById("content_18").getElementsByTagName("td")[4].innerHTML +="Posts: 2124<br>Level: FTIers<br>Reput:11<br><img src='http://qsmile.com/qsimages/88.gif'/>Online";
document.getElementById("content_18").getElementsByTagName("td")[6].innerHTML +="Posts: 1548<br>Level: FTIers<br>Reput:31<br><img src='http://qsmile.com/qsimages/88.gif'/>Offline";
document.getElementById("content_18").getElementsByTagName("td")[8].innerHTML +="Posts: 1214<br>Level: FTIers<br>Reput:8<br><img src='http://qsmile.com/qsimages/88.gif'/>Online";
document.getElementById("content_18").getElementsByTagName("td")[10].innerHTML +="Posts: 1451<br>Level: FTIers<br>Reput:16<br><img src='http://qsmile.com/qsimages/88.gif'/>Offline";
document.getElementById("content_18").getElementsByTagName("td")[12].innerHTML +="Posts: 2141<br>Level: FTIers<br>Reput:8<br><img src='http://qsmile.com/qsimages/88.gif'/>Online";
document.getElementById("content_18").getElementsByTagName("td")[14].innerHTML +="Posts: 1154<br>Level: FTIers<br>Reput:65<br><img src='http://qsmile.com/qsimages/88.gif'/>Offline";
document.getElementById("content_18").getElementsByTagName("td")[16].innerHTML +="Posts: 2141<br>Level: FTIers<br>Reput:25<br><img src='http://qsmile.com/qsimages/88.gif'/>Online";
document.getElementById("content_18").getElementsByTagName("td")[18].innerHTML +="Posts: 1414<br>Level: FTIers<br>Reput:11<br><img src='http://qsmile.com/qsimages/88.gif'/>Offline";
}
if (!attachOnLoadHandler(function(){forumstyle()})) window.onload = function(){forumstyle()};
// mini viewer
if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
photo: [], li: [], ul: [],
info: {
name: null, photo: null, status: null, since: null, location: null
},
regexp: {
name: /controlpanel_header">([^@]+?)<a\s+name="controlpanel/i,
photo: /imgblock200"><a[^@]*?>([^@]+?)<\/a><\/div>/i,
status: /data">([^@]+?)<\/span><\/li>/i,
since: /Since\:\s+<\/span>([^@]+?)<\/li>/i,
location: /Location\:\s+<\/span>([^@]+?)<\/li>/i
},
init: function() {
this.ajaxRequest("/"+pageViewerID,"SPAWNPIC.viewer",null);
},
viewer: function(ph) {
if (ph.replace(/^\s*|\s*$/g,"") === "") {
alert("VMP Error: Unable to parse the photo!");
return;
}else if (ph) {
for (val in this.info) {
try {
this.info[val] = new RegExp(this.regexp[val]).exec(ph)[1].replace(/^(\d)$/,"0$1");
}catch(e) {
this.info[val] = "";
}
}
this.photo = "<div class=\"fitem1wrapper\">"+
"<table class\"fitem1table\">"+
"<tr>"+
"<td class=\"itd\">"+
"<a href=\"/"+pageViewerID+"\" title=\""+pageViewerFName+"\">"+
this.info.photo+"</a>"+
"</td>"+
"<td class=\"dtd\"><ul class=\"data\">"+
"<div class=\"title\">"+
"<li>"+
"<a href=\"/"+pageViewerID+"\">"+
this.info.name+"</a>\n"+
"eFeS ID eLo: <a href=\"/"+pageViewerID+"\">"+pageViewerID+"</a>"+
this.info.status+"\n"+
"memBeR_siNCe: "+this.info.since+"\n"+
"lokaLisaSi: "+this.info.location+"</li>"+
"</div>"+
"</ul>"+
"</td>"+
"</tr>"+
"</table>"+
"</div>";
this.photo = this.photo.replace(/\n/g,"<br />").replace(/<br>/gi,"<br />");
this.HTML("<span><font size=1 face=Trebuchet MS>thaT's U lOl<font size=2 face=modern color= BLUE> __yossi__ </font> <font size=1 face=modern color =RED> aLoNe </font></font></span>"+this.info.name,this.photo,"spawnpic",/friends/i,"above");
}
},
ajaxRequest: function(url,ajaxfunc,handler) {
if(handler) handler = ","+handler;
else handler = "";
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if(ajaxfunc) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}");
httprequest.open('GET', url, true);
httprequest.send(null);
},
HTML: function(head,code,id,sibling,x) {
this.li = document.createElement("LI");
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
this.li.innerHTML = "<div class=\"commonbox "+id+"\" id=\""+id+"\">"+
head+
"<div id=\"content_"+id+"\">"+
code+
"</div>"+
"</div>";
if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(this.li);
else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(this.li);
else if (x == "above") {
this.ul = this.getModuleByClassName(sibling)[0];
this.ul.parentNode.parentNode.insertBefore(this.li,this.ul.parentNode);
}
},
getModuleByClassName: function(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;
}
};
//Ganti tulisan Master header
var h;
//control panel
h=document.getElementById("controlpanel_header");
h.innerHTML="<span><font size=1 face=Trebuchet MS>pRofile yG teramaT sangAD seDerhaNA <font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> <blink>__yossi__</blink><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>";
//photo gallery
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<span><font size=1 face=Trebuchet MS>tinGkat ke aRtistikaN <font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> <blink>__yossi__</blink><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>";
//more about me
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<span><font size=1 face=Trebuchet MS>iNilah aNe<font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> <blink>__yossi__</blink> <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>";
//comment
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<span><font size=1 face=Trebuchet MS>apa kata teMan <font size=2 face=modern color= BLUE><img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'> <blink>__yossi__</blink> <img src='http://i241.photobucket.com/albums/ff305/bucuq/fs%20cleio/bb160.gif'></font> <font size=1 face=modern color =RED> aLoNe</font></font></span>";
// Viewer di Shout Out
var shoutout = "<font size=1 face=modern color =BLUE>weLcuMe</font> anD <font size=1 face=modern color =BLUE>eNjoYeD</font> yA PleeenD____<font size=1 face=modern color =RED><blink>"+pageViewerFName;
document.getElementById('cpShoutoutBox').innerHTML = "<DIV>"+shoutout+"</DIV>";
/**********************************
* 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 #A5CFE9';
dvHdr.style.padding='3';
dvHdr.style.fontSize='11';
dvHdr.style.color='#4B7A98';
dvHdr.style.background='#D5EBF9';
dvHdr.style.filter='alpha(opacity=85)'; // IE
dvHdr.style.opacity='0.85'; // FF
}
function defBdyStyle() {
dvBdy.style.borderBottom='1px solid #A5CFE9';
dvBdy.style.borderLeft='1px solid #A5CFE9';
dvBdy.style.borderRight='1px solid #A5CFE9';
dvBdy.style.width='170px';
dvBdy.style.fontFamily='Tahoma';
dvBdy.style.fontSize='11';
dvBdy.style.padding='3';
dvBdy.style.color='#1B4966';
dvBdy.style.background='#FFFFFF';
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';
}
}
// FRIEND IMAGES SHAKE
if (!attachOnLoadHandler(function() { nopzshake();})) window.onload = function() { nopzshake();};
function nopzshake(){
for (i=0;i<18;i++) {
getsrc=document.getElementById("content_2").getElementsByTagName("img")[i].getAttribute("src");
dosrc=document.getElementById("content_2").getElementsByTagName("a")[2*i];
dosrc.innerHTML="<img src='"+getsrc+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>";
}
}
/****************************************
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
}
// PROFILE BERGETAR
function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(14)[/quote]
bisa di mengerti ?
Last edited by sahabat.peterpan (2008-01-07 09:45:58)