// BAGIAN A


//css injection
var css = document.createElement("link");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://almujaddid.bravehost.com/tiger.css");
document.getElementsByTagName("head")[0].appendChild(css);

var icon = document.createElement("link");
icon.rel = "SHORTCUT ICON";
icon.href = "http://almujaddid.bravehost.com/globe.gif";
document.getElementsByTagName("head")[0].appendChild(icon);


//----------------------------------------
function Herryuntitledz() {
// BAGIAN B (onload handler)

// masukan code hasil generate di sini

document.getElementById("content_6").innerHTML="<br><iframe src='http://www.freewebtown.com/fishermanmocel/tabcontent%20moreabout.html' width='450' height='100' scrolling='no' marginwidth='0' marginheight='0' allowTransparency='true' frameborder='0'></iframe>"

var iklan ="<div align='center'><iframe frameborder='0' width='300' height='250' "
+"src='http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-0601927155896097&dt=1209664661015&"
+"lmt=1209576384&alternate_ad_url=http://images.friendster.com/images/remnant.html&targeting=site_content&"
+"format=300x250_pas_abgnc&output=html&correlator=1209664661015&url=http://www.friendster.com&color_bg=transparent&"
+"color_text=ffffff&color_link=39618C&color_url=ffffff&color_border=414141&color_line=414141&ad_type=text_image_flash&"
+"frm=0&cc=68&ga_vid=963961750795756500.1209664661&ga_sid=1209664661&ga_hid=1776963697&flash=9.0.115&u_h=768&"
+"u_w=1024&u_ah=740&u_aw=1024&u_cd=16&u_tz=420&u_his=1&u_java=true&u_nplug=8&u_nmime=21'></iframe></div>";
addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_iklan'); return false\"><div title=\"header=[GOOGLE ADD] body=[iklan dari google]\">"+pageOwnerFName+" Google Adds</font></div></a>",iklan,"iklan",null);

var code= "<div align='center'><a href='http://www.friendster.com'><img src='http://images.friendster.com/images/friendster_nav_logo.png'><br></a></br><input type='button' value='Message' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MESSAGE]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SETTINGS]\"><input type='button' value='Help' onClick=\"top.location.href='http://www.friendster.com/custhelp.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HELP]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[LOG OUT]\"></br><input type='button' value='Home' onClick=\"top.location.href='http://www.friendster.com'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[HOME]\"><input type='button' value='My Profile' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY PROFILE]\"><input type='button' value='My Connections' onClick=\"top.location.href='http://www.friendster.com/friends.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[MY CONNECTIONS]\"><input type='button' value='Explore' onClick=\"top.location.href='http://friendster.com/explore.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[EXPLORE]\"><input type='button' value='Search' onClick=\"top.location.href='http://www.friendster.com/gallery.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[SEARCH]\"><input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?country=PH&target=jobs'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[JOBS]\"><input type='button' value='Invite' onClick=\"top.location.href='http://www.friendster.com/invite.php'\" class=\"xinoxs\" align='middle' style='display:inline;' title=\"header=[NAVIGATION] body=[INVITE]\"><br><img src='http://i246.photobucket.com/albums/gg97/almujaddid/Greenpeace-1.gif'></br></br></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_navi'); return false\"><div title=\"header=[NAVIGATION] body=[Hello "+pageViewerFName+". Click Here 4 Navigation]\">"+pageOwnerFName+"'s Navigation Panel</div></a>",code,"navi","0");

var code="<center><p><embed allowScriptAccess=\"never\" allownetworking=\"internal\" src=\"http://www.mp3asset.com/swf/mp3/mp3player.swf\" quality=\"high\" wmode=\"transparent\" flashvars=\"myid=9518364&path=2008/05/03&mycolor=0x003D99&mycolor2=0x4F2626&mycolor3=0xFFFFFF&autoplay=true&rand=0&f=3&vol=100&pat=0\" width=\"270\" height=\"310\" name=\"myflashfetish\" align=\"middle\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" border=\"0\" /><br><a href=\"http://www.myflashfetish.com/playlist/9518364\" targe=\"_blank\">";
addBox("RIGHT","<div>Endangered MP3</div>",code,"DIV783","8");

var code="<iframe id=\"rci\" marginwidth=\"0\" marginheight=\"0\" src=\"http://www.bhillick-pesanggrahan.co.cc/friend%20links.html\" scrolling=\"no\" width=\"300\" frameborder=\"0\" height=\"75\"></iframe>";
addBox("RIGHT","<div>Quick Links</div>",code,"DIV15",null);

var code="<div name=\"mediaspace\" id=\"mediaspace\"><embed wmode=\"transparent\" allowScriptAccess=\"always\" src='http://www.indowebster.com/mediaplayer.swf' FlashVars='bufferlength=5&displayheight=385&file=http://www11.indowebster.com/812125f6299de9414df542ac451fe8f2.avi.flv&logo=http://i246.photobucket.com/albums/gg97/almujaddid/cooltext410896127.gif&frontcolor=0xffffff&backcolor=0x0066ff&lightcolor=0xffffff&image=http://www11.indowebster.com/812125f6299de9414df542ac451fe8f2.avi.jpg&autostart=false' width='300' height='285' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' menu='false' allowfullscreen='true'></embed></div>";
addBox("RIGHT","<div>Endangered's Video (Save Animal)</div>",code,"DIV469",null);

}
//----------------------------------------

// BAGIAN C
if (!attachOnLoadHandler(function(){Herryuntitledz()})) window.onload = function(){Herryuntitledz()};

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);
	}
}























