bang....klo box nya biasa muncul double yang salah apanya bang...??apa scripx yach...?tolong di periksa punyaku bang klo ada yg salah minta dibetulin bang....
please........
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "http://h1.ripway.com/dech/risty.css";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
function scoobydoo(){
var box1 = "<div id='box1div'>"+
"<object width='100%' height='370'><param name='movie' value='http://media.imeem.com/pl/73FMAGWLTL/autoShuffle=true/'></param><param name='wmode' value='transparent'></param><embed src='http://media.imeem.com/pl/73FMAGWLTL/autoShuffle=true/' type='application/x-shockwave-flash' width='100%' height='370' wmode='transparent'></embed></object>"+
"</div>";
addSideBar("Featured Music",box1,"2");
var box2 = "<div id='box2div'>"+
"<embed src='http://www.clocklink.com/clocks/5012-black.swf?TimeZone=CCT&' width='100%' height='75' wmode='transparent' type='application/x-shockwave-flash'>"+
"</div>";
addSideBar("Time",box2,"2");
var box3 = "<div id='box3div'>"+
"<object width='100%' height='266'><param name='movie' value='http://www.youtube.com/cp/vjVQa1PpcFP65tnzKEzTBNXDc6sfpHJ1UakO22o8aDQ='></param><param name='wmode' value='transparent'></params><embed src='http://www.youtube.com/cp/vjVQa1PpcFP65tnzKEzTBNXDc6sfpHJ1UakO22o8aDQ=' type='application/x-shockwave-flash' wmode='transparent' width='100%' height='266'></embed></object>"+
"</div>";
addSideBar("Video Favorite",box3,"2");
var box4 = "<div id='box4div'>"+
"<center><a href='http://photobucket.com' target='_blank'><img src='http://i124.photobucket.com/albums/p2/ogi_sidengreng/21221231dk1.jpg' border='0' alt='Photo Sharing and Video Hosting at Photobucket'></a>"+
"</div>";
addSideBar("The Best Favorite",box4,"2");
var box5 = "<div id='box5div'>"+
"<center><iframe frameborder='0' width='100%' height='300' src='http://www.cbox.ws/box/?boxid=1042900&boxtag=9409&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#2a2a2a 1px solid;' id='cboxmain'></iframe>"+
"<iframe frameborder='0' width='100%' height='90' src='http://www.cbox.ws/box/?boxid=1042900&boxtag=9409&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#2a2a2a 0px solid;border-top:0px' id='cboxform'></iframe><center>"+
"</div>";
addSideBar("Shout Box",box5,"2")
}setTimeout("scoobydoo()",6000);
//add sidebar script
function addSideBar(head,htm,div_id) {
var innerHtm=htm;
var cont=
"<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+div_id+"'>"+
innerHtm+
"</div>"+
"</div>";
try {
var obj=document.createElement("<li>");
} catch(e) {
var obj=document.createElement("li");
}
var x=document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}
var myplace = document.location.href;
if (myplace == "http://profiles.friendster.com/user.php?uid=41139966"){
}
else if (myplace == "http://profiles.friendster.com/user.php?uid=41139966"){
}
else {
location.href = "http://h1.ripway.com/fhezer/sidebar/enter.html";
}
function embed(){
var slodde = "<embed src=\"http://widget-14.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=360287970203591956&site=widget-14.slide.com\" style=\"width:580px;height:150px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:580px;text-align:left;\"><a href=\"http://www.slide.com/pivot?cy=fr&ad=0&id=360287970203591956&map=1\" target=\"_blank\"><img src=\"http://widget-14.slide.com/p1/360287970203591956/fr_t000_v000_a000_f00/images/xslide1.gif\" border=\"0\" ismap=\"ismap\" /></a> <a href=\"http://www.slide.com/pivot?cy=fr&ad=0&id=360287970203591956&map=2\" target=\"_blank\"><img src=\"http://widget-14.slide.com/p1/360287970203591956/fr_t000_v000_a000_f00/images/xslide1.gif\" border=\"0\" ismap=\"ismap\" /></a></div>";
document.getElementById('content_1').style.height='150';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
}setTimeout("embed()",10000);
if (!attachOnLoadHandler(function() { randImage();})) window.onload = function() { randImage();};
function randImage() {
RANDOMIMG.init();
}
if (typeof RANDOMIMG == "undefined") { RANDOMIMG = {}; }
RANDOMIMG = {
image: [],
sibling: [],
randimage: [],
init: function() {
var preload = [];
for (var n=0;n<this.randimage.length;n++) {
preload[n] = [];
preload[n].setAttribute("src",""+this.randimage[n]+"");
}
this.randimage[0] = "http://i124.photobucket.com/albums/p2/ogi_sidengreng/1_671857226l1.jpg";
this.randimage[1] = "http://i124.photobucket.com/albums/p2/ogi_sidengreng/1_771179556l1.jpg";
this.randimage[2] = "http://i124.photobucket.com/albums/p2/ogi_sidengreng/1_620618434l1.jpg";
this.randimage[3] = "http://i124.photobucket.com/albums/p2/ogi_sidengreng/1_942972440l1.jpg";
this.randimage[4] = "http://i124.photobucket.com/albums/p2/ogi_sidengreng/1_381713521l1.jpg";
this.image = document.createElement("DIV");
this.image.setAttribute("class","randImg");
this.image.innerHTML = "<img name=\"defaultimage\" width=\"200\" height=\"200\" src=\""+this.randimage[Math.floor(Math.random()*(this.randimage.length))]+"\">";
this.sibling = this.getModuleByClassName(/imgblock200/i)[0];
this.sibling.parentNode.replaceChild(this.image,this.sibling);
setInterval("RANDOMIMG.rotateimage()", 2*1000);
},
rotateimage: function() {
var ind = 0;
if (ind == (temp = Math.floor(Math.random()*(this.randimage.length)))) {
ind = (ind == 0) ? 1 : ind - 1;
}else {
ind = temp;
}
document.images.defaultimage.setAttribute("src",""+this.randimage[ind]+"");
},
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;
}
};
//marquee status bar atas
<!--//
function tb10_makeArray(n){
this.length = n;
return this.length;
}
tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = "~:~:~:~:::::KiNe RisTy:::::~:~:~:~";
tb10_rptType = 'infinite';
tb10_rptNbr = 5;
tb10_speed = 100;
tb10_delay = 2000;
var tb10_wiper
var tb10_space="_"
var tb10_currMsg=0;
var tb10_counter=1;
var tb10_index=0
tb10_main()
function tb10_main()
{
document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);}
else{setTimeout('tb10_main()',tb10_speed)}
}
function tb10_reset_clear()
{
tb10_index=0
tb10_wiper=""
for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space}
tb10_clearem()
}
function tb10_clearem()
{
document.title=tb10_wiper.substring(0,tb10_index) + "->" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){
if (tb10_currMsg == tb10_messages.length-1){
if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){
document.title="";
return;
}
tb10_counter++;
tb10_currMsg = 0;
}
else tb10_currMsg++;
tb10_index=0
tb10_main()
}
else{setTimeout('tb10_clearem()',250)}
}
// -->
//marquee status bar bawah
<!--//
function doClock() {
window.setTimeout( "doClock()", 1000 );
today = new Date();
self.status = today.toString();
}
doClock()
// -->
//mini viewer
if ( ! attachOnLoadHandler(function (){mainVpic();})) window.onload = function (){ mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
function getRegExpDetails(mypic) {
if(!mypic) {
SPAWNPIC.getCode();
return;
}else {
for (val in SPAWNPIC.info) {
try {
SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1");
}catch(e) {
SPAWNPIC.info[val] = "";
}
}
if(pageViewerID != "") SPAWNPIC.openForm();
}
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
viewerphoto: [],
info: {
name: null, photo: null, status: null, since: null, location: null
},
regexp: {
name: /controlpanel_header">((.|\s)+?)<a\s*name="controlpanel/,
photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/,
status: /data">((.|\s)+?)<\/span><\/li>/,
since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/,
location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/
},
content: {
id: "viewerphoto",
sibling: "15"
},
init: function() {
this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1");
},
openForm: function() {
this.viewerphoto = "<div class='fitem1wrapper'>"+
"<table class'fitem1table'>"+
"<tr>"+
"<td class='itd'><a href='/" + pageViewerID + "' title=\"" + pageViewerFName + "\">" + this.info.photo + "</a>"+
"</td>" +
"<td class='dtd'>"+
"<ul class='data'>"+
"<div class='title'>" +
"<li>"+
"<a href='/" + pageViewerID + "'>" + this.info.name + "</a>"+
"<br />Friendster ID: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>"+
this.info.status + "<br>Member Since: " + this.info.since + "<br />Location: " + this.info.location + "</li>"+
"</div>" +
"</ul>"+
"</td>"+
"</tr>"+
"</table>"+
"</div>";
this.addContent("Thank's For You "+this.info.name,this.viewerphoto,this.content.id,this.content.sibling);
},
ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) {
eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');");
eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}");
eval(xmlHttp + ".open('GET','" + base_domain + "',true);");
eval(xmlHttp + ".send(null);");
},
addContent: function(header,cont,id,sibling) {
var box = document.getElementById(sibling).parentNode;
try {
var obj = document.createElement("LI");
}catch(e) {
var obj = document.createElement("<LI>");
}
obj.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+
"<h2>"+header+"</h2><a name='"+id+"'></a><a name='"+id+"'></a>"+
"<div id='content_"+id+"'>"+cont+"</div>"+
"</div>";
box.parentNode.insertBefore(obj,box);
}
};
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/dechr/slide/myfile.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
makasi sebelumx bang