[quote=bluemango]what if i wanted a video below my FRIENDS and an mp3 below my GROUPS?

[/quote]
[quote]if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};
function loadBox() {
var video="[b]YOUR VIDEO CODE HERE[/b]";
addMainSideBox("[b]YOUR TITLE[/b]",video,"video","[b]friends_2_2[/b]");
var mp3="[b]YOUR MP3 CODE HERE[/b]";
addMainSideBox("[b]YOUR TITLE[/b]",mp3,"mp3","[b]groups_2_5[/b]");
}
function addMainSideBox(header,cont,id,target) {
var tb = document.getElementById(target).parentNode;
var divid="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+header+"</h2>"+
"<div id='content_"+id+"'>"+
cont+
"</div>"+
"</div>";
var obj = document.createElement("li");
obj.innerHTML=divid;
tb.appendChild(obj);
}[/quote]