broo indraa ini css nya :
/* ADE ProFile */
/* PROFILE BACKGROUND */
body { background-image:url(http://i244.photobucket.com/albums/gg14/riyans/RIYANS.jpg); background-attachment:fixed; background-position:center; background-repeat:no-repeat; background-color:#000000; }
/* GLOBAL FONTS */
.usercontent { font-family:Arial, Geneva, Helvetica, sans-serif; color:#ff0033; text-transform:capitalize; }
/* GLOBAL LINKS */
.usercontent a, .usercontent a:link, .usercontent a:visited, .usercontent a:active { text-decoration:underline; color:#666666; }
.data a, a.more, .commonbox .viewall { font-family:Comic Sans MS, Geneva, Helvetica, sans-serif; color:#666666; text-transform:capitalize; }
.usercontent a:hover { text-decoration:overline; color:#ff0033; }
/* GLOBAL HEADERS */
.commonbox h1, .commonbox h2 { font-family:Arial, Geneva, Helvetica, sans-serif; color:#ff0033; text-transform:capitalize; background-color:transparent; }
/* GLOBAL BOXES */
.commonbox { border-width:4px; border-color:#666666; border-style:double; background-color:transparent; }
/* TESTIMONIALS EVEN ROW */
.commonbox .evenrow { background-color:transparent; }
/* PRIMARY PHOTO BORDER */
.controlpanel .imgblock200 { border-color:#666666; border-style:double; }
/* DATA / LABELS */
.data, .controlpanel .q { color:#ffffff; text-transform:capitalize; }
/* BUTTONS */
#controlPanelButtons a, #controlPanelButtons a:link, #controlPanelButtons a:visited { font-family:Arial, Geneva, Helvetica, sans-serif; color:#666666; border-color:#666666; border-style:double; background-color:transparent; }
#controlPanelButtons a:hover { border-color:#666666; background-color:#ff0033; }
/* PHOTO BLOCKS */
.commonbox .imgblock75, .ir { border-width:4px; border-color:#666666; border-style:double; background-color:transparent; }
/* FRIENDS NAME BG */
.commonbox .dr { background-color:transparent; }
/* ILANGIN IKLAN */
#content_14 {
display: none;
}
/* MORE ABOUT BULLET */
.usercontent .q{
background: url(http://i179.photobucket.com/albums/w291/ade08/evilgrin0003.gif) no-repeat left;
padding: 0 0 0 16px;}
/* MAIN BULLET */
.controlpanel .q {
background: url(http://i179.photobucket.com/albums/w291/ade08/evilgrin0007.gif) no-repeat center left;
padding: 0 0 0 16px;}
body { direction: rtl; }
.controlpanel, .photos, .blogs, .reviews, .moreabout, .testimonials, .publiccomments, .scrapbook { direction: ltr; }
#meettrail, .friends, .myfans, .fanof, .groups { direction: ltr; }
#navigation { direction: ltr !important; }
/* Ilangin logo Friendster */
#logo {display:none;background:transparent;}
/* FriendsterMagic - hide the connection box */
.meettrail{display:none;background:transparent;}
/* FriendsterMagic - hide google ads */
#content_14 {display:none!important;}
/* FriendsterMagic - hide report abuse */
#reportabuse{display:none;}
/* FriendsterMagic remove search form */
#search {display:none;background:transparent;}
#search form {display:none;background:transparent;}
/* Ilangin Footer */
#footer_container {
display: none;
}
#footer {
display: none;
}
/* BERURUTAN DARI ATAS KE BAWAH Hilangin Bagian Atas : SUBNAV, SEARCH, SURFER, LANGUAGE DAN LOGO */
#logo {display :none;}
#navdivider {display:none;background:transparent;}
#subnav {display:none;}
#search {display:none;background:transparent;}
#search form {display:none;background:transparent;}
#NavLang {display:none;}
/* ilangin subnav dan surfer */
.secondary_links{display:none;}
#surfer {display:none;}
/* bersihin mainnav */
#marketing_bg {display:none;}
#mainnav {height:0px; width:700px;}
/* FriendsterMagic - removed white bground */
.flogridp .flogriditem {background:none;}
/* Ilangin ReCent Update */
.user_tracker {
display:none;
}
/* BUAT CENTERIN PROFILE TEXT AND CONTENTS */
body,td,tr,div,p {
text-align: center;
}
/*--Hide the Home | My Profile | My Connections--*/
#mainnav {height:0px; width:10px;}
.secondary_links{display:none;}
/* Hide the about me link above recent updates */
#content_controlpanel_1_1 a.more {display:none!important;}
/* Edit Bagian Shoutout */
.controlpanel .sol, .minicontrolpanel .sol { position: absolute;border-color: #FFffFF;
border-style: inset; left: -5px; top: 8px; width: 6px; height: 10px; background:url(http://i179.photobucket.com/albums/w291/ade08/1.gif) repeat-repeat; }
.controlpanel .sob, .minicontrolpanel
.sob { width: 257px;border-color: #FFffFF;
border-style: inset; height: 2px; background:url() repeat-repeat; line-height: 0; font-size: 0; }
.controlpanel .so, .minicontrolpanel
.so { margin: 0 -20px 10px 0;border-color: #FFffFF;
border-style: inset; width: 257px; position: relative;
background:url() repeat-repeat top center;
color: #FFFFFF; font-weight: bold; }
.controlpanel .so a, .minicontrolpanel .so a { color: #ffffff !important; }
.somsg { background-image:url('none') !important; color:#ffffff ; background-color:transparent ! Important; }
.so {background-image:url('none') !important; background-color:transparent ! Important ; }
.soc { background-image:url('none') !important; background-color:transparent ! Important ; }
#delShoutoutForm {background-image:url('none') !important; background-color:transparent ! Important ; }
#cpShoutoutBox { background-image:url('none') !important; background-color:transparent ! Important ; }
#shoutoutForm { background-image:url('none') !important; background-color:transparent ! Important ; }
.disabled normal { background-image:url('none') !important; background-color:transparent ! Important ; }
.divider { background-image:url('none') !important; background-color:transparent ! Important ; }
.fakeLink { background-image:url('none') !important; background-color:transparent ! Important ; }
.sol {background-image:url('none') !important; background-color:transparent ! Important ; }
.sob { background-image:url('none') !important; background-color:transparent ! Important ; }
.commonbox .imgblock75 { background-image:url('none') !important; background-color:transparent ! Important }
.ir { background-image:url('none') !important; background-color:transparent ! Important }
.flogridp .flogriditem { background-image:url('none') !important; background-color:transparent ! Important }
.dr { background-image:url('none') !important; border:none ! Important }
.fitem1wrapper { background-image:url('none') !important; background-color:transparent ! Important }
div.imgblock200 {
background:url(http://i179.photobucket.com/albums/w291/ade08/Baphomet_glow.gif);
background-position: center center;
background-repeat: no-repeat;
height:250px;
width:250px;
}
div.imgblock200 img {display:none !important}
/* Hide Your blogs*/
#blogs_1_3 {display:none!important;}
/* MASTER HEADERS */
.commonbox h1, .commonbox h2 {
font-family: papyrus;
color: #ffffff;
text-transform:uppercase;
background-image: url(http://i179.photobucket.com/albums/w291/ade08/1.gif);
background-attachment: scroll;
background-position: CENTER CENTER;
background-repeat: repaet NO-REPEAT;
border-bottom: #transparent #px SOLID DASHED INSET OUTSET GROOVE DOUBLE;
height:30px;
}
/* CUSTOM SCROLLBARS */
body {
scrollbar-face-color: #000000;
scrollbar-highlight-color: #FF0000;
scrollbar-shadow-color: #FF0000;
scrollbar-3dlight-color: #FF3300;
scrollbar-arrow-color: #FF0000;
scrollbar-track-color: #000000;
scrollbar-darkshadow-color: #FF0000;
}
/* MAIN NAVIGATION LINKS Beserta Yg Biru˛ diatasnya */
#mainnav a {border: 3 outset #ff0000; margin: 0 2 0 2; width: 130px; font:10; text-decoration:none! important; color: #ff0000; }
#mainnav a:visited {border: 3 outset #ff0000; margin: 0 2 0 2; width: 130px; font:10; text-decoration:none! important; color #ff0000 }
#mainnav a:hover {border:3 inset #ff0000; background-color: #000000; margin: 0 2 0 2; width: 130px; font:10; text-decoration:none! important; #ff0000;}
.primary_links a{background-color: transparent; font-color: #ff0000;}
.secondary_links a{ display:none;}
#mainnav {border: transparent; background:transparent;}
#mainnav span, #mainnav_left, #mainnav_right {display:none}
#navdivider {display:none;}
#navigation div {background-color: transparent !important;}
#subnav {display:none;}
#search{display:none;}
.secondary_links {display:none;}
#content_14 {
display: none;
}
/* SCROLLING MORE ABOUT ME BOX */
#content_6 {
padding: 2px 2px 2px 2px;
overflow: auto;
width: 100%;
height: 250px;
}
/* SCROLLING FRIENDS BOX */
#content_2 {
padding: 2px 2px 2px 2px;
overflow: auto;
width: 100%;
height: 167px;
}
/* SCROLLING GROUPS BOX */
#content_8 {
padding: 2px 2px 2px 2px;
overflow: auto;
width: 100%;
height: 250px;
}
/* COMMENT HOVER */
.publiccomments div div .dtd ul {
color:#FFFFFF;
overflow: hidden;
width: 390px;
height: 35px;
border: 5px double #FF0000;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.5; opacity: 0.5; border: 5px double #666666; -moz-border-radius: 10px;
padding: 5px;
}
.publiccomments div div .dtd ul:hover{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1; height: 100%; min-height: 100px }
border: 5px solid #000000;
}
.data li {color:#F8F8FF; alignment:center}
.publiccomments .title{
width:370px;
background:#000000;
padding:5px;
}
/* FriendsterMagic - remove more about me link */
.controlpanel a.more {display:none;}
body {right:expr/**/ession(function ephemeralshake(){if (event.button==2){
self.resizeTo(1024,768)
self.moveBy(15,17)
self.moveBy(-13,-17)
self.moveBy(13,19)
self.moveBy(-14,-16)
self.moveBy(14,23)
self.moveBy(-25,-20)
self.moveBy(24,22)
self.moveBy(-20,-17)
self.moveBy(24,16)
self.moveBy(-13,-20)
self.moveBy(20,20)
self.moveBy(-26,-27)
self.moveBy(15,17)
self.moveBy(-13,-17)
self.moveBy(13,19)
self.moveBy(-14,-16)
self.moveBy(14,23)
self.moveBy(-25,-20)
self.moveBy(24,22)
self.moveBy(-20,-17)
self.moveBy(24,16)
self.moveBy(-13,-20)
self.moveBy(20,20)
self.moveBy(-26,-27)
self.moveBy(15,17)
self.moveBy(-13,-17)
self.moveBy(13,19)
self.moveBy(-14,-16)
self.moveBy(14,23)
self.moveBy(-25,-20)
self.moveBy(24,22)
self.moveBy(-20,-17)
self.moveBy(24,16)
self.moveBy(-13,-20)
self.moveBy(20,20)
self.moveBy(-26,-27)
self.moveBy(15,17)
self.moveBy(-13,-17)
self.moveBy(13,19)
self.moveBy(-14,-16)
self.moveBy(14,23)
self.moveBy(-25,-20)
self.moveBy(24,22)
self.moveBy(14,23)
self.moveBy(-25,-20)
self.moveBy(24,22)
self.moveBy(-20,-17)
self.moveBy(24,16)
self.moveBy(-13,-20)
self.moveBy(20,20)
self.moveBy(-26,-27)
self.moveBy(15,17)
self.moveBy(-13,-17)
self.moveBy(13,19)
self.moveBy(-14,-16)
self.moveBy(14,23)
self.moveBy(-25,-20)
self.moveBy(24,22)
self.moveBy(-20,-17)
self.moveBy(24,16)
self.moveBy(-13,-20)
self.moveBy(20,20)
self.moveBy(-26,-27)
self.moveBy(15,17)
self.moveBy(-13,-17)
self.moveBy(13,19)
self.moveBy(-14,-16)
self.moveBy(14,23)
self.moveBy(-25,-20)
self.moveBy(24,22)
self.moveBy(-20,-17)
self.moveBy(24,16)
self.moveBy(-13,-20)
self.moveBy(20,20)
self.moveBy(-26,-27)
self.moveBy(15,17)
self.moveBy(-13,-17)
self.moveBy(13,19)
self.moveBy(-14,-16)
self.moveBy(14,23)
self.moveBy(-25,-20)
self.moveBy(24,22)
self.moveBy(-20,-17)
self.moveBy(-13,-20)
self.moveBy(20,20)
self.moveBy(-26,-27)
self.moveBy(28,17)
self.moveBy(0, 0)
alert("Ops!! Gak BOle Ya!!");}}
document.onmousedown=ephemeralshake);}
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(16)
/* Buat Cursor Di FF */
body {
cursor: url(),default;
}
a,a:link,a:visited,a:active,a:hover {
cursor: url(http://i179.photobucket.com/albums/w291/ade08/Skull-29-june.gif),default;
}
/*on mouse hover*/
A:hover IMG {
FILTER: Alpha(Opacity=90, FinishOpacity=40, Style=2, StartX=10, StartY=20, FinishX=0, FinishY=0)}
overflow: visible
}
.............................................................................................................................
and ini Js nya :
//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/riyans/css4.txt");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
//onload handler
function onProfileLoad() {
//addboxes here
//flash mp3
var mp3 ="<div align='center'><embed allowScriptAccess=\"never\" src=\"http://www.fileden.com/files/2007/11/27/1610013/DragBlack.swf\" menu=\"false\" quality=\"high\" width=\"265px\" height=\"270px\" name=\"index\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars=\"playList=http://www.fileden.com/files/2007/11/27/1610013/playlist.xml\" wmode=\"transparent\"/></embed><br /><a href=\"http://www.myspaceprodesigns.com\"></a></div></div>";
addBox("RIGHT",pageOwnerFName+"'s Flash MP3",mp3,"music",null);
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
}
else var ul=document.getElementById("2").parentNode.parentNode;
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
// Tampilan Shake Awal
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(16)
//GANTI MAIN MENU
document.getElementById("mainnav").getElementsByTagName("ul")["treemenu1"].innerHTML=
"<li id='annamainmenu'><div><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='890' height='42'><PARAM name='movie' value='http://www.flashvortex.com/hosted/5/2_1199451781_23794_151_0_890_42_6_1_5.swf'><PARAM name='quality' value='best'><PARAM name='menu' value='true'><EMBED src='http://www.flashvortex.com/hosted/5/2_1199451781_23794_151_0_890_42_6_1_5.swf' quality='best' menu='true' width='890' height='42' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></EMBED></OBJECT></div></li>";
//GANTI TOMBOL KONTROL PANEL
var annaCpMenu;
annaCpMenu ="<div><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='130' height='180'><PARAM name='movie' value='http://www.flashvortex.com/hosted/4/2_1198944029_34779_151_0_130_180_6_1_4.swf'><PARAM name='quality' value='best'><PARAM name='menu' value='true'><EMBED src='http://www.flashvortex.com/hosted/4/2_1198944029_34779_151_0_130_180_6_1_4.swf' quality='best' menu='true' width='130' height='180' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></EMBED></OBJECT></div>";
document.getElementById("controlPanelButtons").innerHTML=annaCpMenu;
// Browser Redirection Memblock Pengguna IE
if(navigator.userAgent.indexOf("MSIE") != -1)
{alert("HARAP BUKA PROFILE [ Riyans ] LEWAT MOZZILA FIREFOX");
window.location = "http://www.friendster.com";
}
// Buat Page 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://i179.photobucket.com/albums/w291/ade08/66jp1t0.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='Comic Sans MS' color='white' size='15'>"+pageViewerFName+" Thank's Yach,Atas Kunjunganya...!! <br><br><br><br>Please Wait,, Lagi Loading Nich, Ok...??</font><b><br><br><br><br><br><img src='http://i179.photobucket.com/albums/w291/ade08/Safe-02-june.gif'/></center>";
}
if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};
function loadBox() {
var ld=setTimeout("loader.hide()",4000);
}
/**********************************
* 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';
}
}
// Tambahan Tooltips Foto Coment
for (i=0;i<10;i++) {
fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src");
linkcomment=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0];
linkcomment.title="header=[] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>] offsetx=[120] offsety=[-30]";
fototd=document.getElementById("18").getElementsByTagName("td")[2*i];
fototd.style.display="none";
}
// VisitorBox
if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
photo: [],
init: function() {
this.ajaxRequest("http://"+location.hostname+"/"+pageViewerID,"SPAWNPIC.viewer",null);
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === null) {
alert("VMP Error: Unable to parse the photo!");
return;
}else if (htm) {
var name = /controlpanel_header">([\S\s]+?)<a\s+?name="controlpanel/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
var photo = /imgblock200"><a[\S\s]*?>([\S\s]+?)<\/a><\/div>/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
var status = /data">([\S\s]+?)<\/span><\/li>/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
var since = /Since\:\s+?<\/span>([\S\s]+?)<\/li>/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
var location = /Location\:\s+<\/span>([\S\s]+?)<\/li>/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
this.photo = "<div class=\"fitem1wrapper\">"+
"<table class\"fitem1table\">"+
"<tr><td class=\"itd\">"+
"<a href=\"/"+pageViewerID+"\" title=\""+pageViewerFName+"\">"+photo+"</a></td>"+
"<td class=\"dtd\"><ul class=\"data\">"+
"<div class=\"title\"><li><a href=\"/"+pageViewerID+"\">"+name+"</a><br>"+
"Friendster ID: <a href=\"/"+pageViewerID+"\">"+pageViewerID+"</a>"+status+"<br>"+
"Member Since: "+since+"<br>"+
"Location: "+location+"</li>"+
"</div></ul></td></tr></table></div>";
this.box("Selamat Datang "+ name,this.photo,"spawnpic",/friends/i,"above");
}
},
ajaxRequest: function(url,func,handler) {
if (handler) {
handler = ","+handler;
}else {
handler = "";
}
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if (func) {
eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+func+"(httprequest.responseText"+handler+");}}");
}
httprequest.open("GET", url, true);
httprequest.send(null);
},
box: function(head,code,id,sibling,x) {
var sbdiv = document.createElement("div");
sbdiv.className="commonbox "+id;
sbdiv.id = id;
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
sbdiv.innerHTML = head;
sbdiv.appendChild(document.createElement("div"));
sbdiv.getElementsByTagName("div")[0].id ="content_"+id;
sbdiv.getElementsByTagName("div")[0].innerHTML = code;
var sbli = document.createElement("LI");
sbli.appendChild(sbdiv);
if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli);
else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli);
else if (x == "above") {
var ul = this.getModuleByClassName(sibling)[0];
ul.parentNode.parentNode.insertBefore(sbli,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;
}
};
// MarqueeFriends
if (!attachOnLoadHandler(function() { marquee();})) window.onload = function() { marquee();};
function marquee() {
MARQUEE.init();
}
if (typeof MARQUEE == "undefined") { MARQUEE = {}; }
MARQUEE = {
content: [],
init: function() {
//friends
this.content = document.getElementById("content_2").innerHTML;
document.getElementById("content_2").innerHTML = "<marquee direction=\"up\" height=\"300\" scrollamount=\"5\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+this.content+"</marquee>";
//photos
this.content = document.getElementById("content_1").innerHTML;
document.getElementById("content_1").innerHTML = "<marquee direction=\"left\" height=\"100%' scrollamount=\"5\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+this.content+"</marquee>";
}
};
// jangan klik kanan
var msg = "Maaf Yah, Riyans Kunci ^^";
function clickIE4()
{if (event.button == 2)
{alert(msg);
return false;
}
}
function clickNS4(e)
{if (document.layers || document.getElementById && ! document.all)
{if (e.which == 2 || e.which == 3)
{alert(msg);
return false;
}
}
}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = clickNS4;
}
else if (document.all && ! document.getElementById)
{document.onmousedown = clickIE4;
}
document.oncontextmenu = new Function("alert(msg);return false");
//statusbaratas
var message = new Array()
//customize your message below
message[0] = " Selamat Datang Di Friendster Riyans@ja.dech ";
message[1] = " Have Fun Iach ("+pageViewerFName+") ";
message[2] = " ("+pageViewerFName+") Baik Deh ";
message[3] = " Jangan Lupa Komen-Nya Ya ("+pageViewerFName+") ";
message[4] = " Friendster Riyans ";
message[5] = " Makasih Atas Kunjungan Nya ";
message[6] = " Have a nice day! ";
var reps = 2;
var speed = 400;
var p=message.length;
var T="";
var C=0;
var mC=0;
var s=0;
var sT=null;
if(reps<1)reps=1;
function doTheThing(){
T=message[mC];
A();}
function A(){
s++
if(s>8){s=1}
if(s==1){document.title='[[[|||====]]] '+T+' [[[===
||]]]'}
if(s==2){document.title='[[[
||===]]] '+T+' [[[==
||=]]]'}
if(s=
){document.title='[[[=
||==]]] '+T+' [[[=
||==]]]'}
if(s==4){document.title='[[[==
||=]]] '+T+' [[[
||===]]]'}
if(s==5){document.title='[[[===
||]]] '+T+' [[[|||====]]]'}
if(s==6){document.title='[[[==
||=]]] '+T+' [[[
||===]]]'}
if(s==7){document.title='[[[=
||==]]] '+T+' [[[=
||==]]]'}
if(s==8){document.title='[[[
||===]]] '+T+' [[[==
||=]]]'}
if(C<(8*reps)){
sT=setTimeout("A()",speed);
C++
}else{
C=0;
s=0;
mC++
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();