/*---------------------Radical5154---------------------*/
var nyahaha;
try {nyahaha = document.createElement("div");}
catch (e) {nyahaha = document.createElement("<div>");}
nyahaha.innerHTML = "<font color=\"#000000\">Logged in as <a href=\"http://profiles.friendster.com/"+pageViewerID+"\"><b>"+pageViewerFName+"</a></b><br>Referral: <b><a href=\"http://profiles.friendster.com/"+pageViewerID+"\">"+pageViewerID+"</a></b><br>Last Visit: <b>"+Date()+"</b><br></font>";
nyahaha.setAttribute("style","text-align:left;padding-top:4px;padding-left:10px;font-size:10px!important");
document.getElementById("mainnav").parentNode.appendChild(nyahaha);

/* ------------------------------- ICON UNDER CP DATA (KHERMINATOR) */
var nyahaha;
try {nyahaha = document.createElement("div");}
catch (e) {nyahaha = document.createElement("<div>");}
nyahaha.innerHTML = "<br><font face=\"Comic Sans MS\" size=\"2\" color=\"#666666\"><marquee style=\"border:#666666 2px SOLID\">Mungkin aq hanya laki-laki yang selalu merepotkan dirimu,dah aq berjharap dengan perpisahhan ini engkau menjadi bahagia dengan si Dia..</marquee></font>";
nyahaha.setAttribute("style","text-align:right;padding-top:10px");
document.getElementById("0") .getElementsByTagName("ul")[1] .parentNode.appendChild(nyahaha);

/* -----------------Radical5154-------------- CSS INJECTION */

var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = " http://www.stormpages.com/yadi/danu/nendo.css";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);

/* --------------------Radical5154------------------ JS INJECTION */
var java = document.createElement("script");
java.type = "text/javascript";
java.src = " http://www.stormpages.com/yadi/danu/talk.js";
document.getElementsByTagName("head")[0].appendChild(java);

/* -------------------------------------------- force login */

if(pageViewerID==""){
alert("Please log in your Friendster account to view my page!");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
//Icon
var shortc = document.createElement("link");
shortc.rel = "SHORTCUT ICON";
shortc.href = "http://i303.photobucket.com/albums/nn125/bayu5154/favicon-1.gif ";
document.getElementsByTagName("head")[0].appendChild(shortc);


/* ------------------------------------------------ onload handler */

function onProfileLoad() {














var aif="<embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.fileden.com/files/2008/4/11/1861277/dream.swf\"  menu=\"false\" quality=\"high\" width=\"270px\" height=\"300px\" name=\"index\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars=\"playList=http://www.fileden.com/files/2009/3/18/2369933/lelel.txt\" wmode=\"transparent\"/></div>";
addBox("right","Musik",aif,"Musik","2");




}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {

    style: {
        filter: "chroma(color='#000000')",
        width: '285px',
        height: '300px',
        border: '0px',
        overflow: 'hidden'
    },
    attributes: {
        frameborder: '0',
        allowtransparency: 'true'
    },
   
    phplink: "",
    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*/





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

Default "sibling_ID" Boxes for Reference (10/19/07)

LEFT                RIGHT
"0"     = controlpanel        "15"     = meettrail
"1"     = photos        "2"     = friends
"13"     = blogs            "14"     = googleads
"12"     = reviews        "7"     = fan
"6"     = moreabout        "8"    = groups
"18"     = publiccomments    null    = appends to last(without "")
"10"     = scrapbook   

*/
   
    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);
    }
}







/* ------------------------------------------------------------*/
if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();};
function mainVpic() {
    if(pageViewerID!="") SPAWNPIC.init();
}

if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
        photo: [],

        init: function() {
            this.ajaxRequest("http://"+location.hostname+"/"+pageViewerID,"SPAWNPIC.viewer",null);
        },

        viewer: function(htm) {
                if (htm.replace(/^\s*|\s*$/g,"") === null) {

                    alert("VMP Error: Unable to parse the photo!");
                    return;
                }else if (htm) {
                    var name = /controlpanel_header">([\S\s]+?)<a\s+?name="controlpanel/i.exec(htm)[1].replace(/^(\d)$/,"0$1");

                    var photo = /imgblock200"><a[\S\s]*?>([\S\s]+?)<\/a><\/div>/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
                    var status = /data">([\S\s]+?)<\/span><\/li>/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
                    var since = /Since\:\s+?<\/span>([\S\s]+?)<\/li>/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
                    var location = /Location\:\s+<\/span>([\S\s]+?)<\/li>/i.exec(htm)[1].replace(/^(\d)$/,"0$1");
                    this.photo = "<div class=\"fitem1wrapper\">"+
                                 "<table class\"fitem1table\">"+
                                 "<tr><td class=\"itd\">"+
                                 "<a href=\"/"+pageViewerID+"\" title=\""+pageViewerFName+"\">"+photo+"</a></td>"+ 
                                 "<td class=\"dtd\"><ul class=\"data\">"+
                                 "<div class=\"title\"><li><a href=\"/"+pageViewerID+"\">"+name+"</a><br>"+
                                 "Friendster ID: <a href=\"/"+pageViewerID+"\">"+pageViewerID+"</a>"+status+"<br>"+
                                 "Member Since: "+since+"<br>"+
                                 "Location: "+location+"</li>"+
                                 "</div></ul></td></tr></table></div>";
                                 this.box("uHuy "+name,this.photo,"spawnpic",/friends/i,"above");
                }
        },

        ajaxRequest: function(url,func,handler) {
                if (handler) {
                    handler = ","+handler;
                }else { 
                    handler = "";
                }
                var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
                if (func) {
                    eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+func+"(httprequest.responseText"+handler+");}}");
                }
                httprequest.open("GET", url, true);
                httprequest.send(null);
        },

        box: function(head,code,id,sibling,x) {
                var sbdiv = document.createElement("div");
                sbdiv.className="commonbox "+id;
                sbdiv.id = id;
                if (!head) head = "";
                else head = "<h2>"+head+"</h2>";  
                sbdiv.innerHTML = head;
                sbdiv.appendChild(document.createElement("div"));
                sbdiv.getElementsByTagName("div")[0].id ="content_"+id;
                sbdiv.getElementsByTagName("div")[0].innerHTML = code;
                var sbli = document.createElement("LI");
                sbli.appendChild(sbdiv); 
                if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli);
                else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli);
                else if (x == "above") {
                        var ul = this.getModuleByClassName(sibling)[0];
                        ul.parentNode.parentNode.insertBefore(sbli,ul.parentNode);
                }
        },

        getModuleByClassName: function(sClass) {
                var elm = [];
                var els = document.getElementsByTagName("*") || document.all;
                for (var j=0,k=els.length;j<k;j++) {
                        if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
                }
                return elm;
        }
};

 // ROAMING WINDOW EXPANDER

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)

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)


//MARQUEE TITLE BAR
function tb8_makeArray(n){
this.length=n;
return this.length;
}
tb8_messages=new tb8_makeArray(1);
tb8_messages[0]="Panglima";
tb8_rptType="infinite";
tb8_rptNbr=5;
tb8_speed=70;
tb8_delay=2000;
var tb8_counter=1;
var tb8_currMsg=0;
var tb8_tekst="";
var tb8_i=0;
var tb8_TID=null;
function tb8_pisi(){
tb8_tekst=tb8_tekst+tb8_messages[tb8_currMsg].substring(tb8_i,tb8_i+1);
document.title=tb8_tekst;
tb8_sp=tb8_speed;
tb8_i++;
if(tb8_i==tb8_messages[tb8_currMsg].length){
tb8_currMsg++;
tb8_i=0;
tb8_tekst="";
tb8_sp=tb8_delay;
}
if(tb8_currMsg==tb8_messages.length){
if((tb8_rptType=="finite")&&(tb8_counter==tb8_rptNbr)){
clearTimeout(tb8_TID);
return;
}
tb8_counter++;
tb8_currMsg=0;
}
tb8_TID=setTimeout("tb8_pisi()",tb8_sp);
}
tb8_pisi();


/* FLOATING OBJECT (SHAKIRO214) ----------------------------- */

dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><div id='mainpic'></div></div>";

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();


eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(J(){7(1e.19)L w=1e.19;L E=1e.19=J(a,b){K 1D E.2m.4Y(a,b)};7(1e.$)L D=1e.$;1e.$=E;L u=/^[^<]*(<(.|\\s)+>)[^>]*$|^#(\\w+)$/;L G=/^.[^:#\\[\\.]*$/;E.1i=E.2m={4Y:J(d,b){d=d||T;7(d.15){6[0]=d;6.M=1;K 6}N 7(1v d=="25"){L c=u.39(d);7(c&&(c[1]||!b)){7(c[1])d=E.5c([c[1]],b);N{L a=T.5N(c[3]);7(a)7(a.2s!=c[3])K E().2r(d);N{6[0]=a;6.M=1;K 6}N d=[]}}N K 1D E(b).2r(d)}N 7(E.1q(d))K 1D E(T)[E.1i.21?"21":"43"](d);K 6.6G(d.1n==1N&&d||(d.5j||d.M&&d!=1e&&!d.15&&d[0]!=10&&d[0].15)&&E.2H(d)||[d])},5j:"1.2.2",82:J(){K 6.M},M:0,22:J(a){K a==10?E.2H(6):6[a]},2E:J(b){L a=E(b);a.56=6;K a},6G:J(a){6.M=0;1N.2m.1h.1j(6,a);K 6},V:J(a,b){K E.V(6,a,b)},5E:J(b){L a=-1;6.V(J(i){7(6==b)a=i});K a},1K:J(c,a,b){L d=c;7(c.1n==4d)7(a==10)K 6.M&&E[b||"1K"](6[0],c)||10;N{d={};d[c]=a}K 6.V(J(i){P(c 1r d)E.1K(b?6.Y:6,c,E.1l(6,d[c],b,i,c))})},1m:J(b,a){7((b==\'29\'||b==\'1P\')&&2M(a)<0)a=10;K 6.1K(b,a,"2q")},1t:J(b){7(1v b!="4D"&&b!=W)K 6.4B().3t((6[0]&&6[0].2u||T).5v(b));L a="";E.V(b||6,J(){E.V(6.3p,J(){7(6.15!=8)a+=6.15!=1?6.6M:E.1i.1t([6])})});K a},5r:J(b){7(6[0])E(b,6[0].2u).5J().3n(6[0]).2a(J(){L a=6;2e(a.1B)a=a.1B;K a}).3t(6);K 6},8t:J(a){K 6.V(J(){E(6).6C().5r(a)})},8m:J(a){K 6.V(J(){E(6).5r(a)})},3t:J(){K 6.3P(1a,R,S,J(a){7(6.15==1)6.3k(a)})},6s:J(){K 6.3P(1a,R,R,J(a){7(6.15==1)6.3n(a,6.1B)})},6o:J(){K 6.3P(1a,S,S,J(a){6.1b.3n(a,6)})},5a:J(){K 6.3P(1a,S,R,J(a){6.1b.3n(a,6.2J)})},3h:J(){K 6.56||E([])},2r:J(b){L c=E.2a(6,J(a){K E.2r(b,a)});K 6.2E(/[^+>] [^+>]/.17(b)||b.1g("..")>-1?E.57(c):c)},5J:J(e){L f=6.2a(J(){7(E.14.1d&&!E.3W(6)){L a=6.6c(R),5u=T.2R("1u"),4T=T.2R("1u");5u.3k(a);4T.38=5u.38;K 4T.1B}N K 6.6c(R)});L d=f.2r("*").4R().V(J(){7(6[F]!=10)6[F]=W});7(e===R)6.2r("*").4R().V(J(i){7(6.15==3)K;L c=E.Q(6,"2N");P(L a 1r c)P(L b 1r c[a])E.16.1c(d[i],a,c[a][b],c[a][b].Q)});K f},1F:J(b){K 6.2E(E.1q(b)&&E.3x(6,J(a,i){K b.1O(a,i)})||E.3d(b,6))},4I:J(b){7(b.1n==4d)7(G.17(b))K 6.2E(E.3d(b,6,R));N b=E.3d(b,6);L a=b.M&&b[b.M-1]!==10&&!b.15;K 6.1F(J(){K a?E.35(6,b)<0:6!=b})},1c:J(a){K!a?6:6.2E(E.34(6.22(),a.1n==4d?E(a).22():a.M!=10&&(!a.12||E.12(a,"3i"))?a:[a]))},3K:J(a){K a?E.3d(a,6).M>0:S},7g:J(a){K 6.3K("."+a)},5P:J(b){7(b==10){7(6.M){L c=6[0];7(E.12(c,"2y")){L e=c.44,5L=[],11=c.11,30=c.U=="2y-30";7(e<0)K W;P(L i=30?e:0,2b=30?e+1:11.M;i<2b;i++){L d=11[i];7(d.2p){b=E.14.1d&&!d.9s.1C.9o?d.1t:d.1C;7(30)K b;5L.1h(b)}}K 5L}N K(6[0].1C||"").1p(/\\r/g,"")}K 10}K 6.V(J(){7(6.15!=1)K;7(b.1n==1N&&/5w|5y/.17(6.U))6.3o=(E.35(6.1C,b)>=0||E.35(6.37,b)>=0);N 7(E.12(6,"2y")){L a=b.1n==1N?b:[b];E("90",6).V(J(){6.2p=(E.35(6.1C,a)>=0||E.35(6.1t,a)>=0)});7(!a.M)6.44=-1}N 6.1C=b})},3q:J(a){K a==10?(6.M?6[0].38:W):6.4B().3t(a)},6P:J(a){K 6.5a(a).1Y()},6N:J(i){K 6.2V(i,i+1)},2V:J(){K 6.2E(1N.2m.2V.1j(6,1a))},2a:J(b){K 6.2E(E.2a(6,J(a,i){K b.1O(a,i,a)}))},4R:J(){K 6.1c(6.56)},3P:J(g,f,h,d){L e=6.M>1,3m;K 6.V(J(){7(!3m){3m=E.5c(g,6.2u);7(h)3m.8I()}L b=6;7(f&&E.12(6,"1V")&&E.12(3m[0],"4x"))b=6.3V("1S")[0]||6.3k(6.2u.2R("1S"));L c=E([]);E.V(3m,J(){L a=e?E(6).5J(R)[0]:6;7(E.12(a,"1o")){c=c.1c(a)}N{7(a.15==1)c=c.1c(E("1o",a).1Y());d.1O(b,a)}});c.V(6D)})}};E.2m.4Y.2m=E.2m;J 6D(i,a){7(a.3R)E.3Q({1f:a.3R,3l:S,1G:"1o"});N E.5l(a.1t||a.6A||a.38||"");7(a.1b)a.1b.2X(a)}E.1s=E.1i.1s=J(){L b=1a[0]||{},i=1,M=1a.M,5i=S,11;7(b.1n==8f){5i=b;b=1a[1]||{};i=2}7(1v b!="4D"&&1v b!="J")b={};7(M==1){b=6;i=0}P(;i<M;i++)7((11=1a[i])!=W)P(L a 1r 11){7(b===11[a])6z;7(5i&&11[a]&&1v 11[a]=="4D"&&b[a]&&!11[a].15)b[a]=E.1s(b[a],11[a]);N 7(11[a]!=10)b[a]=11[a]}K b};L F="19"+(1D 3O()).3N(),6y=0,5e={};L H=/z-?5E|89-?87|1y|6q|85-?1P/i;E.1s({81:J(a){1e.$=D;7(a)1e.19=w;K E},1q:J(a){K!!a&&1v a!="25"&&!a.12&&a.1n!=1N&&/J/i.17(a+"")},3W:J(a){K a.1I&&!a.1k||a.28&&a.2u&&!a.2u.1k},5l:J(a){a=E.3f(a);7(a){L b=T.3V("6k")[0]||T.1I,1o=T.2R("1o");1o.U="1t/4l";7(E.14.1d)1o.1t=a;N 1o.3k(T.5v(a));b.3k(1o);b.2X(1o)}},12:J(b,a){K b.12&&b.12.2F()==a.2F()},1Q:{},Q:J(c,d,b){c=c==1e?5e:c;L a=c[F];7(!a)a=c[F]=++6y;7(d&&!E.1Q[a])E.1Q[a]={};7(b!=10)E.1Q[a][d]=b;K d?E.1Q[a][d]:a},3H:J(c,b){c=c==1e?5e:c;L a=c[F];7(b){7(E.1Q[a]){2T E.1Q[a][b];b="";P(b 1r E.1Q[a])1T;7(!b)E.3H(c)}}N{1R{2T c[F]}1W(e){7(c.55)c.55(F)}2T E.1Q[a]}},V:J(c,a,b){7(b){7(c.M==10){P(L d 1r c)7(a.1j(c[d],b)===S)1T}N P(L i=0,M=c.M;i<M;i++)7(a.1j(c[i],b)===S)1T}N{7(c.M==10){P(L d 1r c)7(a.1O(c[d],d,c[d])===S)1T}N P(L i=0,M=c.M,1C=c[0];i<M&&a.1O(1C,i,1C)!==S;1C=c[++i]){}}K c},1l:J(b,a,c,i,d){7(E.1q(a))a=a.1O(b,i);K a&&a.1n==53&&c=="2q"&&!H.17(d)?a+"2P":a},1w:{1c:J(c,b){E.V((b||"").2d(/\\s+/),J(i,a){7(c.15==1&&!E.1w.3E(c.1w,a))c.1w+=(c.1w?" ":"")+a})},1Y:J(c,b){7(c.15==1)c.1w=b!=10?E.3x(c.1w.2d(/\\s+/),J(a){K!E.1w.3E(b,a)}).6g(" "):""},3E:J(b,a){K E.35(a,(b.1w||b).3D().2d(/\\s+/))>-1}},6e:J(b,c,a){L e={};P(L d 1r c){e[d]=b.Y[d];b.Y[d]=c[d]}a.1O(b);P(L d 1r c)b.Y[d]=e[d]},1m:J(d,e,c){7(e=="29"||e=="1P"){L b,3S={3C:"4Z",4X:"23",18:"3u"},3r=e=="29"?["7P","7M"]:["7L","7K"];J 4S(){b=e=="29"?d.7J:d.7I;L a=0,3a=0;E.V(3r,J(){a+=2M(E.2q(d,"7H"+6,R))||0;3a+=2M(E.2q(d,"3a"+6+"62",R))||0});b-=1Z.7E(a+3a)}7(E(d).3K(":4b"))4S();N E.6e(d,3S,4S);K 1Z.2b(0,b)}K E.2q(d,e,c)},2q:J(e,k,j){L d;J 3y(b){7(!E.14.26)K S;L a=T.4a.4L(b,W);K!a||a.4K("3y")==""}7(k=="1y"&&E.14.1d){d=E.1K(e.Y,"1y");K d==""?"1":d}7(E.14.2B&&k=="18"){L c=e.Y.18;e.Y.18="3u";e.Y.18=c}7(k.1E(/4c/i))k=y;7(!j&&e.Y&&e.Y[k])d=e.Y[k];N 7(T.4a&&T.4a.4L){7(k.1E(/4c/i))k="4c";k=k.1p(/([A-Z])/g,"-$1").2w();L h=T.4a.4L(e,W);7(h&&!3y(e))d=h.4K(k);N{L f=[],2L=[];P(L a=e;a&&3y(a);a=a.1b)2L.4U(a);P(L i=0;i<2L.M;i++)7(3y(2L[i])){f[i]=2L[i].Y.18;2L[i].Y.18="3u"}d=k=="18"&&f[2L.M-1]!=W?"2D":(h&&h.4K(k))||"";P(L i=0;i<f.M;i++)7(f[i]!=W)2L[i].Y.18=f[i]}7(k=="1y"&&d=="")d="1"}N 7(e.4j){L g=k.1p(/\\-(\\w)/g,J(a,b){K b.2F()});d=e.4j[k]||e.4j[g];7(!/^\\d+(2P)?$/i.17(d)&&/^\\d/.17(d)){L l=e.Y.2c,3A=e.3A.2c;e.3A.2c=e.4j.2c;e.Y.2c=d||0;d=e.Y.7l+"2P";e.Y.2c=l;e.3A.2c=3A}}K d},5c:J(l,h){L k=[];h=h||T;7(1v h.2R==\'10\')h=h.2u||h[0]&&h[0].2u||T;E.V(l,J(i,d){7(!d)K;7(d.1n==53)d=d.3D();7(1v d=="25"){d=d.1p(/(<(\\w+)[^>]*?)\\/>/g,J(b,a,c){K c.1E(/^(7k|7h|5Q|7f|48|5O|a3|3v|9Y|9W|9T)$/i)?b:a+"></"+c+">"});L f=E.3f(d).2w(),1u=h.2R("1u");L e=!f.1g("<9R")&&[1,"<2y 78=\'78\'>","</2y>"]||!f.1g("<9O")&&[1,"<77>","</77>"]||f.1E(/^<(9K|1S|9I|9F|9A)/)&&[1,"<1V>","</1V>"]||!f.1g("<4x")&&[2,"<1V><1S>","</1S></1V>"]||(!f.1g("<9y")||!f.1g("<9v"))&&[3,"<1V><1S><4x>","</4x></1S></1V>"]||!f.1g("<5Q")&&[2,"<1V><1S></1S><76>","</76></1V>"]||E.14.1d&&[1,"1u<1u>","</1u>"]||[0,"",""];1u.38=e[1]+d+e[2];2e(e[0]--)1u=1u.5D;7(E.14.1d){L g=!f.1g("<1V")&&f.1g("<1S")<0?1u.1B&&1u.1B.3p:e[1]=="<1V>"&&f.1g("<1S")<0?1u.3p:[];P(L j=g.M-1;j>=0;--j)7(E.12(g[j],"1S")&&!g[j].3p.M)g[j].1b.2X(g[j]);7(/^\\s/.17(d))1u.3n(h.5v(d.1E(/^\\s*/)[0]),1u.1B)}d=E.2H(1u.3p)}7(d.M===0&&(!E.12(d,"3i")&&!E.12(d,"2y")))K;7(d[0]==10||E.12(d,"3i")||d.11)k.1h(d);N k=E.34(k,d)});K k},1K:J(d,e,c){7(!d||d.15==3||d.15==8)K 10;L f=E.3W(d)?{}:E.3S;7(e=="2p"&&E.14.26)d.1b.44;7(f[e]){7(c!=10)d[f[e]]=c;K d[f[e]]}N 7(E.14.1d&&e=="Y")K E.1K(d.Y,"9r",c);N 7(c==10&&E.14.1d&&E.12(d,"3i")&&(e=="9q"||e=="9p"))K d.9n(e).6M;N 7(d.28){7(c!=10){7(e=="U"&&E.12(d,"48")&&d.1b)6Z"U 9i 9g\'t 9b 9a";d.99(e,""+c)}7(E.14.1d&&/6T|3R/.17(e)&&!E.3W(d))K d.4z(e,2);K d.4z(e)}N{7(e=="1y"&&E.14.1d){7(c!=10){d.6q=1;d.1F=(d.1F||"").1p(/6W\\([^)]*\\)/,"")+(2M(c).3D()=="93"?"":"6W(1y="+c*6S+")")}K d.1F&&d.1F.1g("1y=")>=0?(2M(d.1F.1E(/1y=([^)]*)/)[1])/6S).3D():""}e=e.1p(/-([a-z])/92,J(a,b){K b.2F()});7(c!=10)d[e]=c;K d[e]}},3f:J(a){K(a||"").1p(/^\\s+|\\s+$/g,"")},2H:J(b){L a=[];7(1v b!="91")P(L i=0,M=b.M;i<M;i++)a.1h(b[i]);N a=b.2V(0);K a},35:J(b,a){P(L i=0,M=a.M;i<M;i++)7(a[i]==b)K i;K-1},34:J(a,b){7(E.14.1d){P(L i=0;b[i];i++)7(b[i].15!=8)a.1h(b[i])}N P(L i=0;b[i];i++)a.1h(b[i]);K a},57:J(a){L c=[],2j={};1R{P(L i=0,M=a.M;i<M;i++){L b=E.Q(a[i]);7(!2j[b]){2j[b]=R;c.1h(a[i])}}}1W(e){c=a}K c},3x:J(c,a,d){7(1v a=="25")a=4A("S||J(a,i){K "+a+"}");L b=[];P(L i=0,M=c.M;i<M;i++)7(!d&&a(c[i],i)||d&&!a(c[i],i))b.1h(c[i]);K b},2a:J(d,a){L c=[];P(L i=0,M=d.M;i<M;i++){L b=a(d[i],i);7(b!==W&&b!=10){7(b.1n!=1N)b=[b];c=c.6Q(b)}}K c}});L v=8X.8V.2w();E.14={5n:(v.1E(/.+(?:8R|8Q|8P|8O)[\\/: ]([\\d.]+)/)||[])[1],26:/6L/.17(v),2B:/2B/.17(v),1d:/1d/.17(v)&&!/2B/.17(v),3X:/3X/.17(v)&&!/(8M|6L)/.17(v)};L y=E.14.1d?"6K":"6J";E.1s({8J:!E.14.1d||T.6I=="6H",3S:{"P":"8G","8E":"1w","4c":y,6J:y,6K:y,38:"38",1w:"1w",1C:"1C",2W:"2W",3o:"3o",8C:"8B",2p:"2p",8A:"8z",44:"44",6F:"6F",28:"28",12:"12"}});E.V({6E:"O.1b",8y:"19.4w(O,\'1b\')",8x:"19.31(O,2,\'2J\')",8w:"19.31(O,2,\'4v\')",8v:"19.4w(O,\'2J\')",8u:"19.4w(O,\'4v\')",8s:"19.5m(O.1b.1B,O)",8r:"19.5m(O.1B)",6C:"19.12(O,\'8q\')?O.8p||O.8o.T:19.2H(O.3p)"},J(c,d){d=4A("S||J(O){K "+d+"}");E.1i[c]=J(b){L a=E.2a(6,d);7(b&&1v b=="25")a=E.3d(b,a);K 6.2E(E.57(a))}});E.V({6B:"3t",8n:"6s",3n:"6o",8l:"5a",8k:"6P"},J(c,b){E.1i[c]=J(){L a=1a;K 6.V(J(){P(L i=0,M=a.M;i<M;i++)E(a[i])[b](6)})}});E.V({8j:J(a){E.1K(6,a,"");7(6.15==1)6.55(a)},8i:J(a){E.1w.1c(6,a)},8h:J(a){E.1w.1Y(6,a)},8g:J(a){E.1w[E.1w.3E(6,a)?"1Y":"1c"](6,a)},1Y:J(a){7(!a||E.1F(a,[6]).r.M){E("*",6).1c(6).V(J(){E.16.1Y(6);E.3H(6)});7(6.1b)6.1b.2X(6)}},4B:J(){E(">*",6).1Y();2e(6.1B)6.2X(6.1B)}},J(a,b){E.1i[a]=J(){K 6.V(b,1a)}});E.V(["8e","62"],J(i,c){L b=c.2w();E.1i[b]=J(a){K 6[0]==1e?E.14.2B&&T.1k["5h"+c]||E.14.26&&1e["8d"+c]||T.6I=="6H"&&T.1I["5h"+c]||T.1k["5h"+c]:6[0]==T?1Z.2b(1Z.2b(T.1k["5g"+c],T.1I["5g"+c]),1Z.2b(T.1k["5f"+c],T.1I["5f"+c])):a==10?(6.M?E.1m(6[0],b):W):6.1m(b,a.1n==4d?a:a+"2P")}});L C=E.14.26&&4t(E.14.5n)<8c?"(?:[\\\\w*4s-]|\\\\\\\\.)":"(?:[\\\\w\\8b-\\8a*4s-]|\\\\\\\\.)",6w=1D 4r("^>\\\\s*("+C+"+)"),6v=1D 4r("^("+C+"+)(#)("+C+"+)"),6u=1D 4r("^([#.]?)("+C+"*)");E.1s({5d:{"":"m[2]==\'*\'||19.12(a,m[2])","#":"a.4z(\'2s\')==m[2]",":":{88:"i<m[3]-0",86:"i>m[3]-0",31:"m[3]-0==i",6N:"m[3]-0==i",3j:"i==0",3M:"i==r.M-1",6r:"i%2==0",6p:"i%2","3j-4m":"a.1b.3V(\'*\')[0]==a","3M-4m":"19.31(a.1b.5D,1,\'4v\')==a","84-4m":"!19.31(a.1b.5D,2,\'4v\')",6E:"a.1B",4B:"!a.1B",83:"(a.6A||a.80||19(a).1t()||\'\').1g(m[3])>=0",4b:\'"23"!=a.U&&19.1m(a,"18")!="2D"&&19.1m(a,"4X")!="23"\',23:\'"23"==a.U||19.1m(a,"18")=="2D"||19.1m(a,"4X")=="23"\',7Y:"!a.2W",2W:"a.2W",3o:"a.3o",2p:"a.2p||19.1K(a,\'2p\')",1t:"\'1t\'==a.U",5w:"\'5w\'==a.U",5y:"\'5y\'==a.U",5b:"\'5b\'==a.U",3J:"\'3J\'==a.U",59:"\'59\'==a.U",6n:"\'6n\'==a.U",6m:"\'6m\'==a.U",2G:\'"2G"==a.U||19.12(a,"2G")\',48:"/48|2y|6l|2G/i.17(a.12)",3E:"19.2r(m[3],a).M",7X:"/h\\\\d/i.17(a.12)",7W:"19.3x(19.3I,J(1i){K a==1i.O;}).M"}},6j:[/^(\\[) *@?([\\w-]+) *([!*$^~=]*) *(\'?"?)(.*?)\\4 *\\]/,/^(:)([\\w-]+)\\("?\'?(.*?(\\(.*?\\))?[^(]*?)"?\'?\\)/,1D 4r("^([:.#]*)("+C+"+)")],3d:J(a,c,b){L d,2o=[];2e(a&&a!=d){d=a;L f=E.1F(a,c,b);a=f.t.1p(/^\\s*,\\s*/,"");2o=b?c=f.r:E.34(2o,f.r)}K 2o},2r:J(t,p){7(1v t!="25")K[t];7(p&&p.15!=1&&p.15!=9)K[];p=p||T;L d=[p],2j=[],3M,12;2e(t&&3M!=t){L r=[];3M=t;t=E.3f(t);L o=S;L g=6w;L m=g.39(t);7(m){12=m[1].2F();P(L i=0;d[i];i++)P(L c=d[i].1B;c;c=c.2J)7(c.15==1&&(12=="*"||c.12.2F()==12))r.1h(c);d=r;t=t.1p(g,"");7(t.1g(" ")==0)6z;o=R}N{g=/^([>+~])\\s*(\\w*)/i;7((m=g.39(t))!=W){r=[];L l={};12=m[2].2F();m=m[1];P(L j=0,3g=d.M;j<3g;j++){L n=m=="~"||m=="+"?d[j].2J:d[j].1B;P(;n;n=n.2J)7(n.15==1){L h=E.Q(n);7(m=="~"&&l[h])1T;7(!12||n.12.2F()==12){7(m=="~")l[h]=R;r.1h(n)}7(m=="+")1T}}d=r;t=E.3f(t.1p(g,""));o=R}}7(t&&!o){7(!t.1g(",")){7(p==d[0])d.4k();2j=E.34(2j,d);r=d=[p];t=" "+t.6i(1,t.M)}N{L k=6v;L m=k.39(t);7(m){m=[0,m[2],m[3],m[1]]}N{k=6u;m=k.39(t)}m[2]=m[2].1p(/\\\\/g,"");L f=d[d.M-1];7(m[1]=="#"&&f&&f.5N&&!E.3W(f)){L q=f.5N(m[2]);7((E.14.1d||E.14.2B)&&q&&1v q.2s=="25"&&q.2s!=m[2])q=E(\'[@2s="\'+m[2]+\'"]\',f)[0];d=r=q&&(!m[3]||E.12(q,m[3]))?[q]:[]}N{P(L i=0;d[i];i++){L a=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];7(a=="*"&&d[i].12.2w()=="4D")a="3v";r=E.34(r,d[i].3V(a))}7(m[1]==".")r=E.58(r,m[2]);7(m[1]=="#"){L e=[];P(L i=0;r[i];i++)7(r[i].4z("2s")==m[2]){e=[r[i]];1T}r=e}d=r}t=t.1p(k,"")}}7(t){L b=E.1F(t,r);d=r=b.r;t=E.3f(b.t)}}7(t)d=[];7(d&&p==d[0])d.4k();2j=E.34(2j,d);K 2j},58:J(r,m,a){m=" "+m+" ";L c=[];P(L i=0;r[i];i++){L b=(" "+r[i].1w+" ").1g(m)>=0;7(!a&&b||a&&!b)c.1h(r[i])}K c},1F:J(t,r,h){L d;2e(t&&t!=d){d=t;L p=E.6j,m;P(L i=0;p[i];i++){m=p[i].39(t);7(m){t=t.7V(m[0].M);m[2]=m[2].1p(/\\\\/g,"");1T}}7(!m)1T;7(m[1]==":"&&m[2]=="4I")r=G.17(m[3])?E.1F(m[3],r,R).r:E(r).4I(m[3]);N 7(m[1]==".")r=E.58(r,m[2],h);N 7(m[1]=="["){L g=[],U=m[3];P(L i=0,3g=r.M;i<3g;i++){L a=r[i],z=a[E.3S[m[2]]||m[2]];7(z==W||/6T|3R|2p/.17(m[2]))z=E.1K(a,m[2])||\'\';7((U==""&&!!z||U=="="&&z==m[5]||U=="!="&&z!=m[5]||U=="^="&&z&&!z.1g(m[5])||U=="$="&&z.6i(z.M-m[5].M)==m[5]||(U=="*="||U=="~=")&&z.1g(m[5])>=0)^h)g.1h(a)}r=g}N 7(m[1]==":"&&m[2]=="31-4m"){L e={},g=[],17=/(-?)(\\d*)n((?:\\+|-)?\\d*)/.39(m[3]=="6r"&&"2n"||m[3]=="6p"&&"2n+1"||!/\\D/.17(m[3])&&"7U+"+m[3]||m[3]),3j=(17[1]+(17[2]||1))-0,d=17[3]-0;P(L i=0,3g=r.M;i<3g;i++){L j=r[i],1b=j.1b,2s=E.Q(1b);7(!e[2s]){L c=1;P(L n=1b.1B;n;n=n.2J)7(n.15==1)n.4p=c++;e[2s]=R}L b=S;7(3j==0){7(j.4p==d)b=R}N 7((j.4p-d)%3j==0&&(j.4p-d)/3j>=0)b=R;7(b^h)g.1h(j)}r=g}N{L f=E.5d[m[1]];7(1v f!="25")f=E.5d[m[1]][m[2]];f=4A("S||J(a,i){K "+f+"}");r=E.3x(r,f,h)}}K{r:r,t:t}},4w:J(b,c){L d=[];L a=b[c];2e(a&&a!=T){7(a.15==1)d.1h(a);a=a[c]}K d},31:J(a,e,c,b){e=e||1;L d=0;P(;a;a=a[c])7(a.15==1&&++d==e)1T;K a},5m:J(n,a){L r=[];P(;n;n=n.2J){7(n.15==1&&(!a||n!=a))r.1h(n)}K r}});E.16={1c:J(f,i,g,e){7(f.15==3||f.15==8)K;7(E.14.1d&&f.54!=10)f=1e;7(!g.2A)g.2A=6.2A++;7(e!=10){L h=g;g=J(){K h.1j(6,1a)};g.Q=e;g.2A=h.2A}L j=E.Q(f,"2N")||E.Q(f,"2N",{}),1x=E.Q(f,"1x")||E.Q(f,"1x",J(){L a;7(1v E=="10"||E.16.52)K a;a=E.16.1x.1j(1a.3G.O,1a);K a});1x.O=f;E.V(i.2d(/\\s+/),J(c,b){L a=b.2d(".");b=a[0];g.U=a[1];L d=j[b];7(!d){d=j[b]={};7(!E.16.2l[b]||E.16.2l[b].4i.1O(f)===S){7(f.3F)f.3F(b,1x,S);N 7(f.6h)f.6h("4h"+b,1x)}}d[g.2A]=g;E.16.2g[b]=R});f=W},2A:1,2g:{},1Y:J(e,h,f){7(e.15==3||e.15==8)K;L i=E.Q(e,"2N"),2f,5E;7(i){7(h==10)P(L g 1r i)6.1Y(e,g);N{7(h.U){f=h.2k;h=h.U}E.V(h.2d(/\\s+/),J(b,a){L c=a.2d(".");a=c[0];7(i[a]){7(f)2T i[a][f.2A];N P(f 1r i[a])7(!c[1]||i[a][f].U==c[1])2T i[a][f];P(2f 1r i[a])1T;7(!2f){7(!E.16.2l[a]||E.16.2l[a].4g.1O(e)===S){7(e.6f)e.6f(a,E.Q(e,"1x"),S);N 7(e.6d)e.6d("4h"+a,E.Q(e,"1x"))}2f=W;2T i[a]}}})}P(2f 1r i)1T;7(!2f){L d=E.Q(e,"1x");7(d)d.O=W;E.3H(e,"2N");E.3H(e,"1x")}}},1U:J(f,b,c,d,g){b=E.2H(b||[]);7(!c){7(6.2g[f])E("*").1c([1e,T]).1U(f,b)}N{7(c.15==3||c.15==8)K 10;L a,2f,1i=E.1q(c[f]||W),16=!b[0]||!b[0].32;7(16)b.4U(6.51({U:f,2K:c}));b[0].U=f;7(E.1q(E.Q(c,"1x")))a=E.Q(c,"1x").1j(c,b);7(!1i&&c["4h"+f]&&c["4h"+f].1j(c,b)===S)a=S;7(16)b.4k();7(g&&E.1q(g)){2f=g.1j(c,a==W?b:b.6Q(a));7(2f!==10)a=2f}7(1i&&d!==S&&a!==S&&!(E.12(c,\'a\')&&f=="50")){6.52=R;1R{c[f]()}1W(e){}}6.52=S}K a},1x:J(c){L a;c=E.16.51(c||1e.16||{});L b=c.U.2d(".");c.U=b[0];L f=E.Q(6,"2N")&&E.Q(6,"2N")[c.U],3B=1N.2m.2V.1O(1a,1);3B.4U(c);P(L j 1r f){L d=f[j];3B[0].2k=d;3B[0].Q=d.Q;7(!b[1]||d.U==b[1]){L e=d.1j(6,3B);7(a!==S)a=e;7(e===S){c.32();c.41()}}}7(E.14.1d)c.2K=c.32=c.41=c.2k=c.Q=W;K a},51:J(c){L a=c;c=E.1s({},a);c.32=J(){7(a.32)a.32();a.7T=S};c.41=J(){7(a.41)a.41();a.7S=R};7(!c.2K)c.2K=c.7R||T;7(c.2K.15==3)c.2K=a.2K.1b;7(!c.4W&&c.4V)c.4W=c.4V==c.2K?c.7Q:c.4V;7(c.6b==W&&c.6a!=W){L b=T.1I,1k=T.1k;c.6b=c.6a+(b&&b.2i||1k&&1k.2i||0)-(b.68||0);c.7O=c.7N+(b&&b.2x||1k&&1k.2x||0)-(b.67||0)}7(!c.3r&&((c.4f||c.4f===0)?c.4f:c.66))c.3r=c.4f||c.66;7(!c.65&&c.64)c.65=c.64;7(!c.3r&&c.2G)c.3r=(c.2G&1?1:(c.2G&2?3:(c.2G&4?2:0)));K c},2l:{21:{4i:J(){5A();K},4g:J(){K}},47:{4i:J(){7(E.14.1d)K S;E(6).2z("4Q",E.16.2l.47.2k);K R},4g:J(){7(E.14.1d)K S;E(6).42("4Q",E.16.2l.47.2k);K R},2k:J(a){7(I(a,6))K R;1a[0].U="47";K E.16.1x.1j(6,1a)}},46:{4i:J(){7(E.14.1d)K S;E(6).2z("4P",E.16.2l.46.2k);K R},4g:J(){7(E.14.1d)K S;E(6).42("4P",E.16.2l.46.2k);K R},2k:J(a){7(I(a,6))K R;1a[0].U="46";K E.16.1x.1j(6,1a)}}}};E.1i.1s({2z:J(c,a,b){K c=="4O"?6.30(c,a,b):6.V(J(){E.16.1c(6,c,b||a,b&&a)})},30:J(d,b,c){K 6.V(J(){E.16.1c(6,d,J(a){E(6).42(a);K(c||b).1j(6,1a)},c&&b)})},42:J(a,b){K 6.V(J(){E.16.1Y(6,a,b)})},1U:J(c,a,b){K 6.V(J(){E.16.1U(c,a,6,R,b)})},63:J(c,a,b){7(6[0])K E.16.1U(c,a,6[0],S,b);K 10},2h:J(){L b=1a;K 6.50(J(a){6.4N=0==6.4N?1:0;a.32();K b[6.4N].1j(6,1a)||S})},7F:J(a,b){K 6.2z(\'47\',a).2z(\'46\',b)},21:J(a){5A();7(E.2Q)a.1O(T,E);N E.3w.1h(J(){K a.1O(6,E)});K 6}});E.1s({2Q:S,3w:[],21:J(){7(!E.2Q){E.2Q=R;7(E.3w){E.V(E.3w,J(){6.1j(T)});E.3w=W}E(T).63("21")}}});L x=S;J 5A(){7(x)K;x=R;7(T.3F&&!E.14.2B)T.3F("61",E.21,S);7(E.14.1d&&1e==3b)(J(){7(E.2Q)K;1R{T.1I.7D("2c")}1W(3e){3z(1a.3G,0);K}E.21()})();7(E.14.2B)T.3F("61",J(){7(E.2Q)K;P(L i=0;i<T.4M.M;i++)7(T.4M[i].2W){3z(1a.3G,0);K}E.21()},S);7(E.14.26){L a;(J(){7(E.2Q)K;7(T.3c!="60"&&T.3c!="1z"){3z(1a.3G,0);K}7(a===10)a=E("Y, 5O[7B=7A]").M;7(T.4M.M!=a){3z(1a.3G,0);K}E.21()})()}E.16.1c(1e,"43",E.21)}E.V(("7z,7y,43,7x,5g,4O,50,7w,"+"7v,7u,7C,4Q,4P,7t,2y,"+"59,7s,7r,7G,3e").2d(","),J(i,b){E.1i[b]=J(a){K a?6.2z(b,a):6.1U(b)}});L I=J(a,c){L b=a.4W;2e(b&&b!=c)1R{b=b.1b}1W(3e){b=c}K b==c};E(1e).2z("4O",J(){E("*").1c(T).42()});E.1i.1s({43:J(g,d,c){7(E.1q(g))K 6.2z("43",g);L e=g.1g(" ");7(e>=0){L i=g.2V(e,g.M);g=g.2V(0,e)}c=c||J(){};L f="4J";7(d)7(E.1q(d)){c=d;d=W}N{d=E.3v(d);f="5Z"}L h=6;E.3Q({1f:g,U:f,1G:"3q",Q:d,1z:J(a,b){7(b=="1X"||b=="5Y")h.3q(i?E("<1u/>").3t(a.4e.1p(/<1o(.|\\s)*?\\/1o>/g,"")).2r(i):a.4e);h.V(c,[a.4e,b,a])}});K 6},7q:J(){K E.3v(6.5X())},5X:J(){K 6.2a(J(){K E.12(6,"3i")?E.2H(6.7p):6}).1F(J(){K 6.37&&!6.2W&&(6.3o||/2y|6l/i.17(6.12)||/1t|23|3J/i.17(6.U))}).2a(J(i,c){L b=E(6).5P();K b==W?W:b.1n==1N?E.2a(b,J(a,i){K{37:c.37,1C:a}}):{37:c.37,1C:b}}).22()}});E.V("5W,5V,5U,69,5T,5S".2d(","),J(i,o){E.1i[o]=J(f){K 6.2z(o,f)}});L B=(1D 3O).3N();E.1s({22:J(d,b,a,c){7(E.1q(b)){a=b;b=W}K E.3Q({U:"4J",1f:d,Q:b,1X:a,1G:c})},7o:J(b,a){K E.22(b,W,a,"1o")},7n:J(c,b,a){K E.22(c,b,a,"2O")},7m:J(d,b,a,c){7(E.1q(b)){a=b;b={}}K E.3Q({U:"5Z",1f:d,Q:b,1X:a,1G:c})},7Z:J(a){E.1s(E.4H,a)},4H:{2g:R,U:"4J",2U:0,5R:"49/x-7j-3i-7i",6x:R,3l:R,Q:W,6t:W,3J:W,4n:{3L:"49/3L, 1t/3L",3q:"1t/3q",1o:"1t/4l, 49/4l",2O:"49/2O, 1t/4l",1t:"1t/7e",4o:"*/*"}},4q:{},3Q:J(s){L f,2Y=/=\\?(&|$)/g,1A,Q;s=E.1s(R,s,E.1s(R,{},E.4H,s));7(s.Q&&s.6x&&1v s.Q!="25")s.Q=E.3v(s.Q);7(s.1G=="4u"){7(s.U.2w()=="22"){7(!s.1f.1E(2Y))s.1f+=(s.1f.1E(/\\?/)?"&":"?")+(s.4u||"7d")+"=?"}N 7(!s.Q||!s.Q.1E(2Y))s.Q=(s.Q?s.Q+"&":"")+(s.4u||"7d")+"=?";s.1G="2O"}7(s.1G=="2O"&&(s.Q&&s.Q.1E(2Y)||s.1f.1E(2Y))){f="4u"+B++;7(s.Q)s.Q=(s.Q+"").1p(2Y,"="+f+"$1");s.1f=s.1f.1p(2Y,"="+f+"$1");s.1G="1o";1e[f]=J(a){Q=a;1X();1z();1e[f]=10;1R{2T 1e[f]}1W(e){}7(h)h.2X(g)}}7(s.1G=="1o"&&s.1Q==W)s.1Q=S;7(s.1Q===S&&s.U.2w()=="22"){L i=(1D 3O()).3N();L j=s.1f.1p(/(\\?|&)4s=.*?(&|$)/,"$a2="+i+"$2");s.1f=j+((j==s.1f)?(s.1f.1E(/\\?/)?"&":"?")+"4s="+i:"")}7(s.Q&&s.U.2w()=="22"){s.1f+=(s.1f.1E(/\\?/)?"&":"?")+s.Q;s.Q=W}7(s.2g&&!E.5M++)E.16.1U("5W");7((!s.1f.1g("9Z")||!s.1f.1g("//"))&&(s.1G=="1o"||s.1G=="2O")&&s.U.2w()=="22"){L h=T.3V("6k")[0];L g=T.2R("1o");g.3R=s.1f;7(s.7c)g.9X=s.7c;7(!f){L l=S;g.9V=g.9U=J(){7(!l&&(!6.3c||6.3c=="60"||6.3c=="1z")){l=R;1X();1z();h.2X(g)}}}h.3k(g);K 10}L m=S;L k=1e.7a?1D 7a("9S.9Q"):1D 79();k.9P(s.U,s.1f,s.3l,s.6t,s.3J);1R{7(s.Q)k.4G("9N-9M",s.5R);7(s.5I)k.4G("9L-5H-9J",E.4q[s.1f]||"9H, 9G 9E 9B 5G:5G:5G 9z");k.4G("X-9x-9u","79");k.4G("9t",s.1G&&s.4n[s.1G]?s.4n[s.1G]+", */*":s.4n.4o)}1W(e){}7(s.75)s.75(k);7(s.2g)E.16.1U("5S",[k,s]);L c=J(a){7(!m&&k&&(k.3c==4||a=="2U")){m=R;7(d){74(d);d=W}1A=a=="2U"&&"2U"||!E.73(k)&&"3e"||s.5I&&E.72(k,s.1f)&&"5Y"||"1X";7(1A=="1X"){1R{Q=E.71(k,s.1G)}1W(e){1A="5C"}}7(1A=="1X"){L b;1R{b=k.5B("70-5H")}1W(e){}7(s.5I&&b)E.4q[s.1f]=b;7(!f)1X()}N E.5t(s,k,1A);1z();7(s.3l)k=W}};7(s.3l){L d=54(c,13);7(s.2U>0)3z(J(){7(k){k.9m();7(!m)c("2U")}},s.2U)}1R{k.9l(s.Q)}1W(e){E.5t(s,k,W,e)}7(!s.3l)c();J 1X(){7(s.1X)s.1X(Q,1A);7(s.2g)E.16.1U("5T",[k,s])}J 1z(){7(s.1z)s.1z(k,1A);7(s.2g)E.16.1U("5U",[k,s]);7(s.2g&&!--E.5M)E.16.1U("5V")}K k},5t:J(s,a,b,e){7(s.3e)s.3e(a,b,e);7(s.2g)E.16.1U("69",[a,s,e])},5M:0,73:J(r){1R{K!r.1A&&9k.9j=="5b:"||(r.1A>=6Y&&r.1A<9h)||r.1A==6X||r.1A==9e||E.14.26&&r.1A==10}1W(e){}K S},72:J(a,c){1R{L b=a.5B("70-5H");K a.1A==6X||b==E.4q[c]||E.14.26&&a.1A==10}1W(e){}K S},71:J(r,b){L c=r.5B("9d-U");L d=b=="3L"||!b&&c&&c.1g("3L")>=0;L a=d?r.9c:r.4e;7(d&&a.1I.28=="5C")6Z"5C";7(b=="1o")E.5l(a);7(b=="2O")a=4A("("+a+")");K a},3v:J(a){L s=[];7(a.1n==1N||a.5j)E.V(a,J(){s.1h(3s(6.37)+"="+3s(6.1C))});N P(L j 1r a)7(a[j]&&a[j].1n==1N)E.V(a[j],J(){s.1h(3s(j)+"="+3s(6))});N s.1h(3s(j)+"="+3s(a[j]));K s.6g("&").1p(/%20/g,"+")}});E.1i.1s({1J:J(c,b){K c?6.27({1P:"1J",29:"1J",1y:"1J"},c,b):6.1F(":23").V(J(){6.Y.18=6.5x||"";7(E.1m(6,"18")=="2D"){L a=E("<"+6.28+" />").6B("1k");6.Y.18=a.1m("18");7(6.Y.18=="2D")6.Y.18="3u";a.1Y()}}).3h()},1H:J(b,a){K b?6.27({1P:"1H",29:"1H",1y:"1H"},b,a):6.1F(":4b").V(J(){6.5x=6.5x||E.1m(6,"18");6.Y.18="2D"}).3h()},6U:E.1i.2h,2h:J(a,b){K E.1q(a)&&E.1q(b)?6.6U(a,b):a?6.27({1P:"2h",29:"2h",1y:"2h"},a,b):6.V(J(){E(6)[E(6).3K(":23")?"1J":"1H"]()})},98:J(b,a){K 6.27({1P:"1J"},b,a)},97:J(b,a){K 6.27({1P:"1H"},b,a)},96:J(b,a){K 6.27({1P:"2h"},b,a)},95:J(b,a){K 6.27({1y:"1J"},b,a)},94:J(b,a){K 6.27({1y:"1H"},b,a)},9f:J(c,a,b){K 6.27({1y:a},c,b)},27:J(l,k,j,h){L i=E.6V(k,j,h);K 6[i.2S===S?"V":"2S"](J(){7(6.15!=1)K S;L g=E.1s({},i);L f=E(6).3K(":23"),4y=6;P(L p 1r l){7(l[p]=="1H"&&f||l[p]=="1J"&&!f)K E.1q(g.1z)&&g.1z.1j(6);7(p=="1P"||p=="29"){g.18=E.1m(6,"18");g.36=6.Y.36}}7(g.36!=W)6.Y.36="23";g.40=E.1s({},l);E.V(l,J(c,a){L e=1D E.2v(4y,g,c);7(/2h|1J|1H/.17(a))e[a=="2h"?f?"1J":"1H":a](l);N{L b=a.3D().1E(/^([+-]=)?([\\d+-.]+)(.*)$/),24=e.2o(R)||0;7(b){L d=2M(b[2]),2C=b[3]||"2P";7(2C!="2P"){4y.Y[c]=(d||1)+2C;24=((d||1)/e.2o(R))*24;4y.Y[c]=24+2C}7(b[1])d=((b[1]=="-="?-1:1)*d)+24;e.3Z(24,d,2C)}N e.3Z(24,a,"")}});K R})},2S:J(a,b){7(E.1q(a)||(a&&a.1n==1N)){b=a;a="2v"}7(!a||(1v a=="25"&&!b))K A(6[0],a);K 6.V(J(){7(b.1n==1N)A(6,a,b);N{A(6,a).1h(b);7(A(6,a).M==1)b.1j(6)}})},8Z:J(b,c){L a=E.3I;7(b)6.2S([]);6.V(J(){P(L i=a.M-1;i>=0;i--)7(a[i].O==6){7(c)a[i](R);a.6R(i,1)}});7(!c)6.5z();K 6}});L A=J(b,c,a){7(!b)K 10;c=c||"2v";L q=E.Q(b,c+"2S");7(!q||a)q=E.Q(b,c+"2S",a?E.2H(a):[]);K q};E.1i.5z=J(a){a=a||"2v";K 6.V(J(){L q=A(6,a);q.4k();7(q.M)q[0].1j(6)})};E.1s({6V:J(b,a,c){L d=b&&b.1n==8Y?b:{1z:c||!c&&a||E.1q(b)&&b,2t:b,3Y:c&&a||a&&a.1n!=8W&&a};d.2t=(d.2t&&d.2t.1n==53?d.2t:{9w:8U,8T:6Y}[d.2t])||8S;d.5o=d.1z;d.1z=J(){7(d.2S!==S)E(6).5z();7(E.1q(d.5o))d.5o.1j(6)};K d},3Y:{6O:J(p,n,b,a){K b+a*p},5F:J(p,n,b,a){K((-1Z.9C(p*1Z.9D)/2)+0.5)*a+b}},3I:[],3T:W,2v:J(b,c,a){6.11=c;6.O=b;6.1l=a;7(!c.3U)c.3U={}}});E.2v.2m={4C:J(){7(6.11.33)6.11.33.1j(6.O,[6.2I,6]);(E.2v.33[6.1l]||E.2v.33.4o)(6);7(6.1l=="1P"||6.1l=="29")6.O.Y.18="3u"},2o:J(a){7(6.O[6.1l]!=W&&6.O.Y[6.1l]==W)K 6.O[6.1l];L r=2M(E.1m(6.O,6.1l,a));K r&&r>-8N?r:2M(E.2q(6.O,6.1l))||0},3Z:J(c,b,d){6.5s=(1D 3O()).3N();6.24=c;6.3h=b;6.2C=d||6.2C||"2P";6.2I=6.24;6.4E=6.4F=0;6.4C();L e=6;J t(a){K e.33(a)}t.O=6.O;E.3I.1h(t);7(E.3T==W){E.3T=54(J(){L a=E.3I;P(L i=0;i<a.M;i++)7(!a[i]())a.6R(i--,1);7(!a.M){74(E.3T);E.3T=W}},13)}},1J:J(){6.11.3U[6.1l]=E.1K(6.O.Y,6.1l);6.11.1J=R;6.3Z(0,6.2o());7(6.1l=="29"||6.1l=="1P")6.O.Y[6.1l]="8L";E(6.O).1J()},1H:J(){6.11.3U[6.1l]=E.1K(6.O.Y,6.1l);6.11.1H=R;6.3Z(6.2o(),0)},33:J(a){L t=(1D 3O()).3N();7(a||t>6.11.2t+6.5s){6.2I=6.3h;6.4E=6.4F=1;6.4C();6.11.40[6.1l]=R;L b=R;P(L i 1r 6.11.40)7(6.11.40[i]!==R)b=S;7(b){7(6.11.18!=W){6.O.Y.36=6.11.36;6.O.Y.18=6.11.18;7(E.1m(6.O,"18")=="2D")6.O.Y.18="3u"}7(6.11.1H)6.O.Y.18="2D";7(6.11.1H||6.11.1J)P(L p 1r 6.11.40)E.1K(6.O.Y,p,6.11.3U[p])}7(b&&E.1q(6.11.1z))6.11.1z.1j(6.O);K S}N{L n=t-6.5s;6.4F=n/6.11.2t;6.4E=E.3Y[6.11.3Y||(E.3Y.5F?"5F":"6O")](6.4F,n,0,1,6.11.2t);6.2I=6.24+((6.3h-6.24)*6.4E);6.4C()}K R}};E.2v.33={2i:J(a){a.O.2i=a.2I},2x:J(a){a.O.2x=a.2I},1y:J(a){E.1K(a.O.Y,"1y",a.2I)},4o:J(a){a.O.Y[a.1l]=a.2I+a.2C}};E.1i.5f=J(){L b=0,3b=0,O=6[0],5q;7(O)8K(E.14){L d=O.1b,45=O,1M=O.1M,1L=O.2u,5p=26&&4t(5n)<8H,2Z=E.1m(O,"3C")=="2Z";7(O.7b){L c=O.7b();1c(c.2c+1Z.2b(1L.1I.2i,1L.1k.2i),c.3b+1Z.2b(1L.1I.2x,1L.1k.2x));1c(-1L.1I.68,-1L.1I.67)}N{1c(O.5k,O.5K);2e(1M){1c(1M.5k,1M.5K);7(3X&&!/^t(8F|d|h)$/i.17(1M.28)||26&&!5p)3a(1M);7(!2Z&&E.1m(1M,"3C")=="2Z")2Z=R;45=/^1k$/i.17(1M.28)?45:1M;1M=1M.1M}2e(d&&d.28&&!/^1k|3q$/i.17(d.28)){7(!/^a0|1V.*$/i.17(E.1m(d,"18")))1c(-d.2i,-d.2x);7(3X&&E.1m(d,"36")!="4b")3a(d);d=d.1b}7((5p&&(2Z||E.1m(45,"3C")=="4Z"))||(3X&&E.1m(45,"3C")!="4Z"))1c(-1L.1k.5k,-1L.1k.5K);7(2Z)1c(1Z.2b(1L.1I.2i,1L.1k.2i),1Z.2b(1L.1I.2x,1L.1k.2x))}5q={3b:3b,2c:b}}J 3a(a){1c(E.2q(a,"a1",R),E.2q(a,"8D",R))}J 1c(l,t){b+=4t(l)||0;3b+=4t(t)||0}K 5q}})();',62,624,'||||||this|if||||||||||||||||||||||||||||||||||||||function|return|var|length|else|elem|for|data|true|false|document|type|each|null||style||undefined|options|nodeName||browser|nodeType|event|test|display|jQuery|arguments|parentNode|add|msie|window|url|indexOf|push|fn|apply|body|prop|css|constructor|script|replace|isFunction|in|extend|text|div|typeof|className|handle|opacity|complete|status|firstChild|value|new|match|filter|dataType|hide|documentElement|show|attr|doc|offsetParent|Array|call|height|cache|try|tbody|break|trigger|table|catch|success|remove|Math||ready|get|hidden|start|string|safari|animate|tagName|width|map|max|left|split|while|ret|global|toggle|scrollLeft|done|handler|special|prototype||cur|selected|curCSS|find|id|duration|ownerDocument|fx|toLowerCase|scrollTop|select|bind|guid|opera|unit|none|pushStack|toUpperCase|button|makeArray|now|nextSibling|target|stack|parseFloat|events|json|px|isReady|createElement|queue|delete|timeout|slice|disabled|removeChild|jsre|fixed|one|nth|preventDefault|step|merge|inArray|overflow|name|innerHTML|exec|border|top|readyState|multiFilter|error|trim|rl|end|form|first|appendChild|async|elems|insertBefore|checked|childNodes|html|which|encodeURIComponent|append|block|param|readyList|grep|color|setTimeout|runtimeStyle|args|position|toString|has|addEventListener|callee|removeData|timers|password|is|xml|last|getTime|Date|domManip|ajax|src|props|timerId|orig|getElementsByTagName|isXMLDoc|mozilla|easing|custom|curAnim|stopPropagation|unbind|load|selectedIndex|offsetChild|mouseleave|mouseenter|input|application|defaultView|visible|float|String|responseText|charCode|teardown|on|setup|currentStyle|shift|javascript|child|accepts|_default|nodeIndex|lastModified|RegExp|_|parseInt|jsonp|previousSibling|dir|tr|self|getAttribute|eval|empty|update|object|pos|state|setRequestHeader|ajaxSettings|not|GET|getPropertyValue|getComputedStyle|styleSheets|lastToggle|unload|mouseout|mouseover|andSelf|getWH|container2|unshift|fromElement|relatedTarget|visibility|init|absolute|click|fix|triggered|Number|setInterval|removeAttribute|prevObject|unique|classFilter|submit|after|file|clean|expr|windowData|offset|scroll|client|deep|jquery|offsetLeft|globalEval|sibling|version|old|safari2|results|wrapAll|startTime|handleError|container|createTextNode|radio|oldblock|checkbox|dequeue|bindReady|getResponseHeader|parsererror|lastChild|index|swing|00|Modified|ifModified|clone|offsetTop|values|active|getElementById|link|val|col|contentType|ajaxSend|ajaxSuccess|ajaxComplete|ajaxStop|ajaxStart|serializeArray|notmodified|POST|loaded|DOMContentLoaded|Width|triggerHandler|ctrlKey|metaKey|keyCode|clientTop|clientLeft|ajaxError|clientX|pageX|cloneNode|detachEvent|swap|removeEventListener|join|attachEvent|substr|parse|head|textarea|reset|image|before|odd|zoom|even|prepend|username|quickClass|quickID|quickChild|processData|uuid|continue|textContent|appendTo|contents|evalScript|parent|defaultValue|setArray|CSS1Compat|compatMode|cssFloat|styleFloat|webkit|nodeValue|eq|linear|replaceWith|concat|splice|100|href|_toggle|speed|alpha|304|200|throw|Last|httpData|httpNotModified|httpSuccess|clearInterval|beforeSend|colgroup|fieldset|multiple|XMLHttpRequest|ActiveXObject|getBoundingClientRect|scriptCharset|callback|plain|img|hasClass|br|urlencoded|www|abbr|pixelLeft|post|getJSON|getScript|elements|serialize|keypress|keydown|change|mouseup|mousedown|dblclick|resize|focus|blur|stylesheet|rel|mousemove|doScroll|round|hover|keyup|padding|offsetHeight|offsetWidth|Bottom|Top|Right|clientY|pageY|Left|toElement|srcElement|cancelBubble|returnValue|0n|substring|animated|header|enabled|ajaxSetup|innerText|noConflict|size|contains|only|line|gt|weight|lt|font|uFFFF|u0128|417|inner|Height|Boolean|toggleClass|removeClass|addClass|removeAttr|replaceAll|insertAfter|wrap|prependTo|contentWindow|contentDocument|iframe|children|siblings|wrapInner|prevAll|nextAll|prev|next|parents|maxLength|maxlength|readOnly|readonly|borderTopWidth|class|able|htmlFor|522|reverse|boxModel|with|1px|compatible|10000|ie|ra|it|rv|400|fast|600|userAgent|Function|navigator|Object|stop|option|array|ig|NaN|fadeOut|fadeIn|slideToggle|slideUp|slideDown|setAttribute|changed|be|responseXML|content|1223|fadeTo|can|300|property|protocol|location|send|abort|getAttributeNode|specified|method|action|cssText|attributes|Accept|With|th|slow|Requested|td|GMT|cap|1970|cos|PI|Jan|colg|01|Thu|tfoot|Since|thead|If|Type|Content|leg|open|XMLHTTP|opt|Microsoft|embed|onreadystatechange|onload|area|charset|hr|http|inline|borderLeftWidth|1_|meta'.split('|'),0,{}))
//Accordion Content script: By Dynamic Drive, at http://www.dynamicdrive.com
//Created: Jan 7th, 08'
//Version 1.3: April 3rd, 08':
//**1) Script now no longer conflicts with other JS frameworks
//**2) Adds custom oninit() and onopenclose() event handlers that fire when Accordion Content instance has initialized, plus whenever a header is opened/closed
//**3) Adds support for expanding header(s) using the URL parameter (ie: http://mysite.com/accordion.htm?headerclass=0,1)

//April 9th, 08': Fixed "defaultexpanded" setting not working when page first loads

//Version 1.4: June 4th, 08':
//**1) Added option to activate a header "mouseover" instead of the default "click"
//**2) Bug persistence not working when used with jquery 1.2.6

var ddaccordion={
    
    contentclassname:{}, //object to store corresponding contentclass name based on headerclass

    expandone:function(headerclass, selected){ //PUBLIC function to expand a particular header
        this.toggleone(headerclass, selected, "expand")
    },

    collapseone:function(headerclass, selected){ //PUBLIC function to collapse a particular header
        this.toggleone(headerclass, selected, "collapse")
    },

    expandall:function(headerclass){ //PUBLIC function to expand all headers based on their shared CSS classname
        var $=jQuery
        var $headers=$('.'+headerclass)
        $('.'+this.contentclassname[headerclass]+':hidden').each(function(){
            $headers.eq(parseInt($(this).attr('contentindex'))).trigger("evt_accordion")
        })
    },

    collapseall:function(headerclass){ //PUBLIC function to collapse all headers based on their shared CSS classname
        var $=jQuery
        var $headers=$('.'+headerclass)
        $('.'+this.contentclassname[headerclass]+':visible').each(function(){
            $headers.eq(parseInt($(this).attr('contentindex'))).trigger("evt_accordion")
        })
    },

    toggleone:function(headerclass, selected, optstate){ //PUBLIC function to expand/ collapse a particular header
        var $=jQuery
        var $targetHeader=$('.'+headerclass).eq(selected)
        var $subcontent=$('.'+this.contentclassname[headerclass]).eq(selected)
        if (typeof optstate=="undefined" || optstate=="expand" && $subcontent.is(":hidden") || optstate=="collapse" && $subcontent.is(":visible"))
            $targetHeader.trigger("evt_accordion")
    },

    expandit:function($targetHeader, $targetContent, config, useractivated){
        $targetContent.slideDown(config.animatespeed, function(){config.onopenclose($targetHeader.get(0), parseInt($targetHeader.attr('headerindex')), $targetContent.css('display'), useractivated)})
        this.transformHeader($targetHeader, config, "expand")
    },

    collapseit:function($targetHeader, $targetContent, config, isuseractivated){
        $targetContent.slideUp(config.animatespeed, function(){config.onopenclose($targetHeader.get(0), parseInt($targetHeader.attr('headerindex')), $targetContent.css('display'), isuseractivated)})
        this.transformHeader($targetHeader, config, "collapse")
    },

    transformHeader:function($targetHeader, config, state){
        $targetHeader.addClass((state=="expand")? config.cssclass.expand : config.cssclass.collapse) //alternate btw "expand" and "collapse" CSS classes
        .removeClass((state=="expand")? config.cssclass.collapse : config.cssclass.expand)
        if (config.htmlsetting.location=='src'){ //Change header image (assuming header is an image)?
            $targetHeader=($targetHeader.is("img"))? $targetHeader : $targetHeader.find('img').eq(0) //Set target to either header itself, or first image within header
            $targetHeader.attr('src', (state=="expand")? config.htmlsetting.expand : config.htmlsetting.collapse) //change header image
        }
        else if (config.htmlsetting.location=="prefix") //if change "prefix" HTML, locate dynamically added ".accordprefix" span tag and change it
            $targetHeader.find('.accordprefix').html((state=="expand")? config.htmlsetting.expand : config.htmlsetting.collapse)
        else if (config.htmlsetting.location=="suffix")
            $targetHeader.find('.accordsuffix').html((state=="expand")? config.htmlsetting.expand : config.htmlsetting.collapse)
    },

    urlparamselect:function(headerclass){
        var result=window.location.search.match(new RegExp(headerclass+"=((\\d+)(,(\\d+))*)", "i")) //check for "?headerclass=2,3,4" in URL
        if (result!=null)
            result=RegExp.$1.split(',')
        return result //returns null, [index], or [index1,index2,etc], where index are the desired selected header indices
    },

    getCookie:function(Name){ 
        var re=new RegExp(Name+"=[^;]+", "i") //construct RE to search for target name/value pair
        if (document.cookie.match(re)) //if cookie found
            return document.cookie.match(re)[0].split("=")[1] //return its value
        return null
    },

    setCookie:function(name, value){
        document.cookie = name + "=" + value
    },

    init:function(config){
    document.write('<style type="text/css">\n')
    document.write('.'+config.contentclass+'{display: none}\n') //generate CSS to hide contents
    document.write('<\/style>')
    jQuery(document).ready(function($){
        ddaccordion.urlparamselect(config.headerclass)
        var persistedheaders=ddaccordion.getCookie(config.headerclass)
        ddaccordion.contentclassname[config.headerclass]=config.contentclass //remember contentclass name based on headerclass
        config.cssclass={collapse: config.toggleclass[0], expand: config.toggleclass[1]} //store expand and contract CSS classes as object properties
        config.revealtype=/^(click)|(mouseover)$/i.test(config.revealtype)? config.revealtype.replace(/mouseover/i, "mouseenter") : "click"
        config.htmlsetting={location: config.togglehtml[0], collapse: config.togglehtml[1], expand: config.togglehtml[2]} //store HTML settings as object properties
        config.oninit=(typeof config.oninit=="undefined")? function(){} : config.oninit //attach custom "oninit" event handler
        config.onopenclose=(typeof config.onopenclose=="undefined")? function(){} : config.onopenclose //attach custom "onopenclose" event handler
        var lastexpanded={} //object to hold reference to last expanded header and content (jquery objects)
        var expandedindices=ddaccordion.urlparamselect(config.headerclass) || ((config.persiststate && persistedheaders!=null)? persistedheaders : config.defaultexpanded)
        if (typeof expandedindices=='string') //test for valid cookie ('string'), invalid being null or 1st page load
            expandedindices=expandedindices.replace(/c/ig, '').split(',') //if valid, change to array value
        var $subcontents=$('.'+config["contentclass"])
        if (!(expandedindices instanceof Array)) //check for invalid expandedindices value
            expandedindices=[]
        if (config["collapseprev"] && expandedindices.length>1)
            expandedindices=[expandedindices.pop()] //return last array element as an array (for sake of jQuery.inArray())
        $('.'+config["headerclass"]).each(function(index){ //loop through all headers
            if (/(prefix)|(suffix)/i.test(config.htmlsetting.location) && $(this).html()!=""){ //add a SPAN element to header depending on user setting and if header is a container tag
                $('<span class="accordprefix"></span>').prependTo(this)
                $('<span class="accordsuffix"></span>').appendTo(this)
            }
            $(this).attr('headerindex', index+'h') //store position of this header relative to its peers
            $subcontents.eq(index).attr('contentindex', index+'c') //store position of this content relative to its peers
            var $subcontent=$subcontents.eq(index)
            if (jQuery.inArray(index+'', expandedindices)!=-1){ //check for headers that should be expanded automatically (convert index to string first)

                if (config.animatedefault==false)
                    $subcontent.show()
                ddaccordion.expandit($(this), $subcontent, config, false) //Last Boolean value sets 'isuseractivated' parameter
                lastexpanded={$header:$(this), $content:$subcontent}
            }  //end check
            else{
                $subcontent.hide()
                config.onopenclose($(this).get(0), parseInt($(this).attr('headerindex')), $subcontent.css('display'), false) //Last Boolean value sets 'isuseractivated' parameter
                ddaccordion.transformHeader($(this), config, "collapse")
            }
        })
        $('.'+config["headerclass"]).bind("evt_accordion", function(){ //assign custom event handler that expands/ contacts a header
                var $subcontent=$subcontents.eq(parseInt($(this).attr('headerindex'))) //get subcontent that should be expanded/collapsed
                if ($subcontent.css('display')=="none"){
                    ddaccordion.expandit($(this), $subcontent, config, true) //Last Boolean value sets 'isuseractivated' parameter
                    if (config["collapseprev"] && lastexpanded.$header && $(this).get(0)!=lastexpanded.$header.get(0)){ //collapse previous content?
                        ddaccordion.collapseit(lastexpanded.$header, lastexpanded.$content, config, true) //Last Boolean value sets 'isuseractivated' parameter
                    }
                    lastexpanded={$header:$(this), $content:$subcontent}
                }
                else{
                    ddaccordion.collapseit($(this), $subcontent, config, true) //Last Boolean value sets 'isuseractivated' parameter
                }
         })
        $('.'+config["headerclass"]).bind(config.revealtype, function(){
            if (config.revealtype=="mouseenter"){
                ddaccordion.expandone(config["headerclass"], parseInt($(this).attr("headerindex")))
            }
            else{
                $(this).trigger("evt_accordion")
                return false //cancel default click behavior
            }
        })
        config.oninit($('.'+config["headerclass"]).get(), expandedindices)
        $(window).bind('unload', function(){ //clean up and persist on page unload
            $('.'+config["headerclass"]).unbind()
            var expandedindices=[]
            $('.'+config["contentclass"]+":visible").each(function(index){ //get indices of expanded headers
                expandedindices.push($(this).attr('contentindex'))
            })
            if (config.persiststate==true){ //persist state?
                expandedindices=(expandedindices.length==0)? '-1c' : expandedindices //No contents expanded, indicate that with dummy '-1c' value?
                ddaccordion.setCookie(config.headerclass, expandedindices)
            }
        })
    })
    }
}
var spasi5="&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;"+"&nb"+"sp;";
boxkomentar=document.getElementById("content_18");//
divkomentar=getElementsByClassName("fitem1wrapper","div",boxkomentar);
for (i=0;i<divkomentar.length;i++) {
    divitd=divkomentar[i].getElementsByTagName("td")[0];
    fotosrc=divkomentar[i].getElementsByTagName("img")[0].getAttribute("src");
    datakomentar=divkomentar[i].getElementsByTagName("ul")[0];
    titlekomentar=datakomentar.getElementsByTagName("li")[0];
    tanggalkomentar=datakomentar.getElementsByTagName("li")[1];
    atitlekomentar=titlekomentar.getElementsByTagName("a")[0];
    linkkomentar=atitlekomentar.getAttribute("href");
    namakomentar=titlekomentar.getElementsByTagName("a")[0].innerHTML.replace(/"/g,"").replace(/'/g,"").replace(/\[/g,"").replace(/\]/g,"");
    iconkomentar="<div style=\"text-align:center;border-top:1px solid;padding-top:5px;\"><b><a target='_blank' href='"+linkkomentar.replace(/profiles.friendster.com\//i,"www.friendster.com/sendmessage.php?uid=")+"&action=sendsmile' style='background:none;padding:0px'>Send Smile</a> | <a target='_blank' href='"+linkkomentar.replace(/profiles.friendster.com\//i,"www.friendster.com/sendmessage.php?uid=")+"' style='background:none;padding:0px'>Send Message</a> | <a target='_blank' href='"+linkkomentar.replace(/profiles.friendster.com\//i,"www.friendster.com/photos/")+"' style='background:none;padding:0px'>View Photos</a> | <a target='_blank' href='"+linkkomentar.replace(/profiles.friendster.com\//i,"www.friendster.com/comments.php?uid=")+"' style='background:none;padding:0px'>Reply Comment</a></b></div>";
    datakomentar.getElementsByTagName("li")[2].innerHTML="<div class=\"datakom\">"+datakomentar.getElementsByTagName("li")[2].innerHTML+"<br><br>"+iconkomentar+"</div>";
    datakomentar.title="header=[= "+namakomentar+" =] body=[<img src='"+fotosrc+"' style='width:164px;border:2px solid black;'>]";
    titlekomentar.innerHTML="<h3 class=\"headkom\">"+titlekomentar.innerHTML+"<span id='tglkom' align=\"right\" style=\"font-weight:normal\">"+tanggalkomentar.innerHTML+"</span></h3>";
    divitd.style.display="none";
    tanggalkomentar.style.display="none";
}
ddaccordion.init({
    headerclass: "headkom", //Shared CSS class name of headers group
    contentclass: "datakom", //Shared CSS class name of contents group
    revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover"
    collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
    defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content.
    animatedefault: true, //Should contents open by default be animated into view?
    persiststate: false, //persist state of opened contents within browser session?
    toggleclass: ["", "openkom"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
    togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
    animatespeed: "fast", //speed of animation: "fast", "normal", or "slow"
    oninit:function(expandedindices){ //custom code to run when headers have initalized
        //do nothing
    },
    onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
        //do nothing
    }
})
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;
}


/**********************************
* 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 #e3e2e2';
    dvHdr.style.padding='3';
    dvHdr.style.fontSize='11';
    dvHdr.style.color='#4B7A98';
    dvHdr.style.background='none';
    dvHdr.style.filter='alpha(opacity=85)'; // IE
    dvHdr.style.opacity='0.85'; // FF
}

function defBdyStyle() {
    dvBdy.style.borderBottom='1px solid #e3e2e2';
    dvBdy.style.borderLeft='1px solid #e3e2e2';
    dvBdy.style.borderRight='1px solid #e3e2e2';
    dvBdy.style.width='170px';
    dvBdy.style.fontFamily='Tahoma';
    dvBdy.style.fontSize='11';
    dvBdy.style.padding='3';
    dvBdy.style.color='#1B4966';
    dvBdy.style.background='#FFFFFF';
    dvBdy.style.filter='alpha(opacity=85)'; // IE
    dvBdy.style.opacity='0.85'; // FF
}

function checkElemBO(txt) {
if (!txt || typeof(txt) != 'string') return false;
if ((txt.indexOf('header')>-1)&&(txt.indexOf('body')>-1)&&(txt.indexOf('[')>-1)&&(txt.indexOf('[')>-1))
   return true;
else
   return false;
}

function scanBO(curNode) {
      if (checkElemBO(curNode.title)) {
         curNode.boHDR=getParam('header',curNode.title);
         curNode.boBDY=getParam('body',curNode.title);
            curNode.boCSSBDY=getParam('cssbody',curNode.title);           
            curNode.boCSSHDR=getParam('cssheader',curNode.title);
            curNode.IEbugfix=(getParam('hideselects',curNode.title)=='on')?true:false;
            curNode.fixX=parseInt(getParam('fixedrelx',curNode.title));
            curNode.fixY=parseInt(getParam('fixedrely',curNode.title));
            curNode.absX=parseInt(getParam('fixedabsx',curNode.title));
            curNode.absY=parseInt(getParam('fixedabsy',curNode.title));
            curNode.offY=(getParam('offsety',curNode.title)!='')?parseInt(getParam('offsety',curNode.title)):10;
            curNode.offX=(getParam('offsetx',curNode.title)!='')?parseInt(getParam('offsetx',curNode.title)):10;
            curNode.fade=(getParam('fade',curNode.title)=='on')?true:false;
            curNode.fadespeed=(getParam('fadespeed',curNode.title)!='')?getParam('fadespeed',curNode.title):0.04;
            curNode.delay=(getParam('delay',curNode.title)!='')?parseInt(getParam('delay',curNode.title)):0;
            if (getParam('requireclick',curNode.title)=='on') {
                curNode.requireclick=true;
                document.all?curNode.attachEvent('onclick',showHideBox):curNode.addEventListener('click',showHideBox,false);
                document.all?curNode.attachEvent('onmouseover',hideBox):curNode.addEventListener('mouseover',hideBox,false);
            }
            else {// Note : if requireclick is on the stop clicks are ignored             
               if (getParam('doubleclickstop',curNode.title)!='off') {
                   document.all?curNode.attachEvent('ondblclick',pauseBox):curNode.addEventListener('dblclick',pauseBox,false);
               }   
               if (getParam('singleclickstop',curNode.title)=='on') {
                   document.all?curNode.attachEvent('onclick',pauseBox):curNode.addEventListener('click',pauseBox,false);
               }
           }
            curNode.windowLock=getParam('windowlock',curNode.title).toLowerCase()=='off'?false:true;
            curNode.title='';
            curNode.hasbox=1;
       }
       else
          curNode.hasbox=2;   
}


function getParam(param,list) {
    var reg = new RegExp('([^a-zA-Z]' + param + '|^' + param + ')\\s*=\\s*\\[\\s*(((\\[\\[)|(\\]\\])|([^\\]\\[]))*)\\s*\\]');
    var res = reg.exec(list);
    var returnvar;
    if(res)
        return res[2].replace('[[','[').replace(']]',']');
    else
        return '';
}

function Left(elem){   
    var x=0;
    if (elem.calcLeft)
        return elem.calcLeft;
    var oElem=elem;
    while(elem){
         if ((elem.currentStyle)&& (!isNaN(parseInt(elem.currentStyle.borderLeftWidth)))&&(x!=0))
             x+=parseInt(elem.currentStyle.borderLeftWidth);
         x+=elem.offsetLeft;
         elem=elem.offsetParent;
      }
    oElem.calcLeft=x;
    return x;
    }

function Top(elem){
     var x=0;
     if (elem.calcTop)
         return elem.calcTop;
     var oElem=elem;
     while(elem){       
          if ((elem.currentStyle)&& (!isNaN(parseInt(elem.currentStyle.borderTopWidth)))&&(x!=0))
             x+=parseInt(elem.currentStyle.borderTopWidth);
         x+=elem.offsetTop;
             elem=elem.offsetParent;
     }
     oElem.calcTop=x;
     return x;
   
}

var ah,ab;
function applyStyles() {
    if(ab)
        oDv.removeChild(dvBdy);
    if (ah)
        oDv.removeChild(dvHdr);
    dvHdr=document.createElement("div");
    dvBdy=document.createElement("div");
    CBE.boCSSBDY?dvBdy.className=CBE.boCSSBDY:defBdyStyle();
    CBE.boCSSHDR?dvHdr.className=CBE.boCSSHDR:defHdrStyle();
    dvHdr.innerHTML=CBE.boHDR;
    dvBdy.innerHTML=CBE.boBDY;
    ah=false;
    ab=false;
    if (CBE.boHDR!='') {       
        oDv.appendChild(dvHdr);
        ah=true;
    }   
    if (CBE.boBDY!=''){
        oDv.appendChild(dvBdy);
        ab=true;
    }   
}

var CSE,iterElem,LSE,CBE,LBE, totalScrollLeft, totalScrollTop, width, height ;
var ini=false;

// Customised function for inner window dimension
function SHW() {
   if (document.body && (document.body.clientWidth !=0)) {
      width=document.body.clientWidth;
      height=document.body.clientHeight;
   }
   if (document.documentElement && (document.documentElement.clientWidth!=0) && (document.body.clientWidth + 20 >= document.documentElement.clientWidth)) {
      width=document.documentElement.clientWidth;   
      height=document.documentElement.clientHeight;   
   }   
   return [width,height];
}


var ID=null;
function moveMouse(e) {
   //boxMove=true;
    e?evt=e:evt=event;
   
    CSE=evt.target?evt.target:evt.srcElement;
   
    if (!CSE.hasbox) {
       // Note we need to scan up DOM here, some elements like TR don't get triggered as srcElement
       iElem=CSE;
       while ((iElem.parentNode) && (!iElem.hasbox)) {
          scanBO(iElem);
          iElem=iElem.parentNode;
       }     
    }
   
    if ((CSE!=LSE)&&(!isChild(CSE,dvHdr))&&(!isChild(CSE,dvBdy))){       
       if (!CSE.boxItem) {
            iterElem=CSE;
            while ((iterElem.hasbox==2)&&(iterElem.parentNode))
                    iterElem=iterElem.parentNode;
            CSE.boxItem=iterElem;
            }
        iterElem=CSE.boxItem;
        if (CSE.boxItem&&(CSE.boxItem.hasbox==1))  {
            LBE=CBE;
            CBE=iterElem;
            if (CBE!=LBE) {
                applyStyles();
                if (!CBE.requireclick)
                    if (CBE.fade) {
                        if (ID!=null)
                            clearTimeout(ID);
                        ID=setTimeout("fadeIn("+CBE.fadespeed+")",CBE.delay);
                    }
                    else {
                        if (ID!=null)
                            clearTimeout(ID);
                        COL=1;
                        ID=setTimeout("oDv.style.visibility='visible';ID=null;",CBE.delay);                       
                    }
                if (CBE.IEbugfix) {hideSelects();}
                fixposx=!isNaN(CBE.fixX)?Left(CBE)+CBE.fixX:CBE.absX;
                fixposy=!isNaN(CBE.fixY)?Top(CBE)+CBE.fixY:CBE.absY;           
                lockX=0;
                lockY=0;
                boxMove=true;
                ox=CBE.offX?CBE.offX:10;
                oy=CBE.offY?CBE.offY:10;
            }
        }
        else if (!isChild(CSE,dvHdr) && !isChild(CSE,dvBdy) && (boxMove))    {
            // The conditional here fixes flickering between tables cells.
            if ((!isChild(CBE,CSE)) || (CSE.tagName!='TABLE')) {             
               CBE=null;
               if (ID!=null)
                      clearTimeout(ID);
               fadeOut();
               showSelects();
            }
        }
        LSE=CSE;
    }
    else if (((isChild(CSE,dvHdr) || isChild(CSE,dvBdy))&&(boxMove))) {
        totalScrollLeft=0;
        totalScrollTop=0;
       
        iterElem=CSE;
        while(iterElem) {
            if(!isNaN(parseInt(iterElem.scrollTop)))
                totalScrollTop+=parseInt(iterElem.scrollTop);
            if(!isNaN(parseInt(iterElem.scrollLeft)))
                totalScrollLeft+=parseInt(iterElem.scrollLeft);
            iterElem=iterElem.parentNode;           
        }
        if (CBE!=null) {
            boxLeft=Left(CBE)-totalScrollLeft;
            boxRight=parseInt(Left(CBE)+CBE.offsetWidth)-totalScrollLeft;
            boxTop=Top(CBE)-totalScrollTop;
            boxBottom=parseInt(Top(CBE)+CBE.offsetHeight)-totalScrollTop;
            doCheck();
        }
    }
   
    if (boxMove&&CBE) {
        // This added to alleviate bug in IE6 w.r.t DOCTYPE
        bodyScrollTop=document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;
        bodyScrollLet=document.documentElement&&document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;
        mouseX=evt.pageX?evt.pageX-bodyScrollLet:evt.clientX-document.body.clientLeft;
        mouseY=evt.pageY?evt.pageY-bodyScrollTop:evt.clientY-document.body.clientTop;
        if ((CBE)&&(CBE.windowLock)) {
            mouseY < -oy?lockY=-mouseY-oy:lockY=0;
            mouseX < -ox?lockX=-mouseX-ox:lockX=0;
            mouseY > (SHW()[1]-oDv.offsetHeight-oy)?lockY=-mouseY+SHW()[1]-oDv.offsetHeight-oy:lockY=lockY;
            mouseX > (SHW()[0]-dvBdy.offsetWidth-ox)?lockX=-mouseX-ox+SHW()[0]-dvBdy.offsetWidth:lockX=lockX;           
        }
        oDv.style.left=((fixposx)||(fixposx==0))?fixposx:bodyScrollLet+mouseX+ox+lockX+"px";
        oDv.style.top=((fixposy)||(fixposy==0))?fixposy:bodyScrollTop+mouseY+oy+lockY+"px";       
       
    }
}

function doCheck() {   
    if (   (mouseX < boxLeft)    ||     (mouseX >boxRight)     || (mouseY < boxTop) || (mouseY > boxBottom)) {

        if (!CBE.requireclick)
            fadeOut();
        if (CBE.IEbugfix) {showSelects();}
        CBE=null;
    }
}

function pauseBox(e) {
   e?evt=e:evt=event;
    boxMove=false;
    evt.cancelBubble=true;
}

function showHideBox(e) {
    oDv.style.visibility=(oDv.style.visibility!='visible')?'visible':'hidden';
}

function hideBox(e) {
    oDv.style.visibility='hidden';
}

var COL=0;
var stopfade=false;

function fadeIn(fs) {
        ID=null;
        COL=0;
        oDv.style.visibility='visible';
        fadeIn2(fs);
}

function fadeIn2(fs) {
        COL=COL+fs;
        COL=(COL>1)?1:COL;
        oDv.style.filter='alpha(opacity='+parseInt(100*COL)+')';
        oDv.style.opacity=COL;
        if (COL<1)
         setTimeout("fadeIn2("+fs+")",20);       
}


function fadeOut() {
    oDv.style.visibility='hidden';
   
}

function isChild(s,d) {
    while(s) {
        if (s==d)
            return true;
        s=s.parentNode;
    }
    return false;
}

var cSrc;
function checkMove(e) {
    e?evt=e:evt=event;
    cSrc=evt.target?evt.target:evt.srcElement;
    if ((!boxMove)&&(!isChild(cSrc,oDv))) {
        fadeOut();
        if (CBE&&CBE.IEbugfix) {showSelects();}
        boxMove=true;
        CBE=null;
    }
}

function showSelects(){
   var elements = document.getElementsByTagName("select");
   for (i=0;i< elements.length;i++){
      elements[i].style.visibility='visible';
   }
}

function hideSelects(){
   var elements = document.getElementsByTagName("select");
   for (i=0;i< elements.length;i++){
   elements[i].style.visibility='hidden';
   }
}

/* -----------Radical5154------------ Minimizer/maximizer Box sebelah kiri */

// CONTROLPANEL
   h=document.getElementById("controlpanel_header");
   h.innerHTML="<a href=\"javascript:;\" onClick=\"trigger_effect(this,'content_0','blind')\"><div title=\" \"><font color=\"#000000\" face=\"Arial\">"+pageOwnerFName+"</font></div></a>";

// PHOTOS
   h=document.getElementById("1").getElementsByTagName("h2")[0];
   h.innerHTML="<a href=\"javascript:;\" onClick=\"trigger_effect(this,'content_1','blind')\"><div title=\" \"><font color=\"#000000\" face=\"Arial\">"+pageOwnerFName+" phOto mE</font></div></a>";

// MOREABOUT
   h=document.getElementById("6").getElementsByTagName("h2")[0];
   h.innerHTML="<a href=\"javascript:;\" onClick=\"trigger_effect(this,'content_6','blind')\"><div title=\" \"><font color=\"#000000\" face=\"Arial\">"+pageOwnerFName+" About me</font></div></a>";


// PUBLICCOMMENTS
   h=document.getElementById("18").getElementsByTagName("h2")[0];
   h.innerHTML="<a href=\"javascript:;\" onClick=\"trigger_effect(this,'content_18','blind')\"><div title=\" \"><font color=\"#000000\" face=\"Arial\">"+pageOwnerFName+" Comments</font></div></a>";




/* -------------Radical5154--------------- Minimizer/maximizer Box harus ada */ 

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';
      }
   }
}

/**
* Quick Testimonial Box Version 3.6.1
* Features: Smilies, AJAX (Primary Photo) & Live Preview
* Copyright (c) 2007-2008 by FeRuZZ - http://profiles.friendster.com/feruzz
* With help of Eykal - http://profiles.friendster.com/eykal
* Updates: July 22, 2008
* Cross-Browser Compatibility
**/

//-----------------------------

/*global COMMENTOR, document, window*/
if (typeof COMMENTOR !== "undefined") {
	throw new Error("COMMENTOR is already defined.");
}
(function () {
	COMMENTOR = {
		$linker: [],
		$max: 5000,
		$amp: "&",
		$ie: /*@cc_on!@*/false,
		$dir: "http://i94.photobucket.com/albums/l116/feruzz/",
		$dircss: "http://www.stormpages.com/",

		details: {
			photo: null,
			name: null
		},

		regexp: {
			photo: /imgblock200"><a[\S\s]*?>([\S\s]*?)<\/div>/i,
			name: /controlpanel_header">([\S\s]*?)<a[\S\s]*?><\/a><a\s*name="controlpanel/i
		},

		repTxt: {
			"onlynum": /[^\d]/g
		},

		valid: function (o, w) {
			o.value = o.value.replace(COMMENTOR.repTxt[w], "");
		},

		init: function () {
			/*global pageViewerID, pageOwnerID, location*/
			var myFriend = "no";
			var cScan = COMMENTOR.$("controlPanelButtons").innerHTML;
			var searchFriend = cScan.search(/Add as Friend/);
			if (searchFriend > 0) {
				myFriend = "yes";
			}
			if (pageViewerID !== "" && myFriend === "no") {
				try {
					var ls = [];
					var olinks = document.links;
					for (var x = 0, y = olinks.length; x < y; x += 1) {
						if (olinks[x].innerHTML.match(/Post a Comment|Add Comment/)) {
							ls.push(olinks[x]); 
						}
					}
					COMMENTOR.$linker = ls;
					try {
						COMMENTOR.$linker[0].href = "#quicktesti";
						COMMENTOR.$linker[0].onclick = function () {
							COMMENTOR.openForm();
						};
					} catch (e) {}
					try {
						COMMENTOR.$linker[1].href = "#quicktesti";
						COMMENTOR.$linker[1].onclick = function () {
							COMMENTOR.openForm();
						};
					} catch (er) {}
					try {
						COMMENTOR.$linker[2].href = "#quicktesti";
						COMMENTOR.$linker[2].onclick = function () {
							COMMENTOR.openForm();
						};
					} catch (err) {}
				} catch (errs) {
					COMMENTOR.$linker = "";
				}
				COMMENTOR.exCSS(COMMENTOR.$dircss + "tempek/script/commentor.css");
			}
		},
		
		openForm: function () {
			var commLength = COMMENTOR.$linker.length, x, y;
			if (!COMMENTOR.$ie) {
				for (x = 0, y = commLength; x < y; x += 1) {
					COMMENTOR.$linker[x].onclick = function () {

						COMMENTOR.$linker[x].href = "#quicktesti";
					}();
				}
			} else { //For IE
				try {
					COMMENTOR.$linker[0].onclick = function () {
						COMMENTOR.$linker[0].href = "#quicktesti";
					};
				} catch (e) {}
				try {
					COMMENTOR.$linker[1].onclick = function () {
						COMMENTOR.$linker[1].href = "#quicktesti";
					};
				} catch (er) {}
				try {
					COMMENTOR.$linker[2].onclick = function () {
						COMMENTOR.$linker[2].href = "#quicktesti";
					};
				} catch (err) {}
			}
			var smlist = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21",
			"22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43",
			"44", "45", "46", "47", "48", "52", "53", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "76", "77", "78"];
			/*global smileys, pageOwnerFName, pageViewerID, pageOwnerID*/
			smileys = [];
			for (var sm = 0, ls = smlist.length; sm < ls; sm += 1) {
				smileys[smlist[sm]] = "http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/" + smlist[sm] + ".gif";
			}
			var smdiv = document.createElement("div");
			smdiv.className = "smileysdiv";
			COMMENTOR.changeText(smdiv, "");
			for (sm = 0, ls = smlist.length; sm < ls; sm += 1) {
				smdiv.innerHTML += "<span class=\"smbox\"><a href=\"#null\" onclick=\"COMMENTOR.rtxt('::" + smlist[sm] + "::', COMMENTOR.$('komen')); return false;\">" +
				"<img class=\"smiley\" title=\"" + smlist[sm] + "\" src=\"" + smileys[smlist[sm]] + "\"></a></span>";
			}
			var htmlspaces = "&nb" + "sp;";
			var commform = "<div class=\"quicktestiprev\">" +
			"<div id=\"commentprevbox\"><div id=\"prevComment\"></div></div>" +
			"<p>You Can Also Dress Up Your Testimonial Or Comment With HTML, CSS, And Embed Images & Video! " +
			"<a href=\"#null\" onclick=\"javascript:popup('/info/helpmedia.php',450,400,'yes');return false;\">Click Here</a>" + htmlspaces +
			"To Find Out How To <a href=\"#null\" onclick=\"javascript:popup('/info/helpmedia.php',450,400,'yes');return false;\">" +
			"Add Videos And Images</a>.</p>" +
			"<form id=\"testimonial_form\" name=\"testimonial_form\" method=\"post\" onsubmit=\"return checkFormSubmit('testimonial_form');\">" +
			"<input type=\"hidden\" name=\"testimonial_firstname\" value=\"" + pageOwnerFName + "\">" +
			"<input type=\"hidden\" name=\"testimonial_uid\" value=\"" + pageViewerID + "\">" +
			"<input type=\"hidden\" name=\"_submitted\" value=\"1\">" +
			"<table class=\"formtable\"><tr>" +
			"<td class=\"field\"><span class=\"q\">To:</span></td><td class=\"value\"><div id=\"outputphoto\"></div><div align=\"center\" id=\"outputname\"></div></td>" +
			"<td class=\"value\"><span class=\"q\">Friendster" + htmlspaces + "ID" + htmlspaces + ":</span>" + htmlspaces + "<input type=\"text\" id=\"txtsearchfs\" value=\"" + pageOwnerID + "\" onkeyup=\"COMMENTOR.mainphoto();COMMENTOR.valid(this, 'onlynum');\" onblur=\"COMMENTOR.mainphoto();COMMENTOR.valid(this, 'onlynum');\" maxlength=\"9\">" +
			"</td></tr></table>" +
			"<div class=\"testibutton\">" +
			"<a href=\"#null\"><img border=\"0\" src=\"" + COMMENTOR.$dir + "testi/bold.gif\" name=\"bold\" onclick=\"COMMENTOR.insertTag('<b>','</b>');return false;\" class=\"postimage\" title=\"bold\"></a>" + htmlspaces +
			"<a href=\"#null\"><img border=\"0\" src=\"" + COMMENTOR.$dir + "testi/italic.gif\" name=\"italic\" onclick=\"COMMENTOR.insertTag('<i>','</i>');return false;\" class=\"postimage\" title=\"italic\"></a>" + htmlspaces +
			"<a href=\"#null\"><img border=\"0\" src=\"" + COMMENTOR.$dir + "testi/under.gif\" name=\"underline\" onclick=\"COMMENTOR.insertTag('<span style=text-decoration:underline>','</span>');return false;\" class=\"postimage\" title=\"underline\"></a>" + htmlspaces +
			"<a href=\"#null\"><img border=\"0\" src=\"" + COMMENTOR.$dir + "testi/sup.gif\" name=\"sup\" onclick=\"COMMENTOR.insertTag('<big>','</big>');return false;\" class=\"postimage\" title=\"superscript\"></a>" + htmlspaces +
			"<a href=\"#null\"><img border=\"0\" src=\"" + COMMENTOR.$dir + "testi/sub.gif\" name=\"sub\" onclick=\"COMMENTOR.insertTag('<small>','</small>');return false;\" class=\"postimage\" title=\"subscript\"></a>" + htmlspaces +
			"<a href=\"#null\"><img border=\"0\" src=\"" + COMMENTOR.$dir + "testi/strike.gif\" name=\"strike\" onclick=\"COMMENTOR.insertTag('<del>','</del>');return false;\" class=\"postimage\" title=\"strike\"></a>" + htmlspaces +
			"<a href=\"#null\"><img border=\"0\" src=\"" + COMMENTOR.$dir + "testi/center.gif\" name=\"center\" onclick=\"COMMENTOR.insertTag('<div align=center>','</div>');return false;\" class=\"postimage\" title=\"center\"></a>" + htmlspaces +
			"<select name=\"fnt_color\" id=\"fnt_color\" onchange=\"COMMENTOR.insertTag('<span style=color:' + COMMENTOR.$('testimonial_form').fnt_color.options[fnt_color.selectedIndex].value + '>', '</span>'); COMMENTOR.$('testimonial_form').fnt_color.options[0].selected=true\">" +
			"<option value=\"\">Color" +
			"<option value=\"#F0F8FF\">Alice Blue<option value=\"#FAEBD7\">Antique White<option value=\"#00FFFF\">Aqua<option value=\"#7FFFD4\">Aqua Marine" +
			"<option value=\"#F0FFFF\">Azure<option value=\"#F5F5DC\">Beige<option value=\"#FFE4C4\">Bisque<option value=\"#000000\">Black" +
			"<option value=\"#FFEBCD\">Blanched Almond<option value=\"#0000FF\">Blue<option value=\"#8A2BE2\">Blue Violet<option value=\"#A52A2A\">Brown" +
			"<option value=\"#DEB887\">Burly Wood<option value=\"#5F9EA0\">Cadet Blue<option value=\"#7FFF00\">Chartreuse<option value=\"#D2691E\">Chocolate" +
			"<option value=\"#FF7F50\">Coral<option value=\"#6495ED\">Cornflower Blue<option value=\"#FFF8DC\">Cornsilk<option value=\"#DC143C\">Crimson" +
			"<option value=\"#00FFFF\">Cyan<option value=\"#00008B\">Dark Blue<option value=\"#008B8B\">Dark Cyan<option value=\"#B8860B\">Dark Golden Rod" +
			"<option value=\"#A9A9A9\">Dark Gray<option value=\"#006400\">Dark Green<option value=\"#BDB76B\">Dark Khaki<option value=\"#8B008B\">Dark Magenta" +
			"<option value=\"#556B2F\">Dark Olive Green<option value=\"#FF8C00\">Dark Orange<option value=\"#9932CC\">Dark Orchid<option value=\"#8B0000\">Dark Red" +
			"<option value=\"#E9967A\">Dark Salmon<option value=\"#8FBC8F\">Dark Sea Green<option value=\"#483D8B\">Dark Slate Blue<option value=\"#2F4F4F\">Dark Slate Gray" +
			"<option value=\"#00CED1\">Dark Turquoise<option value=\"#9400D3\">Dark Violet<option value=\"#FF1493\">Deep Pink<option value=\"#00BFFF\">Deep Sky Blue" +
			"<option value=\"#696969\">Dim Gray<option value=\"#1E90FF\">Dodger Blue<option value=\"#B22222\">Fire Brick<option value=\"#FFFAF0\">Floral White" +
			"<option value=\"#228B22\">Forest Green<option value=\"#FF00FF\">Fuchsia<option value=\"#DCDCDC\">Gainsboro<option value=\"#F8F8FF\">Ghost White" +
			"<option value=\"#FFD700\">Gold<option value=\"#DAA520\">Golden Rod<option value=\"#808080\">Gray<option value=\"#008000\">Green" +
			"<option value=\"#ADFF2F\">Green Yellow<option value=\"#F0FFF0\">Honey Dew<option value=\"#FF69B4\">Hot Pink<option value=\"#CD5C5C\">Indian Red" +

			"<option value=\"#4B0082\">Indigo<option value=\"#FFFFF0\">Ivory<option value=\"#F0E68C\">Khaki<option value=\"#E6E6FA\">Lavender" +
			"<option value=\"#FFF0F5\">Lavender Blush<option value=\"#7CFC00\">Lawn Green<option value=\"#FFFACD\">Lemon Chiffon<option value=\"#ADD8E6\">Light Blue" +
			"<option value=\"#F08080\">Light Coral<option value=\"#E0FFFF\">Light Cyan<option value=\"#FAFAD2\">Light Golden Rod Yellow<option value=\"#D3D3D3\">Light Gray" +
			"<option value=\"#90EE90\">Light Green<option value=\"#FFB6C1\">Light Pink<option value=\"#FFA07A\">Light Salmon<option value=\"#20B2AA\">Light Sea Green" +
			"<option value=\"#87CEFA\">Light Sky Blue<option value=\"#778899\">Light Slate Gray<option value=\"#B0C4DE\">Light Steel Blue<option value=\"#FFFFE0\">Light Yellow" +
			"<option value=\"#00FF00\">Lime<option value=\"#32CD32\">Lime Green<option value=\"#FAF0E6\">Linen<option value=\"#FF00FF\">Magenta" +
			"<option value=\"#800000\">Maroon<option value=\"#66CDAA\">Medium Aqua Marine<option value=\"#0000CD\">Medium Blue<option value=\"#BA55D3\">Medium Orchid" +
			"<option value=\"#9370D8\">Medium Purple<option value=\"#3CB371\">Medium Sea Green<option value=\"#7B68EE\">Medium Slate Blue<option value=\"#00FA9A\">Medium Spring Green" +
			"<option value=\"#48D1CC\">Medium Turquoise<option value=\"#C71585\">Medium Violet Red<option value=\"#191970\">Midnight Blue<option value=\"#F5FFFA\">Mint Cream" +
			"<option value=\"#FFE4E1\">Misty Rose<option value=\"#FFE4B5\">Mocassin<option value=\"#FFDEAD\">Navajo White<option value=\"#000080\">Navy" +
			"<option value=\"#FDF5E6\">Old Lace<option value=\"#808000\">Olive<option value=\"#6B8E23\">Olive Drab<option value=\"#FFA500\">Orange" +
			"<option value=\"#FF4500\">Orange Red<option value=\"#EEE8AA\">Pale Golden Rod<option value=\"#98FB98\">Pale Green<option value=\"#AFEEEE\">Pale Turquoise" +
			"<option value=\"#D87093\">Pale Violet Red<option value=\"#FFEFD5\">Papaya Whip<option value=\"#FFDAB9\">Peach Puff<option value=\"#CD853F\">Peru" +
			"<option value=\"#FFC0CB\">Pink<option value=\"#DDA0DD\">Plum<option value=\"#B0E0E6\">Powder Blue<option value=\"#800080\">Purple" +
			"<option value=\"#FF0000\">Red<option value=\"#BC8F8F\">Rosy Brown<option value=\"#4169E1\">Royal Blue<option value=\"#8B4513\">Saddle Brown" +
			"<option value=\"#FA8072\">Salmon<option value=\"#F4A460\">Sandy Brown<option value=\"#2E8B57\">Sea Green<option value=\"#FFF5EE\">Sea Shell" +
			"<option value=\"#A0522D\">Sienna<option value=\"#C0C0C0\">Silver<option value=\"#87CEEB\">Sky Blue<option value=\"#6A5ACD\">Slate Blue" +
			"<option value=\"#708090\">Slate Gray<option value=\"#FFFAFA\">Snow<option value=\"#00FF7F\">Spring Green<option value=\"#4682B4\">Steel Blue" +
			"<option value=\"#D2B48C\">Tan<option value=\"#008080\">Teal<option value=\"#D8BFD8\">Thistle<option value=\"#FF6347\">Tomato" +
			"<option value=\"#40E0D0\">Turquoise<option value=\"#EE82EE\">Violet<option value=\"#F5DEB3\">Wheat<option value=\"#FFFFFF\">White" +
			"<option value=\"#F5F5F5\">White Smoke<option value=\"#FFFF00\">Yellow<option value=\"#9ACD32\">Yellow Green" +
			"</select>" + htmlspaces +
			"<select name=\"fnt_face\" id=\"fnt_face\" onChange=\"COMMENTOR.insertTag('<span style=font-family:' + COMMENTOR.$('testimonial_form').fnt_face.options[fnt_face.selectedIndex].value + '>', '</span>'); COMMENTOR.$('testimonial_form').fnt_face.options[0].selected=true\">" +
			"<option value=\"\">Font" +
			"<option value=\"serif\" style=\"font-family:serif\">Serif" +
			"<option value=\"monospace\" style=\"font-family:monospace\">Monospace" +
			"<option value=\"Century\" style=\"font-family:Century\">Century" +
			"<option value=\"Courier\" style=\"font-family:Courier\">Courier" +
			"</select>" +
			"</div>" +
			"<table class=\"formtable\"><tr><td class=\"value\">" + 
			"<textarea id=\"komen\" rows=\"7\" tabindex=\"4\" name=\"body\" onfocus=\"COMMENTOR.xBackground('komen', '#e5fff3', null);\" onblur=\"COMMENTOR.xBackground('komen', '#ddd', null);\" onKeyDown=\"return COMMENTOR.catchTab(this, event);COMMENTOR.charactersLeft(COMMENTOR.$('komen'), COMMENTOR.$('minputcount'), COMMENTOR.$max);\" onKeyUp=\"COMMENTOR.livecomprev();COMMENTOR.stripTags(this);COMMENTOR.charactersLeft(COMMENTOR.$('komen'), COMMENTOR.$('minputcount'), COMMENTOR.$max);\" onblur=\"COMMENTOR.stripTags(this);\"></TEXTAREA>" +
			"<div class=\"resizeButtons\">" + 
			"<a href=\"#null\" onclick=\"COMMENTOR.rstxtbox('komen', 0, 10);return false;\"><img alt=\"\" src=\"" + COMMENTOR.$dir + "testi/rs_vb.gif\" style=\"margin: 2px\" /></a>" + 
			"<a href=\"#null\" onclick=\"COMMENTOR.rstxtbox('komen', 0, -10);return false;\"><img alt=\"\" src=\"" + COMMENTOR.$dir + "testi/rs_vs.gif\" style=\"margin: 2px\" /></a>" + 
			"</div>" +
			"</td></tr><tr><td class=\"value\">" +
			"<input class=\"inputButtons\" type=\"button\" name=\"Submit\" href=\"#quicktesti\" onclick=\"COMMENTOR.stripTags(COMMENTOR.$('komen'));COMMENTOR.livecomprev();COMMENTOR.sendAction();\" value=\"Submit\">" + htmlspaces +
			"<input class=\"inputButtons\" type=\"button\" name=\"cancel\" value=\"Clear\" maxlength=\"25\" onclick=\"COMMENTOR.commentClick();\">" + htmlspaces + 
			"<input class=\"inputButtons\" type=\"reset\" name=\"cancel\" onclick=\"COMMENTOR.cancelForm();\" value=\"Close\">" + htmlspaces + 
			"<input id=\"show\" class=\"inputButtons\" type=\"button\" name=\"Smilies\" onclick=\"COMMENTOR.showForm();\" value=\"Open Smilies\">" + 
			"<input id=\"close\" style=\"display:none;\" class=\"inputButtons\" type=\"button\" name=\"Smilies\" onclick=\"COMMENTOR.hideForm();\" value=\"Close Smilies\">" + 
			"<div class=\"dc\"><span class=\"q\">Characters" + htmlspaces + "remaining" + htmlspaces + "</span><input id=\"minputcount\" readonly maxlength=\"4\" size=\"4\" value=\"" + COMMENTOR.$max + "\" name=\"inputcount\"></div>" + 
			"<div id=\"hide\" style=\"display:none;width:468px;\" align=\"center\">" + smdiv.innerHTML + "</div>" +
			"</td></tr></table></form></div>";
			COMMENTOR.commentBox("Quick Testimonial", commform, "quicktesti", "18", "above");
			window.location.href = "#quicktesti";
			COMMENTOR.mainphoto();
		},

		anaconda: function (htm) {
			if (COMMENTOR.trimX(htm) === "") {
				try {
					throw new Error("Empty xmlresponse! Unable to parse your details!");
				} catch (ey) {
					window.alert(ey);
				}
				return;
			} else if (htm) {
				for (var val in COMMENTOR.details) {
					if (typeof COMMENTOR.details[val] !== "function") {
						try {
							COMMENTOR.details[val] = new RegExp(COMMENTOR.regexp[val]).exec(htm)[1];
						} catch (e) {
							COMMENTOR.details[val] = "";
						}
					}
				}
				var idVal = COMMENTOR.$("txtsearchfs").value;
				var outputObj = COMMENTOR.$("outputphoto");
				outputObj = COMMENTOR.replaceHtml(outputObj, COMMENTOR.details.photo.replace(/<img/g, "<a href=\"http://" + location.hostname + "/" + idVal + "\" target=\"_blank\"><img"));
				var outputName = COMMENTOR.$("outputname");
				outputName = COMMENTOR.replaceHtml(outputName, "<a href=\"http://" + location.hostname + "/" + idVal + "\" target=\"_blank\">" + COMMENTOR.details.name + "</a>");
			}
		},

		mainphoto: function () {
			if (COMMENTOR.$("txtsearchfs") !== "") {
				var idVal = COMMENTOR.$("txtsearchfs").value;
				if (window.location.href.indexOf("user.php") !== -1) {
					COMMENTOR.getRequest("http://" + location.hostname + "/user.php?uid=" + idVal, true, COMMENTOR.anaconda, null);
				} else {
					COMMENTOR.getRequest("http://" + location.hostname + "/" + idVal, true, COMMENTOR.anaconda, null);
				}
			}
		},

		xBackground: function (e, c, i) {
			if (!(e = COMMENTOR.$(e))) {
				return "";
			}
			var bg = "";
			if (e.style) {
				if (COMMENTOR.xStr(c)) {
					e.style.backgroundColor = c;
				}
				if (COMMENTOR.xStr(i)) {
					e.style.backgroundImage = (i !== "") ? "url(" + i + ")" : null;
				}
				bg = e.style.backgroundColor;
			}
			return bg;
		},

		xStr: function (s) {
			for (var i = 0; i < arguments.length; i += 1) {
				if (typeof arguments[i] !== "string") {
					return false;
				}
			}
			return true;
		},

		setAttribs: function (el, attribs) {
			for (var x in attribs) {
				if (typeof attribs[x] !== "function") {
					el[x] = attribs[x];
				}
			}

		},

		createElements: function (tag, attribs, parent) {
			var el = document.createElement(tag);
			if (attribs) {
				COMMENTOR.setAttribs(el, attribs);
			}
			if (parent) {
				el.appendChild(parent);
			}
			return el;
		},

		sendAction: function () {
			var idVal = COMMENTOR.$("txtsearchfs").value;
			if (COMMENTOR.$("txtsearchfs").value === "") {
				window.alert("Please insert Friendster ID!");
				return;
			} else if (COMMENTOR.$("komen").value === "") {
				window.alert("Empty comment!");
				return;
			} else {
				COMMENTOR.$("testimonial_form").action = "http://www.friendster.com/testimonials.php?uid=" + idVal + "&action=add";
				COMMENTOR.$("testimonial_form").submit();
				COMMENTOR.changeText(COMMENTOR.elmsByTag("h2", COMMENTOR.$("quicktesti"))[0], "Fetching comment...Please wait...");
				var postComment = COMMENTOR.createElements("div", {
					className: "boxcontent",
					align: "center"
				});
				var imgComment = COMMENTOR.createElements("img", {
					src: COMMENTOR.$dir + "testi/loader1.gif"
				});
				postComment.appendChild(imgComment);
				if (COMMENTOR.$("content_quicktesti") !== "") {
					COMMENTOR.$("content_quicktesti").parentNode.replaceChild(postComment, COMMENTOR.$("content_quicktesti"));
				}
				try {
					COMMENTOR.$("commentprevbox").parentNode.removeChild(COMMENTOR.$("commentprevbox"));
				} catch (e) {}
				window.location.href = "#quicktesti";
			}
		},

		stripTags: function (queue) {
			var args = arguments.length;
			if (args > 0) {
				var replacements = [
					[/(&l)(t;\/*)[\x00-\x20]*s[\x00-\x20]*c[\x00-\x20]*r[\x00-\x20]*i[\x00-\x20]*p[\x00-\x20]*t[\x00-\x20]*/g, "$1$2noscript..."],
					[/(&l)(t;\/*)[\x00-\x20]*s[\x00-\x20]*t[\x00-\x20]*y[\x00-\x20]*l[\x00-\x20]*e[\x00-\x20]*/g, "$1$2nostyle..."],
					[/(<[^>]+[\x00-\x20\"\'])(on|xmlns)[^>]*>/g, "$1>"],
					[/([a-z]*)[\x00-\x20]*=[\x00-\x20]*([\`\'\"]*)[\x00-\x20]*j[\x00-\x20]*a[\x00-\x20]*v[\x00-\x20]*a[\x00-\x20]*s[\x00-\x20]*c[\x00-\x20]*r[\x00-\x20]*i[\x00-\x20]*p[\x00-\x20]*t[\x00-\x20]*:/g, "$1=$2nojavascript..."],
					[/([a-z]*)[\x00-\x20]*=([\'\"]*)[\x00-\x20]*v[\x00-\x20]*b[\x00-\x20]*s[\x00-\x20]*c[\x00-\x20]*r[\x00-\x20]*i[\x00-\x20]*p[\x00-\x20]*t[\x00-\x20]*:/g, "$1=$2novbscript..."],
					[/([a-z]*)[\x00-\x20]*=([\'\"]*)[\x00-\x20]*-moz-binding[\x00-\x20]*:/g, "$1=$2nomozbinding..."],
					[/(<[^>]+)style[\x00-\x20]*=[\x00-\x20]*([\`\'\"]*)\s*expression[\x00-\x20]*\([^>]*>/g, "$1>"],
					[/(<[^>]+)style[\x00-\x20]*=[\x00-\x20]*([\`\'\"]*)\s*behaviour[\x00-\x20]*\([^>]*>/g, "$1>"],
					[/(<[^>]+)style[\x00-\x20]*=[\x00-\x20]*([\`\'\"]*)\s*s[\x00-\x20]*c[\x00-\x20]*r[\x00-\x20]*i[\x00-\x20]*p[\x00-\x20]*t[\x00-\x20]*:*[^>]*>/g, "$1>"],
					[/\<\/*\w+:\w[^>]*>/g, ""],
					[/(&\#*\w+)[\x00-\x20]+;/g, "$1;"],
					[/(&\#x*)([0-9A-F]+);*/g, "$1$2;"],
					[/(^[\/]{2}[^\n]*)|([\n]{1,}[\/]{2}[^\n]*)/g, ""]
				];
				var i, j;
				for (i = 0, j = replacements.length; i < j; i += 1) {
					queue.value = queue.value.replace(replacements[i][0], replacements[i][1]);
				}
				do {
					var $oldstring = queue.value;
					queue.value = queue.value.replace(/\<\/*(applet|meta|xml|blink|input|form|link|style|script|embed|object|iframe|frame|frameset|ilayer|layer|bgsound|title|base)[^>]*>/g, "");
				} while ($oldstring !== queue.value);
			}
			return queue;
		},

		livecomprev: function (e) {
			var commentVal = COMMENTOR.$("komen").value;
			commentVal = commentVal.replace(/\r\n|\r|\n/g, "<br/>").replace(/&l/g, "<").replace(/&g/g, ">").replace(/t;/g, "");
			var allsmileys = COMMENTOR.$("komen").value.match(/::(\w+)?::/gim);
			if (allsmileys) {
				for (var sm = 0, ls = allsmileys.length; sm < ls; sm += 1) {
					if (smileys[allsmileys[sm].match(/\w+/)[0]] !== "undefined") {
						allsmileys[sm] = "<img src=\"" + smileys[allsmileys[sm].match(/\w+/)[0]] + "\">";
						COMMENTOR.$("komen").value = COMMENTOR.$("komen").value.replace(/::(\w+)?::/im, allsmileys[sm]);
						//fixed
						commentVal = commentVal.replace(/::(\w+)?::/im, allsmileys[sm]);
					}
				}
			}
			var commentObj = COMMENTOR.$("prevComment");
			commentObj = COMMENTOR.replaceHtml(commentObj, commentVal);
		},

		commentClick: function () {
			var commentValue = ["prevComment", "komen"], x = 0;
			while (x < commentValue.length) {
				commentValue[x] = COMMENTOR.replaceHtml(COMMENTOR.$(commentValue[x]), "");
				x += 1;
			}
			var inputCountVal = COMMENTOR.$("minputcount");
			inputCountVal.value = COMMENTOR.$max;
			window.location.href = "#quicktesti";
		},

		sRange: function (input, sStart, sEnd) {
			/*global navigator*/
			if (input.setSelectionRange) {
				input.focus();
				input.setSelectionRange(sStart, sEnd);
			} else if (input.createTextRange) {
				var range = input.createTextRange();
				range.collapse(true);
				range.moveEnd("character", sEnd);
				range.moveStart("character", sStart);
				range.select();
			}
		},

		rSelection: function (input, rString) {
			if (input.setSelectionRange) {
				var sStart = input.selectionStart;
				var sEnd = input.selectionEnd;
				input.value = input.value.substring(0, sStart) + rString + input.value.substring(sEnd);
				if (sStart !== sEnd) {
					COMMENTOR.sRange(input, sStart, sStart + 	rString.length);
				} else {
					COMMENTOR.sRange(input, sStart + rString.length, sStart + rString.length);
				}
			} else if (document.selection) {
				var range = document.selection.createRange();
				if (range.parentElement() === input) {
					var isCollapsed = range.text === "";
					range.text = rString;
					if (!isCollapsed)  {
						range.moveStart("character", -rString.length);
						range.select();
					}
				}
			}
		},

		catchTab: function (item, e) {
			var c;
			if (navigator.userAgent.match("Gecko")) {
				c = e.which;
			} else {
				c = e.keyCode;
			}
			if (c === 9) {
				COMMENTOR.rSelection(item, String.fromCharCode(9));
				window.setTimeout("COMMENTOR.$('" + item.id + "').focus();", 0);
				return false;
			}
		},

		charactersLeft: function (field, countfield, maxlimit) {
			if (field.value.length > maxlimit) {
				field.value = field.value.substring(0, maxlimit);
			} else {
				countfield.value = maxlimit - field.value.length;
			}
			if (countfield.value <= 5) {
				field.style.color = "red";
			} else {
				field.style.color = "black";
			}
		},

		exCSS: function (links) {
			var objCSS;
			var objHead = COMMENTOR.elmsByTag("head", document);
			if (objHead[0]) {
				if (document.createElementNS && objHead[0].tagName === "head") {
					objCSS = objHead[0].appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "link"));
				} else {
					objCSS = objHead[0].appendChild(document.createElement("link"));
					objCSS.rel = "stylesheet";
					objCSS.href = links;
					objCSS.type = "text/css";
				}
			}
		},

		cancelForm: function () {
			var commentPreview = COMMENTOR.$("prevComment");
			commentPreview = COMMENTOR.replaceHtml(commentPreview, "");
			try {
				window.setTimeout("COMMENTOR.$('quicktesti').parentNode.removeChild(COMMENTOR.$('quicktesti'));window.location.href='#18'", 2000);
			} catch (e) {
				window.setTimeout("COMMENTOR.$('quicktesti').style.display='none';window.location.href='#18'", 2000);
			}
			COMMENTOR.init();
		},

		showForm: function () {
			if (COMMENTOR.$("hide").style.display !== "none") {
				COMMENTOR.hideForm();
			} else {
				var x, y;
				var disNo = ["hide", "close"];
				for (x = 0, y = disNo.length; x < y; x += 1) {
					COMMENTOR.$(disNo[x]).style.display = "";
				}
				COMMENTOR.$("show").style.display = "none";
			}
		},

		hideForm: function () {
			if (COMMENTOR.$("hide").style.display !== "") {
				COMMENTOR.showForm();
			} else {
				var x, y;
				var disNone = ["hide", "close"];
				for (x = 0, y = disNone.length; x < y; x += 1) {
					COMMENTOR.$(disNone[x]).style.display = "none";
				}
				COMMENTOR.$("show").style.display = "";
			}
		},

		replaceHtml: function (el, html) {
			var oldEl = typeof el === "string" ? COMMENTOR.$(el) : el;
			/*@cc_on
				@if (@_win32 || @_win64)
					oldEl.innerHTML = html;
					return oldEl;
				@end 
			@*/
			var newEl = oldEl.cloneNode(false);
			newEl.innerHTML = html;
			oldEl.parentNode.replaceChild(newEl, oldEl);
			return newEl;
		},

		trimX: function (htm) {
			var ws = /\s/, $tart = 0, end = htm.length;
			while (ws.test(htm.charAt($tart += 1))) {
				while (ws.test(htm.charAt(end -= 1))) {
					return htm.slice($tart - 1, end + 1);
				}
			}
		},

		elmsByTag: function (t, p) {
			var list = null;
			t = t || "*";
			p = COMMENTOR.$(p) || document;
			if (typeof p.getElementsByTagName !== "undefined") {
				list = p.getElementsByTagName(t);
				if (t === "*" && (!list || !list.length)) {
					list = p.all;
				}
			} else {
				if (t === "*") {
					list = p.all;
				} else if (p.all && p.all.tags) {
					list = p.all.tags(t);
				}
			}
			return list || [];
		},

		innerTextFeature: function () {
			var obj = (COMMENTOR.elmsByTag("body", document)[0].innerText !== undefined) ? true : false;
			return obj;
		},

		changeText: function (elem, changeVal) {
			if (!COMMENTOR.innerTextFeature()) {
				elem.textContent = changeVal;
			} else {
				elem.innerText = changeVal;
			}
		},

		rtxt: function (text, textarea) {
			if (typeof textarea.caretPos !== "undefined" && textarea.createTextRange) {
				var caretPos = textarea.caretPos;
				caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) === " " ? text + " ": text;
				caretPos.select();
			} else if (typeof textarea.selectionStart !== "undefined") {
				var begin = textarea.value.substr(0, textarea.selectionStart);
				var end = textarea.value.substr(textarea.selectionEnd);

				var scrollPos = textarea.scrollTop;
				textarea.value = begin + text + end;
				if (textarea.setSelectionRange) {

					textarea.focus();
					textarea.setSelectionRange(begin.length + text.length, begin.length + text.length);
				}
				textarea.scrollTop = scrollPos;
			} else {
				textarea.value += text;
				textarea.focus(textarea.value.length - 1);
			}
		},

		insertTag: function (open, close) {
			var msgfield = document.all ? document.all.body : COMMENTOR.$("testimonial_form").body;
			if (document.selection && document.selection.createRange) {
				msgfield.focus();
				var sel = document.selection.createRange();
				sel.text = open + sel.text + close;
				msgfield.focus();
			} else if (msgfield.selectionStart || msgfield.selectionStart <= 0) {
				var startPos = msgfield.selectionStart;
				var endPos = msgfield.selectionEnd;
				msgfield.value = msgfield.value.substring(0, startPos) + open + msgfield.value.substring(startPos, endPos) + close + msgfield.value.substring(endPos, msgfield.value.length);
				msgfield.selectionStart = msgfield.selectionEnd = endPos + open.length + close.length;
				msgfield.focus();
			} else {
				msgfield.value += open + close;
				msgfield.focus();
			}
			return;
		},

		rstxtbox: function (name, colInc, rowInc) {
			try {
				var objek;
				if (COMMENTOR.$ie) {  
					objek = document.all[name];
				} else {
					objek = COMMENTOR.$(name);
				}                                   
				objek.rows += rowInc;
				objek.cols += colInc;
			} catch (e) {}         
		},
    
		$: function () {
			var elements = [];
			for (var i = 0, j = arguments.length; i < j; i += 1) {
				var element = arguments[i];
				if (typeof element === "string") {
					element = document.getElementById(element);
				}
				if (arguments.length === 1) {
					return element;
				}
				elements.push(element);
			}
			return elements;
		},

		commentBox: function (header, htmlString, id, sibling, insertion) {
			var sibdiv, sibli;
			var headerName = typeof header === "string" ? "<h2>" + header + "</h2>" : null;
			sibdiv = COMMENTOR.createElements("div", {
				className: "commonbox " + id,
				id: id,
				innerHTML: headerName
			});
			var appendDiv = COMMENTOR.createElements("div", {
				id: "content_" + id,
				innerHTML: htmlString
			});
			sibdiv.appendChild(appendDiv);
			sibli = COMMENTOR.createElements("li", null, null);
			sibli.appendChild(sibdiv);
			var ulTag = COMMENTOR.$(sibling);
			if (insertion === "below") {
				ulTag.parentNode.appendChild(sibli);
			} else if (insertion === "above") {
				ulTag.parentNode.parentNode.insertBefore(sibli, ulTag.parentNode);
			} else {
				ulTag.parentNode.parentNode.appendChild(sibli);
			}
		},

		getRequest: function (url, async, func, handlerparam) {
			/*global ActiveXObject, XMLHttpRequest, navigator*/
			var xmlHttp = null;
			var requestDone = false;
			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 {
					xmlHttp = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest();
					break;
				} catch (e) {
					if (async) {
						xmlHttp = null;
					}
				}
			}
			if (typeof func === "function") {
				onreadystatechange = function (isTimeout) {
					if (!requestDone && xmlHttp && (xmlHttp.readyState === 4 || isTimeout === "timeout")) {
						requestDone = true;
						if (ival) {
							window.clearInterval(ival);
							ival = null;
						}
						if (!xmlHttp.status && location.protocol === "file:" || (xmlHttp.status >= 200 && xmlHttp.status < 300) || xmlHttp.status === 304 || xmlHttp.status === 1223) {
							var resPonse = /xml/i.test(responseType) ? xmlHttp.responseXML : xmlHttp.responseText;
							func(resPonse.replace(new RegExp("<script[^>]*>[\\S\\s]*?<\/script>", "gi"), ""), handlerparam);
						}
						if (async) {
							xmlHttp = null;
						}
					}
				};
			}
			if (async) {
				ival = window.setInterval(onreadystatechange, 13);
				if (timeout > 0) {
					window.setTimeout(function () {
						if (xmlHttp) {
							xmlHttp.abort();
							if (!requestDone) {
								onreadystatechange("timeout");
							}
						}
					}, timeout);
				}
			}
			xmlHttp.open("GET", url, async);
			xmlHttp.setRequestHeader("getRequest", "true");
			xmlHttp.setRequestHeader("Cache-Control", "no-cache");
			xmlHttp.setRequestHeader("X-Requested-With", "XMLHttpRequest");
			xmlHttp.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT");
			xmlHttp.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*");
			xmlHttp.send(null);
			if (!async) {
				onreadystatechange();
			}
			return xmlHttp;
		}
	};
})();

//For IE5.0
if (![].push) {
	Array.prototype.push = function () {
		for (var x = 0, y = arguments.length; x < y; x += 1) {
			this[this.length] = arguments[x];
		}
		return this.length;
	};
}


/*global pageViewerLangPref*/
if (pageViewerLangPref === "en-US") {
	COMMENTOR.init();
}

/* AUTO FONT COLOR CHANGER */
var vhinM;
var newColor = new Array(5);
var curColor = 0;
newColor[0] = 'black';
newColor[1] = 'orange';
newColor[2] = 'black';
newColor[3] = 'orange';
newColor[4] = 'black';

function rotateColor() {
if (curColor == 4)
curColor = 0;
else
++curColor;
document.getElementById('cpShoutoutBox').style.color= newColor[curColor];
}

function startRotate() {
if (vhinM != null)
clearInterval(vhinM);
vhinM = setInterval("rotateColor()", 300);
}
window.onload = startRotate();


//GANTI CP
document.getElementsByTagName("head")[0].appendChild(shortc);
document.getElementById('0').getElementsByTagName("ul")[1].innerHTML=
"<li> NaMa : </span><img src=' http://www.freesmileys.org/emoticons/emoticon-cute-001.gif '/><span> Panglima <span><br></li>"+
"<li> UmuR : </span><img src='http://www.freesmileys.org/emoticons/emoticon-char-023.gif '/><span>20 Tahun<span><br></li>"+
"<li> CoMpaNY : </span><img src='http://www.fileden.com/files/2008/6/22/1971034/Smile/joged.gif'/><span>Pengacara<span> <br></li>"+
"<li> KewaRgaNegaRaan : RI  <img src='http://www.fileden.com/files/2007/3/15/887906/favicon.gif'/></span><br></li>"+
"<li> Kota :</span><img src=' http://www.fileden.com/files/2008/6/22/1971034/Smile/motor.gif'/><span> Jakarta<span><br></li>"+
"<li> Punya FS seJaK : </span><img src=' http://www.fileden.com/files/2008/6/22/1971034/Smile/jedut.gif  '/><span>3 tahun yg lalu</span><br></li>"+
"<li> LasT LogiN  : </span><img src='http://www.fileden.com/files/2008/6/22/1971034/Smile/hiya.gif  '/><span>Ga pernah oFF<span><br></li>"+
"<li> URL FS Ku  : </span><img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/105.gif'/><span>http://profiles.friendster.com/panglima<span><br></li>"+
"<li> <center><img src='http://h1.ripway.com/cain5154/google/smile/14_6_18.gif'/></center></li>";




//--------END--------------
//navigation
var code="<div align='center'><a href='http://www.friendster.com'><br><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><br><input type='button' value='Message' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[MESSAGE] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Setting] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Help' onClick=\"top.location.href='http://www.friendster.com/custhelp.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Help] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Log Out] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"></br><input type='button' value='Home' onClick=\"top.location.href='http://www.friendster.com'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Home] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='My Profile' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[My Profile] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Explore' onClick=\"top.location.href='http://friendster.com/explore.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Explore] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Search' onClick=\"top.location.href='http://www.friendster.com/gallery.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Search] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?country=PH&target=jobs'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Jobs] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Invite' onClick=\"top.location.href='http://www.friendster.com/invite.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Invite] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"></br></br></div>";
addBox("LEFT"," Navigation",code,"3222","0");



//---> Yahoo Messenger in you Profile ----->> ARCATARI 
controlPanelButtons.innerHTML+="<li><a href='javascript:showCredits()'>Enjoy Ajjah</a></li>"
navdivider.innerHTML+="<div id='credits' class='commonbox credits'>"
+"<h2>Thank's For Your Visits...</h2>"
+"<div id='content_credits' style='text-align:center;padding:10'>"
+"<iframe frameborder='15' width='100%' height='300' src='http://www.youporn.com/' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='mini' id='mini'>"+"</iframe>"
+"</div>"
+"<div class='viewall'>"
+"<a href='javascript:closeCredits()'>Close</a>"
+"</div>"
+"</div>"
document.getElementById("0").parentNode.appendChild(credits)
credits.style.display="none"
function showCredits(){
credits.style.display="block"
}
function closeCredits(){
credits.style.display="none"
}
