[quote=dj_afran]
Qq
error di tracker sama comment..
gw gag ngudek dah..[/quote]
udah jadi
all
hostingin dong file di bawah
[spoiler]/* ------------------------------------------------------------------------------- */
/** --------------------------------------------------------------------------------
*** _Qq Gunners_ js
*** ------------------------------------------------------------------------------ */
//**LOADING PAGE
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://h1.ripway.com/chavia/black.jpg)";
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><center><img src='http://h1.ripway.com/chavia/spider3.gif' /><br><br><br><br><b><font face='Courier New' color='red' size='5'>Loading... Please Wait...</font></b><br><br><br><br><br></center>";
}
if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};
function loadBox() {
var ld=setTimeout("loader.hide()",4000);
}
//**Cursor TOOLTIPS CREDIT TO NOPATHZ
document.write("<body title=\"header=[WHaT's uP "+pageViewerFName+"] body=[<img src='http://h1.ripway.com/chavia/iblis.gif'><br>STay n EnJoy]\">");
//**ACCORDION TESTIMONIAL WITH TOOLTIPS CREDIT TO NOPATHZ
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/chavia/comment.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
/* ------------------------------------------------------------------------------- */
/** --------------------------------------------------------------------------------
*** CSS Injection
*** Credit to : FTalk Members
*** ------------------------------------------------------------------------------ */
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "http://qqgunners.fileave.com/css.css";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
//**ICON ATAS CREDIT TO Xavierkym
var shortc = document.createElement("link");
shortc.rel = "SHORTCUT ICON";
shortc.href = "http://h1.ripway.com/chavia/indonesianflagsmall.gif ";
document.getElementsByTagName("head")[0].appendChild(shortc);
//**Onlinenow under recent updates CREDIT TO BENKILLED
var onlinenow;
try {onlinenow = document.createElement("div");}
catch (e) {onlinenow = document.createElement("<div>");}
onlinenow.innerHTML = "<img src='http://h1.ripway.com/chavia/v67qkk.gif' border='0'><br>"+"<img src='http://presence.msg.yahoo.com/online?u=broken05_04&m=g&t=1&l=us'>";
onlinenow.setAttribute("style","text-align:center;padding-top:3px");
document.getElementById("0").getElementsByTagName("ul")[1].parentNode.appendChild(onlinenow);
//**SlideShow
var slide = "<br><embed src='http://widget-96.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='cy=fr&il=1&channel=2522015791328622998&site=widget-96.slide.com' width='450' height='120' name='flashticker' align='middle'/>";
document.getElementById('content_1').style.height='150';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slide+"</td></tr></table>";
//**PIC UTAMA
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;
}
//**Force Login
if(pageViewerID==""){
alert("Log in First PleasE");
top.location.href="http://www.friendster.com/login.php";
}
function onProfileLoad() {
//**Header with flash CREDIT TO KANALITNUK
var codeh="<center><object width='450' height='60'><param name='movie' value='http://qqgunners.fileave.com/banner.swf'><embed src='http://qqgunners.fileave.com/banner.swf' width='450' height='60'></embed></object>"+"<br>"+"<br>"+"<input type='button' value='HOME' onClick=\"top.location.href='http://www.friendster.com'\" class=\"broken\" 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=\"broken\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY PROFILE]\"><input type='button' value='MESSAGE' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"broken\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MESSAGE]\"><input type='button' value='LOG OUT' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"broken\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[LOG OUT]\"><hr></embed></div></center>";
addBox("LEFT",null,codeh,"custombox_975","0");
//Member Card CREDIT TO FTI MEMBERS
var card="<br><div align='center'><a href=\"http://theftalk.com/?r=89620\" title=\"FriendsterTalk - Friendster Forum - _Qq Gunners_\"><img alt=\"FriendsterTalk - Friendster Forum - _Qq Gunners_\" src=\"http://addons.friendstertalk.com/member89620-black.gif\" /></a></div><br>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_custombox_202'); return false\"><div title=\"header=[<img src='http://www.mysmiley.net/imgs/smile/characters/character0148.gif'> SiLahKan ClicK] body=[FTI Membercard]\"><img src='http://h1.ripway.com/chavia/id.png'></div></a>",card,"custombox_202","1");
show_hide('content_custombox_202');
//TRACKER CREDIT TO NOPATHZ
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_tracker'); return false\"><div title=\"header=[<img src='http://www.mysmiley.net/imgs/smile/characters/character0148.gif'> SiLahKan ClicK] body=[ MaKasih BuaT YanG Dah maMPiR] \"><img src='http://h1.ripway.com/chavia/visitor.png'></div></a>",TRACKER.div.innerHTML,"tracker","18");
show_hide('content_tracker');
//GRADUALFALDER CREDIT TO BOIM
boxkamufade=getElementsByClassName("commonbox");
for (i=0;i<boxkamufade.length;i++){
boxkamufade[i].className+=" gradualfader";
}
gradualFader.init()
}
//*FRIEND SCANER*//
if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "qqzq07@yahoo.co.id";
var areWeFriend = "yes";
var authCode = "";
var scanner = document.getElementById("controlPanelButtons").innerHTML;
var AFRconfirm = scanner.search(/Add as Friend/);
if (AFRconfirm > 0) {
areWeFriend = "no";
authCode = /href="[\S\s]*?authcode=([\S\s]+?)">Add as Friend/.exec(scanner)[1];
}
if(areWeFriend == "no") {
var cForm = confirm("iT Seems u`Re NoT My Friend Yet\Wanna Be My Friend?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailadd)+"&lastname=";
}
}
}
};
/*VIEWERPIC CREDIT TO FERUZZ*/
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) {
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.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").appendChild(VIEWERPIC.photo);
},
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"
* @async: 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++) {
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(/(\?|&)_=.*?(&|$)/, "$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();
}
}
};
})();
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '300px',
height: '520px',
border: '0px',
overflow: 'hidden'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://h1.ripway.com/qqzq07/WVM/tracker.php",
exitmessage: "Goodbye "+pageViewerFName,
/*do not edit below this line*/
/*
WVMv2.1
by marfillaster, copyright 2007 friendster.com/mumbhaki
credits: feruzz, renalvir(pimped), nopathz, friendstertalk.com, friendster.com
licensed under GNU General Public License, version 2
http://www.gnu.org/licenses/gpl.html
Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. Author will not be liable of ANY damage through the use of this program
*/
base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmtemp",
details: {
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
photo: /imgblock200"[\S\s]+?img src="([\S\s]+?)"/i,
gender: />([\S]*male)/i,
age: /male, ([\d]*),/i,
status: /male, [\d]*,([\S\s]*?)<\/span><\/li>/i,
location: /Location\: <\/span><a[\S\s]+?>([\S\s]+?)<\/a><\/li>/i,
seek: /In\: <\/span>([\S\s]+?)<\/li>/i,
since: /Since\: <\/span>([\S\s]+?)<\/li>/i
},
init: function() {
getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" src=\"about:blank\" style=\"display:none\"></iframe>";
var d= new Date();
var sec=invert(d.getTimezoneOffset()*60);
var hr=invert(d.getTimezoneOffset()/60);
this.timedetails="oss="+sec+"&osh="+hr;
var ifsrc=this.phplink+"?"+this.timedetails;
var atr="";
var sty="";
for (val in this.attributes) {
atr += val +"="+ this.attributes[val]+" ";
}
for (val in this.style) {
sty += val +":"+ this.style[val]+";";
}
try {this.div=document.createElement("<div>")}
catch(e){this.div=document.createElement("div")}
this.div.innerHTML="<center><iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe></center>";
if(pageViewerID!=pageOwnerID) if(pageViewerID!="")this.getDETAILS();
},
getDETAILS: function() {
processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "parseDETAILS",null);
},
sendExit: function() {
document.getElementById(this.iframeid).src=this.phplink+this.param+"&exit=1";
alert(this.exitmessage);
}
};
function parseDETAILS(htm) {
if(!htm) {
TRACKER.getDETAILS();
return;
}else {
for (val in TRACKER.details) {
try {
TRACKER.details[val]=encodeURIComponent(new RegExp(TRACKER.regexp[val]).exec(htm)[1]);
}
catch(e) {
TRACKER.details[val]="";
}
}
TRACKER.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&url="+TRACKER.details.photo.replace(/m.jpg/gi,"t.jpg")+"&gender="+TRACKER.details.gender+"&age="+TRACKER.details.age+"&status="+TRACKER.details.status+"&country="+TRACKER.details.location+"&seek="+TRACKER.details.seek+"&since="+TRACKER.details.since;
document.getElementById(TRACKER.iframeid).src=TRACKER.phplink+TRACKER.param;
}
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
VIEWERPIC.init();
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;
}
//Max Min
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';
}
}
}
/**********************************
* 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='Normal';
dvHdr.style.width='170px';
dvHdr.style.fontFamily='Courier New';
dvHdr.style.border='1px solid #FFFFFF';
dvHdr.style.padding='3';
dvHdr.style.fontSize='11';
dvHdr.style.color='#FFFFFF';
dvHdr.style.background='#FF0033';
dvHdr.style.filter='alpha(opacity=85)'; // IE
dvHdr.style.opacity='0.85'; // FF
}
function defBdyStyle() {
dvBdy.style.borderBottom='1px solid #FFFFFF';
dvBdy.style.borderLeft='1px solid #FFFFFF';
dvBdy.style.borderRight='1px solid #FFFFFF';
dvBdy.style.width='170px';
dvBdy.style.fontWeight='Normal';
dvBdy.style.fontFamily='Courier New';
dvBdy.style.fontSize='11';
dvBdy.style.padding='3';
dvBdy.style.color='#008000';
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';
}
}
//CONTROL PANEL
if (typeof CFNAMES == "undefined") { CFNAMES = {}; }
CFNAMES = {
getData: null,
sibling: null,
init: function() {
CFNAMES.getData = document.createElement("ul");
CFNAMES.getData.setAttribute("class","data");
CFNAMES.getData.innerHTML = "<li><span class=\"q\"><left>|| The Broken ||</left></span></li>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>REAL NAME : _Qq </left></span></li>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>NATION : <img src='http://h1.ripway.com/chavia/indonesianflagsmall.gif'> </left></span></li>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>STATUS : Male - jomblo </span></li></left>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>WORK : dirahasiakan </left></span></li>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>HOME : <font color='red'>FireFox </font></left></span></li>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>MEMBER SINCE : <font color='red'>lupa </font></left></span></li>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>LAST LOGIN : <font color='red'>lupa juga </font></left></span></li>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>KEHORMATAN : <img src='http://i303.photobucket.com/albums/nn130/rickfonte/Picture1.png'> </left></span></li>"+
"<li><span class=\"q\"><left> <font color='red'><blink>►►</font></blink>STAMINA : <img src='http://i303.photobucket.com/albums/nn130/rickfonte/icn_stars_4_5.jpg'> </left></span></li>";
CFNAMES.sibling = CFNAMES.getElementsByClassName(document.getElementById("content_0"),"ul","data")[0];
CFNAMES.sibling.parentNode.replaceChild(CFNAMES.getData,CFNAMES.sibling);
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var i=0,j=els.length;i<j;i++) {
if (new RegExp(sClass).test(els[i].className))elm.push(els[i]);
}
return elm;
}
};CFNAMES.init();
/*
Animated Window Opener Script (updated 00/04/24)-
Dynamic Drive (
www.dynamicdrive.com)
For full source code, installation instructions, 100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
function openwindow(thelocation){
temploc=thelocation
if (!(window.resizeTo&&document.all)&&!(window.resizeTo&&document.getElementById)){
window.open(thelocation)
return
}
win2=window.open("","","scrollbars")
win2.moveTo(0,0)
win2.resizeTo(100,100)
go2()
}
function go2(){
if (winheight>=screen.availHeight-3)
x=0
win2.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win2.location=temploc
winheight=100
winsize=100
x=5
return
}
setTimeout("go2()",50)
}
//CP Buttons
content_0.getElementsByTagName("td")[0].innerHTML+="<div id='myCPButtons' style='background:none;margin-top:10'>"
+"<input type='button' value='Buka aja' onclick='showButtons()' style='font-family:courier new;border:1px solid #008000;background-color:#000000;color:#ffffff;font-size:9pt'>"
+"</div>"
controlPanelButtons.style.display="none"
function showButtons(){
controlPanelButtons.style.display="block"
myCPButtons.innerHTML="<input type='button' value='Tutup Dunk' onclick='hideButtons()' style='font-family:courier new;border:1px solid #008000;background-color:#000000;color:#ffffff;font-size:9pt'>"
}
function hideButtons(){
controlPanelButtons.style.display="none"
myCPButtons.innerHTML="<input type='button' value='Buka aja' onclick='showButtons()' style='font-family:courier new;border:1px solid #008000;background-color:#000000;color:#ffffff;font-size:9pt'>"
}
/**********TITLE BAR**********/
// SET THE VARIABLES BELOW
// Set your messages below -- follow the pattern. To add
// more messages, just add more elements to the array.
var message = new Array() // leave this as is
message[0] = " "+pageViewerFName+" ";
message[1] = " wELLcomE To mY ProFiLE";
message[2] = " LEavE mE a cOmmEnT ";
message[3] = " aDD me as Your Friend ";
// Set the number of repetitions (how many times the arrow
// cycle repeats with each message).
var reps = 4
// Set the overall speed (larger number = slower action).
var speed = 75
// DO NOT EDIT BELOW THIS LINE.
// ============================
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(12);}
function A(){
s++
if(s>8){s=1}
// you can fiddle with the patterns here...
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(12)",speed);
C++
}else{
C=0;
s=0;
mC++
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();
/***** no right klik pake pesan *****/
window.onload = function(){
riteclkedmsg();
};
<!--
var riteclkmsg = 'ngapain lo klik kanan'
var riteclkmsg1 = 'ngapain lo klik kanan'
var riteclkmsg2 = 'ngapain lo klik kanan'
var riteclkmsg3 = 'ngapain lo klik kanan'
var currentrclk = Math.floor(Math.random()*5);
var timerrclk = 0;
function initShout(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
riteclkedmsgs = new initShout(5)
riteclkedmsgs[0]=riteclkmsg;
riteclkedmsgs[1]=riteclkmsg1;
riteclkedmsgs[2]=riteclkmsg2;
riteclkedmsgs[3]=riteclkmsg3;
function riteclkedmsg() {
riteclkedmsgs[currentrclk];
if (currentrclk > 3) {
currentrclk=0;
}
if (currentrclk < riteclkedmsgs.length-1) {
currentrclk++
setTimeout("riteclkedmsg()", timerrclk);
}
}
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(riteclkedmsgs[currentrclk]);
return false;
}
}
function clickNS4(e){
if (window.parent.document.layers||window.parent.document.getElementById&&!window.parent.document.all){
if (e.which==2||e.which=
){
alert(riteclkedmsgs[currentrclk]);
return false;
}
}
}
if (window.parent.document.layers){
window.parent.document.captureEvents(Event.MOUSEDOWN);
window.parent.document.onmousedown=clickNS4;
}
else if (window.parent.document.all&&!window.parent.document.getElementById){
window.parent.document.onmousedown=clickIE4;
}
window.parent.document.oncontextmenu=new Function("alert(riteclkedmsgs[currentrclk]);return false;")
// -->
/****************************************
Shake image script (onMouseover)-
Dynamic Drive (
www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit
http://dynamicdrive.com
*****************************************/
//configure shake degree (where larger # equals greater shake)
var rector=3
///////DONE EDITTING///////////
var stopit=0
var a=1
function initshake(which){
stopit=0
shake=which
shake.style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top)+rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left)+rector
}
else if (a=
){
shake.style.top=parseInt(shake.style.top)-rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a++
else
a=1
setTimeout("rattleimage()",50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}
if (!attachOnLoadHandler(function() { DRAGGABLE.init();})) window.onload = function() { DRAGGABLE.init();};
if (typeof DRAGGABLE == "undefined") { DRAGGABLE = {}; }
DRAGGABLE = {
init: function() {
var trgt;
try {
trgt = document.createElement("div");
}catch(e) {
trgt = document.createElement("<div>");
}
trgt.id = "tl";
trgt.style.position = "absolute";
trgt.style.top = "300px";
trgt.style.left = "250px";
trgt.style.zIndex = 30000;
document.getElementsByTagName("body")[0].appendChild(trgt);
var d = "<table border=\"0\" width=\"300px\" bgcolor=\"#e5e5e5\" cellspacing=\"0\" cellpadding=\"5\">"+
"<tr>"+
"<td width=\"100%\">"+
"<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" height=\"36\">"+
"<tr>"+
"<td id=\"tBar\" style=\"cursor:move\" width=\"100%\">"+
"<ilayer width=\"100%\" onSelectStart=\"return false\">"+
"<layer width=\"100%\" onMouseover=\"isHot=true;if (document.layers) DRAGGABLE.tetikusN4(tl)\" onMouseout=\"isHot=false\">"+
"<center><h2><font face=\"tahoma\" color=\"#FF0033\">Google Ads</font></h2></center>"+
"</layer>"+
"</ilayer>"+
"</td>"+
"<td style=\"cursor:hand\" valign=\"top\">"+
"<a href=\"#\" onClick=\"DRAGGABLE.hideMe();return false\"><img src=\"http://Catari.fileave.com/Contest/theme/bullet.gif\" title=\"close\"></a>"+
"</td>"+
"</tr>"+
"<tr>"+
"<td width=\"100%\" bgcolor=\"#e5e5e5\" style=\"padding:4px;border: 1px solid #b3b3b3;\" colspan=\"2\">"+"<div align='center'><iframe frameborder='0' width='300' height='250' "
+"src='http://pagead2.googlesyndication.com/pagead/ads?client=ca-friendster_btf_intl_js&dt=1209664661015&"
+"lmt=1209576384&alternate_ad_url=http://images.friendster.com/images/remnant.html&targeting=site_content&"
+"format=300x250_pas_abgnc&output=html&correlator=1209664661015&url=http://www.friendster.htm&color_bg=ffffff&"
+"color_text=b3b3b3&color_link=ff00ff&color_url=ff00ff&color_border=b3b3b3&color_line=b3b3b3&ad_type=text_image_flash&"
+"frm=0&cc=68&ga_vid=963961750795756500.1209664661&ga_sid=1209664661&ga_hid=1776963697&flash=9.0.115&u_h=768&"
+"u_w=1024&u_ah=740&u_aw=1024&u_cd=16&u_tz=420&u_his=1&u_java=true&u_nplug=8&u_nmime=21'></iframe></div>"+"</td>"+
"</tr>"+
"</table>"+
"</td>"+
"</tr>"+
"</table>";
tx = document.getElementById("tl");
tx.innerHTML = d;
var link = "";
try {
link = document.createElement("<a id=\"dl\" style=\"display: none\" href=\"#\" onclick=\"DRAGGABLE.showMe(this);return false\">");
}catch(e) {
link = document.createElement("a");
link.setAttribute("id","dl");
link.setAttribute("href","#");
link.setAttribute("style","display: none");
link.onclick = function() {
DRAGGABLE.showMe();
return false;
};
}
link.innerHTML = "Google Ads";
var q = document.getElementById("controlPanelButtons");
q.appendChild(link);
document.onmousedown = DRAGGABLE.tetikusInit;
document.onmouseup = Function("ddEnabled=false");
isHot = false;
},
hideMe: function() {
document.getElementById("dl").style.display = "";
if (document.all || !document.all && document.getElementById) kr.style.display = "none";
else if (document.layers) document.tl.visibility = "hide";
},
showMe: function() {
document.getElementById("dl").style.display = "none";
if (document.all || !document.all && document.getElementById) kr.style.display = "";
else if (document.layers) document.tl.visibility = "show";
},
tetikusInit: function(klik) {
dx = document.all ? "BODY" : "HTML";
kr = document.all ? document.all.tl : document.getElementById("tl");
dy = document.all ? event.srcElement : klik.target;
while (dy.id != "tBar" && dy.tagName != dx) {
dy = document.all ? dy.parentElement : dy.parentNode;
}
if (dy.id == "tBar") {
offsetx = document.all ? event.clientX : klik.clientX;
offsety = document.all ? event.clientY : klik.clientY;
nowX = parseInt(kr.style.left);
nowY = parseInt(kr.style.top);
ddEnabled = true;
document.onmousemove = DRAGGABLE.tetikus;
}
},
tetikus: function(klik) {
if (!ddEnabled) return;
kr.style.left = document.all ? nowX + event.clientX - offsetx : nowX + klik.clientX - offsetx;
kr.style.top = document.all ? nowY + event.clientY - offsety : nowY + klik.clientY - offsety;
return false;
},
tetikusN4: function(klik) {
if (!document.layers) return;
N4 = eval(klik);
N4.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP);
N4.onmousedown = function(posisi) {
N4.captureEvents(Event.MOUSEMOVE);
N4x = posisi.x;
N4y = posisi.y;
};
N4.onmousemove = function(posisi) {
if (isHot) {
N4.moveBy(posisi.x - N4x, posisi.y - N4y);
return false;
}
};
N4.onmouseup = function() {
N4.releaseEvents(Event.MOUSEMOVE);
};
}
};
kanal="<div id='point1' STYLE='position:absolute;visibility:visible;'><a href='http://theftalk.com/?r=89620'><img src='http://photos.friendster.com/photos/12/27/48097221/1_516312069m.jpg' width='200' height='181' alt='' border='0'></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=kanal;
flow.parentNode.insertBefore(river,flow);
var XX=20; // X position of the scrolling objects
var xstep=1;
var delay_time=60;
//Begin of the unchangable area, please do not modify this area
var YY=0;
var ch=0;
var oh=0;
var yon=0;
var ns4=document.layers?1:0
var ie=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0
if(ie){
YY=document.body.clientHeight;
point1.style.top=YY;
}
else if (ns4){
YY=window.innerHeight;
document.point1.pageY=YY;
document.point1.visibility="hidden";
}
else if (ns6){
YY=window.innerHeight
document.getElementById('point1').style.top=YY
}
function reloc1()
{
if(yon==0){YY=YY-xstep;}
else{YY=YY+xstep;}
if (ie){
ch=document.body.clientHeight;
oh=point1.offsetHeight;
}
else if (ns4){
ch=window.innerHeight;
oh=document.point1.clip.height;
}
else if (ns6){
ch=window.innerHeight
oh=document.getElementById("point1").offsetHeight
}
if(YY<0){yon=1;YY=0;}
if(YY>=(ch-oh)){yon=0;YY=(ch-oh);}
if(ie){
point1.style.left=XX;
point1.style.top=YY+document.body.scrollTop;
}
else if (ns4){
document.point1.pageX=XX;
document.point1.pageY=YY+window.pageYOffset;
}
else if (ns6){
document.getElementById("point1").style.left=XX
document.getElementById("point1").style.top=YY+window.pageYOffset
}
}
function onad()
{
if(ns4)
document.point1.visibility="visible";
loopfunc();
}
function loopfunc()
{
reloc1();
setTimeout('loopfunc()',delay_time);
}
if (ie||ns4||ns6)
window.onload=onad
//FLOATING FTI
dude="<div id='divStayTopLeft' style='position:absolute;z-index:10;'><br><iframe frameborder='0' width='200' height='225' src='http://theftalk.com/f30-Indonesia.html'></iframe><br></div>";
flow=document.getElementById('flo_wrapper');
river=document.createElement("div");
river.innerHTML=dude;
flow.parentNode.insertBefore(river,flow);
var verticalpos="fromtop"
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();
//GRADUALFADER
//Gradual Elements Fader- By Dynamic Drive at
http://www.dynamicdrive.com
//Last updated: Nov 8th, 07'
var gradualFader={}
gradualFader.baseopacity=0.0 //set base opacity when mouse isn't over element (decimal below 1)
gradualFader.increment=0.1 //amount of opacity to increase after each iteration (suggestion: 0.1 or 0.2)
document.write('<style type="text/css">\n') //write out CSS to enable opacity on "gradualfader" class
document.write('.gradualfader{filter:progid:DXImageTransform.Microsoft.alpha(opacity='+gradualFader.baseopacity*100+'); -moz-opacity:'+gradualFader.baseopacity+'; opacity:'+gradualFader.baseopacity+';}\n')
document.write('</style>')
gradualFader.setopacity=function(obj, value){ //Sets the opacity of targetobject based on the passed in value setting (0 to 1 and in between)
var targetobject=obj
if (targetobject && targetobject.filters && targetobject.filters[0]){ //IE syntax
if (typeof targetobject.filters[0].opacity=="number") //IE6
targetobject.filters[0].opacity=value*100
else //IE 5.5
targetobject.style.filter="alpha(opacity="+value*100+")"
}
else if (targetobject && typeof targetobject.style.MozOpacity!="undefined") //Old Mozilla syntax
targetobject.style.MozOpacity=value
else if (targetobject && typeof targetobject.style.opacity!="undefined") //Standard opacity syntax
targetobject.style.opacity=value
targetobject.currentopacity=value
}
gradualFader.fadeupdown=function(obj, direction){
var targetobject=obj
var fadeamount=(direction=="fadeup")? this.increment : -this.increment
if (targetobject && (direction=="fadeup" && targetobject.currentopacity<1 || direction=="fadedown" && targetobject.currentopacity>this.baseopacity)){
this.setopacity(obj, targetobject.currentopacity+fadeamount)
window["opacityfader"+obj._fadeorder]=setTimeout(function(){gradualFader.fadeupdown(obj, direction)}, 50)
}
}
gradualFader.clearTimer=function(obj){
if (typeof window["opacityfader"+obj._fadeorder]!="undefined")
clearTimeout(window["opacityfader"+obj._fadeorder])
}
gradualFader.isContained=function(m, e){
var e=window.event || e
var c=e.relatedTarget || ((e.type=="mouseover")? e.fromElement : e.toElement)
while (c && c!=m)try {c=c.parentNode} catch(e){c=m}
if (c==m)
return true
else
return false
}
gradualFader.fadeinterface=function(obj, e, direction){
if (!this.isContained(obj, e)){
gradualFader.clearTimer(obj)
gradualFader.fadeupdown(obj, direction)
}
}
gradualFader.collectElementbyClass=function(classname){ //Returns an array containing DIVs with specified classname
var classnameRE=new RegExp("(^|\\s+)"+classname+"($|\\s+)", "i") //regular expression to screen for classname within element
var pieces=[]
var alltags=document.all? document.all : document.getElementsByTagName("*")
for (var i=0; i<alltags.length; i++){
if (typeof alltags[i].className=="string" && alltags[i].className.search(classnameRE)!=-1)
pieces[pieces.length]=alltags[i]
}
return pieces
}
gradualFader.init=function(){
var targetobjects=this.collectElementbyClass("gradualfader")
for (var i=0; i<targetobjects.length; i++){
targetobjects[i]._fadeorder=i
this.setopacity(targetobjects[i], this.baseopacity)
targetobjects[i].onmouseover=function(e){gradualFader.fadeinterface(this, e, "fadeup")}
targetobjects[i].onmouseout=function(e){gradualFader.fadeinterface(this, e, "fadedown")}
}
}
//GETELEMENBYCLASS
function getElementsByClassName(strClass, strTag, objContElm) {
strTag = strTag || "*";
objContElm = objContElm || document;
var objColl = objContElm.getElementsByTagName(strTag);
if (!objColl.length && strTag == "*" && objContElm.all) objColl = objContElm.all;
var arr = new Array();
var delim = strClass.indexOf('|') != -1 ? '|' : ' ';
var arrClass = strClass.split(delim);
for (var i = 0, j = objColl.length; i < j; i++) {
var arrObjClass = objColl[i].className.split(' ');
if (delim == ' ' && arrClass.length > arrObjClass.length) continue;
var c = 0;
comparisonLoop:
for (var k = 0, l = arrObjClass.length; k < l; k++) {
for (var m = 0, n = arrClass.length; m < n; m++) {
if (arrClass[m] == arrObjClass[k]) c++;
if (( delim == '|' && c == 1) || (delim == ' ' && c == arrClass.length)) {
arr.push(objColl[i]);
break comparisonLoop;
}
}
}
}
return arr;
}
//CONTROLPANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div title=\"header=[<img src='http://www.mysmiley.net/imgs/smile/characters/character0148.gif'> SiLahKan ClicK] body=[<img src='http://www.mysmiley.net/imgs/smile/party/party0048.gif'>iNiLah aKu ] \"><img src='http://h1.ripway.com/chavia/thebroken.png'></div></a>";
show_hide('content_0');
//Photo_galery
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div title=\"header=[<img src='http://www.mysmiley.net/imgs/smile/characters/character0148.gif'> SiLahKan ClicK] body=[ Gambar2nYa BrokEn] \"><img src='http://h1.ripway.com/chavia/photo.png'></div></a>";
show_hide('content_1');
//About me
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div title=\"header=[<img src='http://www.mysmiley.net/imgs/smile/characters/character0148.gif'>SiLahKan ClicK] body=[ SiLahKan Baca ndiRi ] \"><img src='http://h1.ripway.com/chavia/me.png'></div></a>";
show_hide('content_6');
//PUBLICCOMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div title=\"header=[<img src='http://www.mysmiley.net/imgs/smile/characters/character0148.gif'> SiLahKan ClicK] body=[My CommEnT] \"><img src='http://h1.ripway.com/chavia/comment.png'></div></a>";
show_hide('content_18');[/spoiler]
smua host, fileave, ripway gw error