//Centered Layout document.getElementById("shimrow").setAttribute("style","display:none"); getElementByClassName("rtd")[0].setAttribute("style","display:none"); getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML; get_nextsibling(getElementByClassName("ltd")[0]).setAttribute("style","display:none"); function get_nextsibling(n) { x=n.nextSibling; while (x.nodeType!=1) { x=x.nextSibling; } return x; } function getElementByClassName(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j") //welcome messege document.title="Met liAt-LiaT pRofiLeq "+pageViewerFName+"!" alert("Assalamu'alaykum !!!"); alert("Kamu "+pageViewerFName+" ya :-)"); alert("Mo liAt2 pRoFiLeku doANk or Mo aDd aKu oR mo kAsiH coMmeNt niCh ???"); alert("Ya uDah deCh teRserAh "+pageViewerFName+" mo nGapAin"); alert("jAngaN luPa kAsiH coMmeNt yA !!!"); //goodbye messege function goodbye(){ alert('Ups...Mo kemana '+parent.pageViewerFName+' ??? Buru2 amat???'); alert('Ya udah...Jangan boSen maMpiR ya'); } parent.window.UnLoadOff=goodbye; //Mematikan Fungsi Keyboard - copyright by ophan function keypressed() { alert("MaAf.KeyboArD anDa diNonAktiFkan semEntaRa deMi keAmaNan."); } document.onkeydown=keypressed; // End --> //Disable right mouse click Script //By Tyovan System //For full source code, visit http://www.dynamicdrive.com var message="Eits...mO ngApaiN niCh ?"; message2="DilaRaNg mAiNan kLik kaNan.He13x..." function clickIE4(){ if (event.button==2){ alert(message); alert(message2); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); alert(message2); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);alert(message2);return false") //teman palsu //var replaceLink = document.createElement("a"); //replaceLink.href = "http://www.friendster.com/friends/"+pageOwnerID; //replaceLink.appendChild(document.createTextNode("View All (2463)")); //var viewall = //getElementsByClassName(document.getElementById("content_2"),"div","viewall")[0].getElementsByTagName("a")[0]; //if exist //if (viewall !== null) { // viewall.parentNode.replaceChild(replaceLink,viewall); //} //function getElementsByClassName(oElm,sTag,sClass) { // var elm = []; // if (!oElm)oElm = document; // if (!sTag)sTag = "*"; // var els = oElm.getElementsByTagName(sTag) || document.all; // for (var j=0,k=els.length;j((.|\s)+?)((.|\s)+?)<\/a><\/div>/, status: /data">((.|\s)+?)<\/span><\/li>/, since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/, location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/ }, content: { id: "viewerphoto", sibling: "15" }, init: function() { this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1"); }, openForm: function() { this.viewerphoto = "
"+ ""+ ""+ "" + ""+ ""+ "
" + this.info.photo + ""+ ""+ ""+ "
"+ "
"; this.addContent("My BeSt PreNd - "+this.info.name,this.viewerphoto,this.content.id,this.content.sibling); }, ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) { eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');"); eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}"); eval(xmlHttp + ".open('GET','" + base_domain + "',true);"); eval(xmlHttp + ".send(null);"); }, addContent: function(header,cont,id,sibling) { var box = document.getElementById(sibling).parentNode; try { var obj = document.createElement("LI"); }catch(e) { var obj = document.createElement("
  • "); } obj.innerHTML = "
    "+ "

    "+header+"

    "+ "
    "+cont+"
    "+ "
    "; box.parentNode.insertBefore(obj,box); } }; //Menyembunyikan source code var isie=0; if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) { isie=1; } else { isie=0; } if(isie){ var preloadit=new Image() preloadit.src=imagepath } function pop() { if(isie) { x=x+dx;y=y+dy; oPopup.show(x, y, imagewidth, imageheight); if(x+imagewidth+5>screen.width) dx=-dx; if(y+imageheight+5>screen.height) dy=-dy; if(x<0) dx=-dx; if(y<0) dy=-dy; startani=setTimeout("pop();",50); } } function dismisspopup(){ clearTimeout(startani) oPopup.hide() } function dowhat(){ if (imageclick=="dismiss") dismisspopup() else window.location=imageclick } if(isie) { var x=0,y=0,dx=speed,dy=speed; var oPopup = window.createPopup(); var oPopupBody = oPopup.document.body; oPopupBody.style.cursor="hand" oPopupBody.innerHTML = ''; oPopup.document.body.onmouseover=new Function("clearTimeout(startani)") oPopup.document.body.onmouseout=pop oPopup.document.body.onclick=dowhat pop(); if (hideafter>0) setTimeout("dismisspopup()",hideafter*1000) } //Efek Daun berguguran grphcs=new Array(6) Image0=new Image(); Image0.src=grphcs[0]="http://h1.ripway.com/agoezi/al.gif"; Image1=new Image(); Image1.src=grphcs[1]="http://h1.ripway.com/agoezi/bl.gif" Image2=new Image(); Image2.src=grphcs[2]="http://h1.ripway.com/agoezi/cl.gif" Image3=new Image(); Image3.src=grphcs[3]="http://h1.ripway.com/agoezi/dl.gif" Image4=new Image(); Image4.src=grphcs[4]="http://h1.ripway.com/agoezi/el.gif" Image5=new Image(); Image5.src=grphcs[5]="http://h1.ripway.com/agoezi/fl.gif" Amount=8; //Smoothness depends on image file size, the smaller the size the more you can use! Ypos=new Array(); Xpos=new Array(); Speed=new Array(); Step=new Array(); Cstep=new Array(); ns=(document.layers)?1:0; ns6=(document.getElementById&&!document.all)?1:0; if (ns){ for (i = 0; i < Amount; i++){ var P=Math.floor(Math.random()*grphcs.length); rndPic=grphcs[P]; document.write(""); } } else{ document.write('
    '); for (i = 0; i < Amount; i++){ var P=Math.floor(Math.random()*grphcs.length); rndPic=grphcs[P]; document.write(''); } document.write('
    '); } WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight; WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth; for (i=0; i < Amount; i++){ Ypos[i] = Math.round(Math.random()*WinHeight); Xpos[i] = Math.round(Math.random()*WinWidth); Speed[i]= Math.random()*5+3; Cstep[i]=0; Step[i]=Math.random()*0.1+0.05; } function fall(){ var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight; var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth; var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop; var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft; for (i=0; i < Amount; i++){ sy = Speed[i]*Math.sin(90*Math.PI/180); sx = Speed[i]*Math.cos(Cstep[i]); Ypos[i]+=sy; Xpos[i]+=sx; if (Ypos[i] > WinHeight){ Ypos[i]=-60; Xpos[i]=Math.round(Math.random()*WinWidth); Speed[i]=Math.random()*5+3; } if (ns){ document.layers['sn'+i].left=Xpos[i]; document.layers['sn'+i].top=Ypos[i]+hscrll; } else if (ns6){ document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]); document.getElementById("si"+i).style.top=Ypos[i]+hscrll; } else{ eval("document.all.si"+i).style.left=Xpos[i]; eval("document.all.si"+i).style.top=Ypos[i]+hscrll; } Cstep[i]+=Step[i]; } setTimeout('fall()',20); } window.onload=fall //-->