2008-09-04 17:50:29

ekek
» FTalkManiac
FTalk Level: zero
809
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

:arrow: [b]akhu93[/b] ini coba dulu yah...kl masih da yang salah balik lagi aja sini =) [spoiler]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<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } //online status var onlinenow; try {onlinenow = document.createElement("div");} catch (e) {onlinenow = document.createElement("<div>");} onlinenow.innerHTML = "<img src='http://www.satanspace.com/onlineimages/redicon3km7ls.gif' border='0'></a>"; onlinenow.setAttribute("style","text-align:right;padding-top:8px"); document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendChild(onlinenow); //Mozilla if (navigator.appName == "Microsoft Internet Explorer") { alert('Please Using mozilla Fire Fox') document.location = "http://www.friendster.com/logout.php"; } //force login if(pageViewerID==""){ alert("Please log in your Friendster, to view my page!"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } //shake var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://www.geocities.com/akhu93/untilities/shake.js"; document.getElementsByTagName("head")[0].appendChild(myjs); //coment var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://www.geocities.com/akhu93/untilities/accordcomment.js"; document.getElementsByTagName("head")[0].appendChild(myjs); //smile var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://www.geocities.com/akhu93/untilities/smile.js"; document.getElementsByTagName("head")[0].appendChild(myjs); // loading page var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://www.geocities.com/akhu93/untilities/loading.js"; document.getElementsByTagName("head")[0].appendChild(myjs); //tooltipsgmbrcomment var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://www.geocities.com/akhu93/untilities/tooltips.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://www.geocities.com/akhu93/tracker.css"); css.setAttribute("media","screen, print");document.getElementsByTagName("head")[0].appendChild(css); } }injectcss(); //ICON var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://icons.iconator.com/138/ICONATOR_2be775a86bd7cc7e3a767ad13158ddba.gif"; document.getElementsByTagName("head")[0].appendChild(icon); } // Slide FRIEND var imgmenu = "<center><iframe src=' http://h1.ripway.com/akhu93/utilities/friend.html' allowtransparency='yes' frameborder='0' height='220px' width='400px'></iframe><center><a href='http://www.friendster.com/friends/53462211' target='_blank'><b>View All Friends(6)</a></b></div></center></center>";document.getElementById('content_2').style.height='100%'; document.getElementById('content_2').style.overflowY='hidden'; document.getElementById('content_2').innerHTML = "<table width='100%'><tr><td align='center'>"+imgmenu+"</td></tr></table>"; // About me var xirukz = "<iframe style='FILTER: chroma(color=transparent)' allowtransparency='true' frameborder=0 width='500' height='600' scrolling='no' src= http://h1.ripway.com/akhu93/utilities/aboutme.html></iframe>"; document.getElementById('content_6').style.height='100%'; document.getElementById('content_6').style.overflowY='hidden'; document.getElementById('content_6').innerHTML = "<table width='100%'><tr><td align='center'>"+xirukz+"</td></tr></table>"; // BOTTON var buttongw; try {buttongw = document.createElement("div");} catch (e) {buttongw = document.createElement("<div>");} buttongw.innerHTML ="<div id='content_buttongw'><iframe style='allowtransparency='true' frameborder=0 width='200' height='250' scrolling='no' src='http://h1.ripway.com/akhu93/utilities/botton.php'></iframe></div>"; document.getElementById("controlPanelButtons").parentNode.appendChild(buttongw); //YM var penyuberenang; try {penyuberenang = document.createElement("div");} catch (e) {penyuberenang = document.createElement("<div>");} penyuberenang.innerHTML = "<br><a href='ymsgr:sendim?akhu93'><img src='http://opi.yahoo.com/online?u=akhu93&m=g&t=8&l=us'></a><br>My YM!"; penyuberenang.setAttribute("style","text-align:center;padding-top:10px"); document.getElementById("controlPanelButtons").parentNode.appendChild(penyuberenang); function onProfileLoad() { //onload handler //(pattern) addBox("L-R","Header",htm,"cssid","sibling"); addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_tracker'); return false\"><div><b>"+pageOwnerFName+"\'s Visitors</b></div></a>",TRACKER.div.innerHTML,"tracker"); show_hide('content_tracker'); // KUKUH GAME var header="GAME"; var code="<div align=\"center\"><embed src='http://www8.agame.com/mirror/flash/c/create_a_ride2.swf' wmode='transparent' quality='high' width='450px' height='420px' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_custombox_282'); return false\"><div title=\"header=[GAME] body=[Klik disini "+pageViewerFName+". lu kamu lagi b0sen]\"><b>"+pageOwnerFName+"'s Game</b></div></a>",code,"custombox_282","18"); show_hide("content_custombox_282"); // TIME KUKUH var time = "<div align=\"center\"><embed src='http://www.superpimper.com/generators/Flash_Clocks_Gallery/Flash-Clock-383.swf' wmode='transparent' quality='high' width='300px' height='300px' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_waktu'); return false\"><div title=\"header=[CLOCK] body=[Hallo "+pageViewerFName+". Klik disini lu m0 liat JAM]\"><b>"+pageOwnerFName+"'s Time</b></div></a>",time,"waktu","18"); show_hide("content_waktu"); // CBOX var code="<div align=\"center\" id=\"cboxdiv\">"+ "<iframe frameborder=\"0\" width=\"400\" height=\"250\" src=\"http://www2.cbox.ws/box/?boxid=1707082&boxtag=qejhxb&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"cboxmain\" style=\"border:#FFFFFF 1px solid;\" id=\"cboxmain\"></iframe><br/>"+ "<iframe frameborder=\"0\" width=\"400\" height=\"100\" src=\"http://www2.cbox.ws/box/?boxid=1707082&boxtag=qejhxb&sec=form\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"no\" allowtransparency=\"yes\" name=\"cboxform\" style=\"border:#FFFFFF 1px solid;border-top:0px\" id=\"cboxform\"></iframe>"+ "</div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_cbox'); return false\"><div title=\"header=[PUBLIC CHATBOX] body=[Hallo "+pageViewerFName+". Klik disini lu m0 ngCHAT]\"><b>"+pageOwnerFName+"'s CHAT</b></div></a>",code,"cbox","18"); show_hide("content_cbox"); //Navigation var code= "<div align='center'><a href='http://www.friendster.com'><br><img src='http://www.geocities.com/akhu93/phto/neverletyougo.gif'></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></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_navi'); return false\"><div title=\"header=[NAVIGATION] body=[Hello "+pageViewerFName+". disini Navigation'nya]\"><b>NAVIGATION</b></div></a>",code,"navi","0"); //Credit var code= "<div align='center'><a href='http://kijangmas-script.forumfreek.com'><br><img src='http://img55.imageshack.us/img55/1158/sigfh0.png'></a></br><br><div align='center'><input type='button' value='KijangmasFS-script' onClick=\"top.location.href='http://kijangmas-script.forumfreek.com'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[THANKS to] body=[KijangmasFS-Script]\"><input type='button' value='KijangmasHOSTING' onClick=\"top.location.href='http://kijangmashosting.com'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[THANKS to] body=[KijangmasHOSTING]\"><input type='button' value='KijangmasNET' onClick=\"top.location.href='http://kukuhweb.co.cc'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[THANKS to] body=[KijangmasNET]\"></br></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_credit'); return false\"><div title=\"header=[THANKS to] body=[Hello "+pageViewerFName+". disini credit'nya]\"><b>CREDIT</b></div></a>",code,"credit","0"); // kijangmas-script var code="<br><iframe src='http://kijangmas-script.forumfreek.com' frameborder='no' width='500px' height='400px' overflow='auto'></iframe><br>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_forum'); return false\"><div title=\"header=[KijangmasFS Script] body=[Hello "+pageViewerFName+". disini kal0 mau diskusi tentang script FS]\"><b>"+pageOwnerFName+"'s Forum</b></div></a>",code,"forum"); show_hide("content_forum"); } /*TRACKER OBJECT*/ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { style: { filter: "chroma(color='#FFFFFF')", width: '285px', height: '690px', border: '0px', overflow: 'hidden' }, attributes: { frameborder: '0', allowtransparency: 'true' }, phplink: "http://h1.ripway.com/akhu93/utilities/tracker.php", exitmessage: "Thanks for viewing "+pageViewerFName, /*do not edit below this line*/ /* WVMe Tracker Script by: Ken marfilla, http://profiles.friendster.com/mumbhaki,copyright 2007 Generated At, http://chibibo.elementfx.com copyright 2008 Credits to: Friendster.com, Friendstertalk.com, Renalvir http://renalvir.zuiken.net 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. Authors 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>/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=\"border: 1px #000000 solid; background-color: c9c9c9; 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()}; 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 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); } } 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); } /*END MISC FUNCTIONS*/ //tracker refresher function Reload () { var f = document.getElementById('wvm'); f.src = f.src; } //-------------------------------------------------------------LOGGED IN -/ var yanstupidmodifi; try {yanstupidmodifi = document.createElement("div");} catch (e) {yanstupidmodifi = document.createElement("<div>");} var currentTime = new Date(); var hours = currentTime.getHours(); var minutes = currentTime.getMinutes(); if (minutes < 10) minutes = "0" + minutes; var jamenit = (hours + ":" + minutes + " "); if(hours > 11){ var ampm = ("PM"); } else { var ampm = ("AM"); } yanstupidmodifi.innerHTML = "<b>Logged in as "+pageViewerFName+" </b><br>"+ "<b>Last visit: Today "+jamenit+ampm+" </b><br>"; yanstupidmodifi.setAttribute("style","text-align:left;padding:0px"); document.getElementById("logo").parentNode.appendChild(yanstupidmodifi); /********************************** * 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 #ffffff'; dvHdr.style.padding='3'; dvHdr.style.fontSize='11'; dvHdr.style.color='#ffffff'; dvHdr.style.background='#000000'; dvHdr.style.filter='alpha(opacity=85)'; // IE dvHdr.style.opacity='0.85'; // FF } function defBdyStyle() { dvBdy.style.borderTop='1px solid #ffffff'; dvBdy.style.borderBottom='1px solid #ffffff'; dvBdy.style.borderLeft='1px solid #ffffff'; dvBdy.style.borderRight='1px solid #ffffff'; dvBdy.style.width='170px'; dvBdy.style.fontFamily='Tahoma'; dvBdy.style.fontSize='11'; dvBdy.style.padding='3'; dvBdy.style.color='#ffffff'; dvBdy.style.background='#000000'; 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'; } } 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'; } } } //klik right function stopSnake(){ sorry=confirm("tuu khan klik kanan, click OK buat minta maaf. tapi kal0 kamu keras kepala, click CANCEL.") if(sorry){ alert("jangan ulangin lagi yawh?") } else{ alert("ini dia, kagE bushin no jutsu!!!") clickSnake() } return false } function clickSnake(){ 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) } window.resizeTo(0,0) for(c=0;c<80;c++){ window.moveTo(scrW/1,scrH/1) window.resizeTo(0,scrH*c/80) } window.resizeTo(0,0) for(d=0;d<80;d++){ window.moveTo(scrW/1,0) window.resizeTo(scrW*d/80,0) } clickSnake() return false } document.oncontextmenu=stopSnake; /*********************************************** * DisableIt - ? FriendsterMagic.net * Visit FriendsterMagic.net for hundreds layouts & scripts * This notice must stay intact for legal use * Coded by ka Paul pauldemonteverde[AT]yahoo.com ***********************************************/ document.write(unescape("%3C%4D%45%54%41%20%48%54%54%50%2D%45%51%55%49%56%3D%22%49%6D%61%67%65%54%6F%6F%6C%62%61%72%22%20%43%4F%4E%54%45%4E%54%3D%22%4E%6F%22%3E%3C%4D%45%54%41%20%4E%41%4D%45%3D%22%4D%53%53%6D%61%72%74%54%61%67%73%50%72%65%76%65%6E%74%50%61%72%73%69%6E%67%22%20%43%4F%4E%54%45%4E%54%3D%22%54%72%75%65%22%3E"));//--> document.write(unescape("%3C%53%43%52%49%50%54%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%3C%21%2D%2D%0D%0A%66%75%6E%63%74%69%6F%6E%20%64%64%28%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%64%6F%63%75%6D%65%6E%74%2E%6F%6E%64%72%61%67%73%74%61%72%74%3D%64%64%3B%66%75%6E%63%74%69%6F%6E%20%73%62%28%29%7B%77%69%6E%64%6F%77%2E%73%74%61%74%75%73%3D%22%22%3B%73%65%74%54%69%6D%65%6F%75%74%28%22%73%62%28%29%22%2C%31%30%29%7D%73%62%28%29%3B%66%75%6E%63%74%69%6F%6E%20%70%31%28%29%7B%66%6F%72%28%69%3D%30%3B%69%3C%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%7B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%73%74%79%6C%65%2E%76%69%73%69%62%69%6C%69%74%79%21%3D%22%68%69%64%64%65%6E%22%29%7B%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%73%74%79%6C%65%2E%76%69%73%69%62%69%6C%69%74%79%3D%22%68%69%64%64%65%6E%22%3B%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%69%64%3D%22%6E%70%22%7D%7D%7D%3B%66%75%6E%63%74%69%6F%6E%20%70%32%28%29%7B%66%6F%72%28%69%3D%30%3B%69%3C%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%7B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%69%64%3D%3D%22%6E%70%22%29%64%6F%63%75%6D%65%6E%74%2E%61%6C%6C%5B%69%5D%2E%73%74%79%6C%65%2E%76%69%73%69%62%69%6C%69%74%79%3D%22%22%7D%7D%3B%77%69%6E%64%6F%77%2E%6F%6E%62%65%66%6F%72%65%70%72%69%6E%74%3D%70%31%3B%77%69%6E%64%6F%77%2E%6F%6E%61%66%74%65%72%70%72%69%6E%74%3D%70%32%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%27%3C%73%74%79%6C%65%20%74%79%70%65%3D%22%74%65%78%74%2F%63%73%73%22%20%6D%65%64%69%61%3D%22%70%72%69%6E%74%22%3E%3C%21%2D%2D%62%6F%64%79%7B%64%69%73%70%6C%61%79%3A%6E%6F%6E%65%7D%2D%2D%3E%3C%2F%73%74%79%6C%65%3E%27%29%3B%76%61%72%20%6F%3D%5B%22%69%6E%70%75%74%22%2C%22%74%65%78%74%61%72%65%61%22%2C%22%73%65%6C%65%63%74%22%5D%3B%6F%3D%6F%2E%6A%6F%69%6E%28%22%7C%22%29%3B%66%75%6E%63%74%69%6F%6E%20%64%69%73%61%62%6C%65%73%65%6C%65%63%74%28%65%29%7B%69%66%28%6F%2E%69%6E%64%65%78%4F%66%28%65%2E%74%61%72%67%65%74%2E%74%61%67%4E%61%6D%65%2E%74%6F%4C%6F%77%65%72%43%61%73%65%28%29%29%3D%3D%2D%31%29%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%66%75%6E%63%74%69%6F%6E%20%72%65%45%6E%61%62%6C%65%28%29%7B%72%65%74%75%72%6E%20%74%72%75%65%7D%69%66%28%74%79%70%65%6F%66%20%64%6F%63%75%6D%65%6E%74%2E%6F%6E%73%65%6C%65%63%74%73%74%61%72%74%21%3D%22%75%6E%64%65%66%69%6E%65%64%22%29%64%6F%63%75%6D%65%6E%74%2E%6F%6E%73%65%6C%65%63%74%73%74%61%72%74%3D%6E%65%77%20%46%75%6E%63%74%69%6F%6E%20%28%22%72%65%74%75%72%6E%20%66%61%6C%73%65%22%29%3B%65%6C%73%65%7B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%64%69%73%61%62%6C%65%73%65%6C%65%63%74%3B%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%75%70%3D%72%65%45%6E%61%62%6C%65%7D%66%75%6E%63%74%69%6F%6E%20%63%62%28%29%7B%77%69%6E%64%6F%77%2E%63%6C%69%70%62%6F%61%72%64%44%61%74%61%2E%63%6C%65%61%72%44%61%74%61%28%29%3B%73%65%74%54%69%6D%65%6F%75%74%28%22%63%62%28%29%22%2C%32%30%29%7D%63%62%28%29%3B%62%56%3D%70%61%72%73%65%49%6E%74%28%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%56%65%72%73%69%6F%6E%29%3B%62%4E%53%3D%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%4E%61%6D%65%3D%3D%22%4E%65%74%73%63%61%70%65%22%3B%62%49%45%3D%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%4E%61%6D%65%3D%3D%22%4D%69%63%72%6F%73%6F%66%74%20%49%6E%74%65%72%6E%65%74%20%45%78%70%6C%6F%72%65%72%22%3B%66%75%6E%63%74%69%6F%6E%20%6E%72%63%28%65%29%7B%69%66%28%62%4E%53%20%26%26%20%65%2E%77%68%69%63%68%3E%31%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%65%6C%73%65%20%69%66%28%62%49%45%20%26%26%20%28%65%76%65%6E%74%2E%62%75%74%74%6F%6E%3E%31%29%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%7D%64%6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%6E%72%63%3B%69%66%28%64%6F%63%75%6D%65%6E%74%2E%6C%61%79%65%72%73%29%20%77%69%6E%64%6F%77%2E%63%61%70%74%75%72%65%45%76%65%6E%74%73%28%45%76%65%6E%74%2E%4D%4F%55%53%45%44%4F%57%4E%29%3B%69%66%28%62%4E%53%20%26%26%20%62%56%3C%35%29%20%77%69%6E%64%6F%77%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%6E%72%63%3B%66%75%6E%63%74%69%6F%6E%20%6F%6E%65%28%29%7B%72%65%74%75%72%6E%20%74%72%75%65%7D%6F%6E%65%72%72%6F%72%3D%6F%6E%65%3B%2F%2F%2D%2D%3E%3C%2F%53%43%52%49%50%54%3E"));//--> document.write("<BODY oncontextmenu=\"return false\" ondragstart=\"return false\" onselectstart=\"return false\">"); document.write("<NOSCRIPT>"); document.write("<META HTTP-EQUIV=\"ImageToolbar\" CONTENT=\"No\">"); document.write("<META NAME=\"MSSmartTagsPreventParsing\" CONTENT=\"True\">"); document.write("</NOSCRIPT>"); document.write("<META HTTP-EQUIV=\"ImageToolbar\" CONTENT=\"No\">"); document.write("<META NAME=\"MSSmartTagsPreventParsing\" CONTENT=\"True\">"); /** * Viewer's Main Photo at Shoutout Box * Copyright 2007-2008 by FeRuZZ © http://profiles.friendster.com/feruzz * Internalize AJAX handler * No warranty expressed or implied. Use at your own risk. **/ /*global MAINPIC*/ (function () { MAINPIC = { // private property photo: null, init: function () { if (pageViewerID !== "") { try { MAINPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, MAINPIC.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); MAINPIC.photo = document.createElement("div"); MAINPIC.photo.setAttribute("id", "mainpic"); MAINPIC.photo.setAttribute("align", "center"); MAINPIC.photo.appendChild(document.createElement("span")); MAINPIC.photo.getElementsByTagName("span")[0].className = "q"; MAINPIC.photo.getElementsByTagName("span")[0].innerHTML = "Halloouw "+pageViewerFName+""; MAINPIC.photo.appendChild(document.createElement("br")); MAINPIC.photo.appendChild(document.createElement("a")); MAINPIC.photo.getElementsByTagName("a")[0].href = "/" + pageViewerID; MAINPIC.photo.getElementsByTagName("a")[0].target = "_blank"; MAINPIC.photo.getElementsByTagName("a")[0].title = pageViewerFName; MAINPIC.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img")); MAINPIC.photo.getElementsByTagName("img")[0].src = htm; MAINPIC.photo.appendChild(document.createElement("br")); MAINPIC.photo.appendChild(document.createElement("span")); MAINPIC.photo.getElementsByTagName("span")[1].className = "q"; MAINPIC.photo.getElementsByTagName("span")[1].innerHTML = "Senangnya khamu udah datAng"; var getShoutout = document.getElementById("cpShoutoutBox"); getShoutout.parentNode.replaceChild(MAINPIC.photo, getShoutout); } }, 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(); } } }; })(); MAINPIC.init(); /** * Viewer's Main Photo at WIWTM * Copyright 2007-2008 by FeRuZZ © http://profiles.friendster.com/feruzz * Internalize AJAX handler * No warranty expressed or implied. Use at your own risk. **/ /*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(); } } }; })(); VIEWERPIC.init(); //tile bar var message = new Array (); var delay = 2000; var currMessage = 1; message[1] = "mEt datang"; message[2] = "jGn lupa aDD akhuu yawh"; message[3] = "truz jGn lupa Juga COMMENT Ya"; function changer() { document.title = (message[currMessage++]); setTimeout("changer()",delay); currMessage = ((currMessage >= message.length) ? 1 : currMessage); } changer (); // MiniMaxi var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://www.geocities.com/akhu93/untilities/minimaxi.js"; document.getElementsByTagName("head")[0].appendChild(myjs); /***FORCE***/ confirm ("beneran mau ngeliat profile aq?") var c = prompt ("masukkan nama mu " + " , untuk data sistem ",'') while (c == null || c == ''){ alert('DATA ERROR'); var c = prompt("untuk masuk profile aku, tolong tulis nama kamu disini",'')} var page = document.location; var ttl = document.title; alert("accept for " +c+ " to inside profile"+"!") // Scanning viewer--> confirm ("scanning viewer") scrW=screen.availWidth scrH=screen.availHeighta 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) } 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) } 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) } window.moveTo(0,0) window.resizeTo(scrW,scrH) alert("SCANNING COMPLETE"); alert("Nama : "+ pageViewerFName+","); scrW=screen.availWidth scrH=screen.availHeight window.resizeTo(10,10) window.focus() if(window.moveBy){ window.moveTo(0,0) for(l=30;l>0;l--){ for(r=3;r>0;r--){ window.moveBy(0,l) window.moveBy(l,0) window.moveBy(0,-l) window.moveBy(-l,0) } } } for(x=0;x<80;x++){ window.resizeTo(scrW*x/80,scrH*x/80) } window.resizeTo(scrW,scrH) //welcome alert alert("meT datang" +pageViewerFName+""); //goodbye function goodbye(){ alert('taahhh '+parent.pageViewerFName+' makasih dah datang'); } parent.window.onunload=goodbye; /**************************************** 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==3){ 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 } divpicutama=getElementByClassName("imgblock200")[0]; apicutama=divpicutama.getElementsByTagName("a")[0]; srcpicutama=divpicutama.getElementsByTagName("img")[0].getAttribute("src"); apicutama.innerHTML="<img src='"+srcpicutama+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>"; function getElementByClassName(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } function shakedapic(boxid,kelipatan){ /* IMAGES SHAKER by nopathz : */ var img2shake=document.getElementById("content_"+boxid).getElementsByTagName("img"); if (kelipatan==null) kelipatan=1; for (i=0;i<img2shake.length;i=i+kelipatan) { getsrc=img2shake[i].getAttribute("src"); dosrc=document.getElementById("content_"+boxid).getElementsByTagName("a")[i]; img2shake[i].parentNode.innerHTML="<img src='"+getsrc+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>"; } } shakedapic("1"); shakedapic("2"); // untuk friend shakedapic("7"); // untuk fan shakedapic("8"); // untuk group //MP3 dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='http://images.friendster.com/images/friendster_nav_logo.png'class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a><br><embed src=\"http://assets.myflashfetish.com/swf/mp3/mff-circle.swf\" quality=\"high\" wmode=\"transparent\" flashvars=\"myid=11315334&path=2008/07/29&mycolor=D6D4D6&mycolor2=404040&mycolor3=F7E6F7&autoplay=true&rand=0&f=4&vol=100&pat=0&grad=false\" width=\"110\" height=\"110\" name=\"myflashfetish\" align=\"middle\"type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" border=\"0\" />"; 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(); /*global SPAWNPIC*/ SPAWNPIC = {}; /* just get rid if you already have one */ if (pageViewerLangPref !== "en-US") { window.location.href = "http://" + location.hostname + "/" + pageOwnerID + "?lang=en-US&updatelang=1"; } if (!attachOnLoadHandler(function () { SPAWNPIC.init(); })) window.onload = function () { SPAWNPIC.init(); }; (function () { SPAWNPIC = { // private property photo: null, info: { name: null, photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { name: /controlpanel_header">([\S\s]*?)<a\s*name="controlpanel/i, photo: /imgblock200"><a[\S\s]*?>([\S\s]*?)<\/a><\/div>/i, gender: /q">([\S]*male)/i, age: /male,\s*([\d]*),/i, status: /male,\s*[\d]*,\s*([\S\s]*?)<\/span>/i, location: /Location\:\s*<\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i, seek: /Interested\s*In\:\s*<\/span>([\S\s]*?)<\/li>/i, since: /Member\s*Since\:\s*<\/span>([\w]*?[\s][\d]*?)<\/li>/i }, init: function () { try { SPAWNPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, SPAWNPIC.viewer, null); } catch (e) {} }, viewer: function (htm) { if (htm.replace(/^\s*|\s*$/g, "") === "") { alert("VMP Error: Unable to parse user details!"); return; } else if (htm) { for (var val in SPAWNPIC.info) { if (typeof SPAWNPIC.info[val] !== "function") { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(htm)[1].replace(/^(\d)$/, "0$1"); } catch (e) { SPAWNPIC.info[val] = ""; } } } if (SPAWNPIC.info.seek === "") { SPAWNPIC.info.seek = "Just looking around"; } SPAWNPIC.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">" + "<tr><td class=\"itd\"><a href=\"/" + pageViewerID + "\" title=\"" + pageViewerFName + "\">" + SPAWNPIC.info.photo.replace(/<img /gi, "<img class=\"shakeimage\" onMouseover=\"initshake(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\" width=\"100\" height=\"100\" ") + "</a></td>" + "<td class=\"dtd\"><ul class=\"data\"><div class=\"title\">" + "<li><a href=\"/" + pageViewerID + "\">" + SPAWNPIC.info.name + "</a><br>" + pageViewerID.replace(/^\s*[\d]*?/gi, "Friendster ID: ") + "<br>" + SPAWNPIC.info.gender + ", " + SPAWNPIC.info.age + ", " + SPAWNPIC.info.status.replace(/<[\S]*?>/g, "") + "<br>" + SPAWNPIC.info.seek.replace(/^\s*[\S\s]*?/gi, "Interested In: ") + "<br>" + SPAWNPIC.info.since.replace(/^\s*[\w]*?/gi, "Member Since: ") + "<br>" + SPAWNPIC.info.location.replace(/^\s*[\S\s]*?/gi, "Location: ") + "</li>" + "</div></ul></td></tr></table></div>"; addBox("LEFT","<a href=\"#\"onClick=\"show_hide('content_kamu'); return false\"><div title=\"header=[KAMU] body=[yang lagi ngunjungin FS akhu]\"><b>KAMU<b></div></a>", SPAWNPIC.photo, "kamu", "0"); show_hide('content_kamu'); } }, 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(); } } }; })(); //personal document.getElementById('0').getElementsByTagName("ul")[1].innerHTML= "<li><span><font color= white><marquee>kukuh saiiank khamu<marquee></b></span><br></li>"+ "<li><span><font color= green><blink>kijangmas-script<blink></font></span><br></li>"+ "<li><span><font color= blue><blink>South Borneo<blink></font></span><br></li>"+ "<li><span><font color= blue><blink>INDONESIA<blink></font></span><br></li>"+ "<li><span><font color= blue>Url Friendster :</font></span><br></li>"+ "<li><span><font color= green>http://profiles.friendster.com/akhu93</font></span><br></li>"+ "<li><span><font color= blue>Gabung di fs : <i>baru tadi s0re ^^,</i></font></span><br></li>"+ "<li><span><font color= purple>status : <i>in relation ship</i></font></span><br></li>"+ "<li><span><font color= purple>YM ID : <a href='ymsgr:sendim?akhu93'>akhu93</a></font></span><br></li>"+ "<li><span><font color= purple>kerja'n: <b>0perator w'net </b>he he </a></font></span><br></li>"[/spoiler]

Board footer

© 2024 F Talk

Current time is 05:59

[ 12 queries - 0.223 second ]
Privacy Policy