[quote]//Css injection
var css = document.createElement("link");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/roysmith/HollowIchigo.css");
document.getElementsByTagName("head")[0].appendChild(css);
// for multiple js injection
scriptFolder = '
http://h1.ripway.com/roysmith/tracker/'
var scripts = new Array()
//scripts[0] = 'checkid.js'
//scripts[1] = 'wvmcbox.js'
scripts[2] = 'randomphoto.js'
for(x in scripts){
myscripts = document.createElement('script')
myscripts.src = scriptFolder+scripts[x]
document.getElementsByTagName('head')[0].appendChild(myscripts);
}
//CBox
var header="My Chatbox";
var cbox="<!-- BEGIN SHOUTMIX -
http://www.shoutmix.com -->"+
"<div align=\"center\" id=\"cboxdiv\">"+
"<iframe frameborder=\"0\" width=\"75%\" height=\"300\" src=\"http://www.shoutmix.com/?roysmith\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"cboxmain\" style=\"border: 0px solid;\" id=\"cboxmain\"></iframe><br/>"+
"</div>"+
"<!-- END shoutmix -->";
addBox("My ChatBox",cbox,"custombox_767",/commonbox[\s]*?publiccomments/i);
//YM STATUS
var penyuberenang;
try {penyuberenang = document.createElement("div");}
catch (e) {penyuberenang = document.createElement("<div>");}
penyuberenang.innerHTML = "<a href='ymsgr:sendim?roysmithfx'><img src='http://opi.yahoo.com/online?u=roysmithfx&m=g&t=2'></a>";
penyuberenang.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("controlPanelButtons").parentNode.appendChild(penyuberenang);
//Left Side Floating Button
dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><a href='http://www.friendster.com/roysmith' target='_blank'><img src='http://img110.imageshack.us/img110/8416/42550cxmmvgcvg2nw3.jpg' width='300px' height='154px' style='filter:none;-moz-opacity:1.0'/></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();
//Tehrzky's Love/Enemy
if (pageViewerID==23035122) {alert("I Love U LUDY"); }
function onProfileLoad() {
//onload handler
//(pattern) addBox("L-R","Header",htm,"cssid","sibling");
//insert tracker box at the end of sidebar column
addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right");
Ffetcher.init();
}
/*TRACKER OBJECT*/
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '300px',
height: '600px',
border: '0px',
overflow: 'hidden'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://h1.ripway.com/roysmith/tracker/tracker.php",
exitmessage: "Ingatz "+pageViewerFName,
/*do not edit below this line*/
/*
WVMv2.1
by marfillaster, copyright 2007 friendster.com/mumbhaki
credits: feruzz, renalvir(pimped), friendstertalk.com, friendster.com
licensed under GNU General Public License, version 2
http://www.gnu.org/licenses/gpl.html
Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. Author will not be liable of ANY damage through the use of this program
*/
base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmtemp",
details: {
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
photo: /imgblock200"[\S\s]+?img src="([\S\s]+?)"/i,
gender: />([\S]*male)/i,
age: /male, ([\d]*),/i,
status: /male, [\d]*, ([\S\s]+?)<\/span>/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");
}
/*MISC FUNCTIONS*/
function addBox(head,code,id,siblingafter) {
/*
head:
html string title
null - no header bar
code:
html string content
id:
unique string css pointer
siblingafter:
regexp classname
'left' - mainbar column end
'right' - sidebar column end
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(!head) head="";
else head="<h2>"+head+"</h2>";
li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+
head+
"<div id=\"content_"+id+"\">"+
code+
"</div>"+
"</div>";
if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li);
else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li);
else {
var si=getElementsByClass(siblingafter,null,"DIV")[0];
si.parentNode.parentNode.insertBefore(li,si.parentNode);
}
}
function processAjaxRequest(type,url,cont,param,handler,handlerparam) {
//by marfillaster
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;
}
if (typeof Ffetcher == "undefined") { Ffetcher = {}; }
Ffetcher = {
friends: new Array(),
pages: null,
maxfriends: null,
container: null,
cached: new Array(),
display: 6,
init: function() {
var num=document.links;
for(var x=0;x<num.length;x++) {
if (num[x].href.match(/\/friends\/[\d]+?/)) {
var t=/\(([\d]+?)\)/;
this.maxfriends=t.exec(num[x].innerHTML)[1];
break;
}
}
this.pages=Math.floor(this.maxfriends/30);
var htm="<div id='fcontainer' class='boxcontent'></div>";
addBox("My Friends",htm,"frbox",/commonbox[\s]*?friends/i);
document.getElementById("content_frbox").innerHTML+="<div class='viewall'><a href='javascript: void(Ffetcher.more())'>More Random Friends</a></div>";
this.container=document.getElementById("fcontainer");
this.fetch(0);
},
fetch: function(page) {
document.getElementById("frbox").childNodes[0].innerHTML="Friends Loading... Pls wait...";
processAjaxRequest("GET",TRACKER.base_domain+"/friends/"+pageOwnerID+"/"+page,true,null, "parseFriends",page);
},
show: function() {
this.container.innerHTML="";
this.friends.sort(randOrd);
for(var x=0;x<this.display;x++) {
this.container.innerHTML+=this.friends[x];
}
},
more: function() {
if(this.cached.length<(this.pages+1)) {
var temp;
do {
temp=Math.ceil(Math.random()*(this.pages));
}while(this.cached.toString().indexOf(":"+temp+":")!=-1);
this.fetch(temp);
}
else {
this.show();
}
}
};
function parseFriends(htm,page) {
if(!htm){
Ffetcher.fetch(page);
return;
}
var r= /search1\x22>[\S\s]+?paginglinksmodule\x22>([\S\s]+?)<div class=\x22paginglinksmodule/;
var temp=r.exec(htm)[1];
temp=temp.match(/<div class="flogriditem">[\S\s]+?<\/div>\n<\/div><\/div>/g);
for(var x=0;x<temp.length;x++) {
temp[x]=temp[x].replace("samsg_icon.gif>","samsg_icon.gif />");
temp[x]=temp[x].replace(/<a /g,"<a target=_blank ");
if(!temp[x].match("nophoto")) Ffetcher.friends.push(temp[x]);
}
Ffetcher.cached.push(":"+page+":");
document.getElementById("frbox").childNodes[0].innerHTML=" Random Friends ";
Ffetcher.show();
}
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;
}
function tb7_makeArray(n){
this.length = n;
return this.length;
}
tb7_messages = new tb7_makeArray(6);
tb7_messages[0] = "+'+'+'+'+Welcome to Roysmith's Page!+'+'+'+'+";
tb7_messages[1] = "__________Enjoy Your Visit__________";
tb7_messages[2] = " . . .Leave Me A Comment. . .";
tb7_messages[3] = "----->>>>>Hope you like my page!<<<<<-----";
tb7_messages[4] = "Have a good day";
tb7_messages[5] = "Take Care Friends!";
tb7_rptType = 'infinite';
tb7_rptNbr = 5;
tb7_speed = 200;
tb7_timeOneMsg = 3000;
tb7_minBrojRazmaka = 0;
tb7_maxBrojRazmaka = 3;
var tb7_counter=1;
var tb7_currMsg;
var tb7_stsmsg="";
var tb7_brojac = 0;
var tb7_expand = true;
var tb7_run=false
var tb7_tmpmsg="";
var tb7_spaces="";
var tb7_timer=null;
for (var i=0; i<tb7_minBrojRazmaka; i++)
tb7_spaces += "_";
for (var i=0; i<tb7_messages.length; i++){
tb7_tmpmsg="";
for (var j=0; j<tb7_messages[i].length; j++){
tb7_tmpmsg=tb7_tmpmsg+tb7_spaces+tb7_messages[i].charAt(j);
}
tb7_messages[i]=tb7_tmpmsg;
}
function tb7_settitle(){
if (!tb7_run){
clearTimeout(tb7_timer2);
return;
}
var tb7_sts = "";
if (tb7_brojac == 0)
document.title = tb7_messages[tb7_currMsg]
else{
for (var i=0; i<tb7_messages[tb7_currMsg].length; i++){
for (var j=0; j<tb7_brojac; j++)
tb7_sts += "_";
tb7_sts += tb7_messages[tb7_currMsg].charAt(i);
}
document.title = tb7_sts;
}
if (tb7_expand && (tb7_brojac >= tb7_maxBrojRazmaka))
tb7_expand=false;
if (!tb7_expand && tb7_brojac < tb7_minBrojRazmaka)
tb7_expand = true;
if (tb7_expand)
tb7_brojac++
else tb7_brojac--;
tb7_timer2 = setTimeout("tb7_settitle()", tb7_speed);
}
function tb7_coordinator(){
if (!tb7_run){
tb7_currMsg=0;
tb7_run = true;
tb7_settitle();
}
else{
if (tb7_currMsg == tb7_messages.length-1){
if ((tb7_rptType == 'finite') && (tb7_counter==tb7_rptNbr)){
clearTimeout(tb7_timer);
tb7_run = false;
return;
}
tb7_counter++;
tb7_currMsg=0;
}
else{
tb7_currMsg++;
}
}
tb7_timer = setTimeout("tb7_coordinator()",tb7_timeOneMsg);
}
tb7_coordinator();
/*END MISC FUNCTIONS*/
//tracker refresher
function Reload () {
var f = document.getElementById('wvm');
f.src = f.src;
}
if (!attachOnLoadHandler(function(){onLoad();})) window.onload = function(){onLoad();};
function onLoad() {
if(pageViewerID != pageOwnerID) {CPBUTTONS.init();}
}
if (typeof CPBUTTONS == "undefined") { CPBUTTONS = {}; }
CPBUTTONS = {
tagName: [],
moduleName: [],
init: function() {
this.moduleName = document.getElementById("content_0");
this.tagName = this.moduleName.getElementsByTagName('ul')[0];
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Send Message/, 'Write A Message');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Send a Smile/, 'Send A Note');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Forward to Friend/, 'Send My Profile');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Invite to Group/, 'Join My Groups');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Add Comment/, 'Send A Comment');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Add Bookmark/, 'Remember Me');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/View Blog/, 'Diary ');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Add as Friend/, 'Add Me!');
}
};
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
photo: null,
init: function() {
if (pageViewerID!== "") {
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>"+
"FriendsterID:<a href=\"/"+pageViewerID+"\">"+pageViewerID+"</a>"+status+"<br>"+
"MemberSince:"+since+"<br>"+
"Location:"+location+"</li>"+
"</div></ul></td></tr></table></div>";
SPAWNPIC.box("Hello "+name,this.photo,"spawnpic",/friends/i,"above");
}
},
ajaxRequest: function(url,func,handler) {
var httprequest = window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
httprequest.onreadystatechange = function() {
if (httprequest.readyState == 4) {
if (httprequest.status == 200) {
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;
}
};SPAWNPIC.init();
/* biodata */
document.getElementById("content_0").getElementsByTagName( "ul")[1].innerHTML=
"<li><span><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'> 29 year old male Bachelor Of Social Service (BOSS)</span><br></li>"+
"<li><span><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'> Interested in the very most...Your Friendship</span><br></li>"+
"<li><span><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'> WOW i joined friendster over 29 years ago</span><br></li>"+
"<li><span><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'> Im from Shah Alam</span><br></li>"+
"<li><span><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'> Born and Bred in Shah Alam</span><br></li>"+
"<li><span><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'> I work for Tesco Stores</span><br></li>"+
"<li><span><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'> Yahoo Messenger : roysmithfx@yahoo.com</span><br></li>"+
"<li><span><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'> MSN : roy1978@hotmail.com</span><br></li>";
/* shout */
function shoutoutcus(){
var ephemeral = "<div style='font-weight:bold;font-family:arial; color:#fffff0;'>cheers!.....<div style='font-weight:bold;font-size:18px;font-family:century gothic; color:#FF7F50;'>"+pageViewerFName+"<div style='font-weight:bold;font-family:arial; color:#fffff0;font-size:11px'>gotcha!..don't you know that ive been waiting for you?well,drop your comments ok,im so glad to have it!..</div>";
document.getElementById('cpShoutoutBox').style.height='100';
document.getElementById('cpShoutoutBox').style.overflow='auto';
document.getElementById('cpShoutoutBox').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";
}setTimeout("shoutoutcus()",4000);
/* myupdates */
document.getElementById("0").getElementsByTagName("ul")[2].innerHTML=
"<li><strong>WELCOME : </strong>[<a style=\"margin: 0px; font-weight: normal;\" href=\"/editaccount.php#showTracker\"> QUEST </a>]<br></li>"+
"<li><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'/><a>Your_Name</a> - "+pageViewerFName+"<br></li>"+
"<li><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'/><a>Your_ID</a> - "+pageViewerID+"<br></li>"+
"<li><img src='http://img231.imageshack.us/img231/5495/blinker29ao0.gif'/><a>Your_Time_Now</a> - "+Date()+"<br></li>";
/* blinking username */
function bvn_username(){
var message1 = "Wanted";
var message2 = "Dead or Alive";
var angelldeville_bvn_username = window.parent.document.getElementById('controlpanel_header');
angelldeville_bvn_username.innerHTML = "<marquee scrollamount='10000' behavior='slide' loop='9999999999'>" + message1 + " " + pageViewerFName + " " + message2 + "</marquee>"}
setTimeout("bvn_username()",1000);
//navigation//
var header="Navigation";
var code="<div id=\"form1\" align=\"center\"><br><img src=\"http://img172.imageshack.us/img172/9648/ththhediedforyoufm8.gif\"></img><select onchange=\"jumpMenu('parent',this,0);\" style=\"width: 75%; font-family:'Courier New'; color:#cc0000; background-color:#000000; font-size:10pt;\"><option value= \"onclick=\"return false;\">NAVIGATION</option><option value=\"http://www.friendster.com\">Home</option><option value=\"http://profiles.friendster.com/user.php\">My Profile</option><option value=\"http://www.friendster.com/editprofile.php\">-- Edit Profile</option><option value=\"http://www.friendster.com/viewphotos.php\">-- Photos</option><option value=\"http://www.friendster.com/review.php\">-- Reviews</option><option value=\"http://www.friendster.com/blogs.php\">-- Blogs</option><option value=\"http://www.friendster.com/featuredfriends.php\">-- Featured Friends</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/bulletinboard.php\">-- Bulletin Board</option><option value=\"http://www.friendster.com/friends.php\">My Connections</option><option value=\"http://www.friendster.com/editcollege.php?A=s\">-- Schools</option><option value=\"http://www.friendster.com/friends.php?action=spusers\">-- I'm a Fan of...</option><option value=\"http://www.friendster.com/bookmarks.php\">-- Bookmarks</option><option value=\"http://www.friendster.com/group/mygroup.php\">-- Groups</option><option value=\"http://www.friendster.com/explore.php\">Explore</option><option value=\"http://www.friendster.com/userlist.php?list=newusers\">-- People</option><option value=\"http://www.friendster.com/photolist.php?list=mostrecent\">-- Photos</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/userlist.php?list=feat_profile\\\">-- Featured Fan Profiles</option><option value=\\\"http://www.friendster.com/widgetdirectory.php\\\">-- Widget Directory</option></select><br><br></div>";
addBox(header,code,"custombox_455",/commonbox[\s]*?controlpanel/i);
var header="Malaysia Time..!!";
var code="<embed src=\'http://www.clocklink.com/clocks/0008-black.swf?TimeZone=GMT0800&\' width=\'150\' height=\'150\' wmode=\'transparent\' type=\'application/x-shockwave-flash\'>";
addBox(header,code,'custombox_18','right');
var header="My Homepage";
var code="<br>My Homepage!!<br><a href='http://www.francisx.co.nr/' target='_blank'><img width='150' height='51' alt='.: My Blog:' src='http://img172.imageshack.us/img172/3702/glitterfy084706t935sia1.gif' border='0'></a><br><br><br><br>";
addBox(header,code,"custombox_766","right");
var bakas = document.getElementById("footer_container");
var myfooter = "<div class='clear585'>"+"<div align='center'><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=1369094286722162729&site=widget-e7.slide.com\" style=\"width:100%;height:150px\" name=\"flashticker\" align=\"middle\"></embed></object><br>"+
"</center></div>";bakas.innerHTML = myfooter;bakas.style.height="auto"; bakas.style.overflow="hidden";
//WELCOME_N_GOODBYE//
var now = new Date();
alert("HI "+pageViewerFName+" ");
alert("welcome to my page...");
alert("before you enter this profile");
alert("LOADING. . . . . ");
alert("Pls wait. . . . ");
alert("You can now view my profile, "+pageViewerFName+" ");
alert("You came here at exactly "+now+". Thanks for visiting..");
/*END OF OTHER CODES*/
//hideButtons//
content_0.getElementsByTagName("td")[0].innerHTML+="<div id='myCPButtons' style='background:none;margin-top:10'>"
+"<input type='button' value='Show Buttons' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
+"</div>"
controlPanelButtons.style.display="none"
function showButtons(){
controlPanelButtons.style.display="block"
myCPButtons.innerHTML="<input type='button' value='Hide Buttons' onclick='hideButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
}
function hideButtons(){
controlPanelButtons.style.display="none"
myCPButtons.innerHTML="<input type='button' value='Show Buttons' onclick='showButtons()' style='border:1px solid #999999;background-color:#000000;color:#ffffff;font-size:9pt'>"
}[/quote]
Hi Guys, Where should i paste the Photo Gallery Randomizer with Preview v2.5 code.? Pls advice. Above is my code. Thks...