function allonloads() {
SBpopulate();




}

// Insert Smiles to text box
function x () {
	return;
}

function DoSmilie(addSmilie) {
	var addSmilie;
	var revisedMessage;
	var currentMessage = document.shoutform1.ShoutComment.value;
	revisedMessage = currentMessage+addSmilie;
	document.shoutform1.ShoutComment.value=revisedMessage;
	document.shoutform1.ShoutComment.focus();
	return;
}

//Drop-Down smilies
function MM_findObj(n, d) {
	var p,i,x;
	if(!d) d=document;
	if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document;
		n=n.substring(0,p);
	}
	if(!(x=d[n])&&d.all) {
		x=d.all[n];
	}
	for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && d.getElementById) {
		x=d.getElementById(n);
	}
	return x;
}

function expand(listID) {
	if (listID.style.display == "none") {
		listID.style.display = "";
	}
	else {
		listID.style.display = "none";
	}
	window.event.cancelBubble = true;
}

function contract(listID) {
	if (listID.style.display == "show") {
		listID.style.display = "";
	}
	else {
		listID.style.display = "none";
	}
	window.event.cancelBubble = true;
}
//end Drop-Down smilies

/*
Original Javascript code by dynamic drive, modified by SuperCat http://www.ourscripts.net
Cross browser Marquee II-  Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/
var SBscrollSpeed=1;
var SBiedom=document.all||document.getElementById;
var SBactualheight='';
var SBcross_marquee, SBns_marquee;
var SBtxt='';
if (SBiedom||document.layers){
	with (document){
		if (SBiedom){
			SBtxt+='<div style="position:relative;width:'+SBmarqueewidth+';height:'+SBmarqueeheight+';overflow:hidden" onmouseover="SBscrollSpeed=0" onmouseout="SBscrollSpeed=1">';
			SBtxt+='<div id="SBiemarquee" style="position:absolute;left:0px;top:0px;width:100%;">';
			SBtxt+='</div></div>';
		}
		else if (document.layers){
			SBtxt+='<ilayer width='+SBmarqueewidth+' height='+SBmarqueeheight+' name="SBns_marquee">';
			SBtxt+='<layer name="SBns_marquee2" width='+SBmarqueewidth+' height='+SBmarqueeheight+' left=0 top=0 onmouseover="SBscrollSpeed=0" onmouseout="SBscrollSpeed=1"></layer>';
			SBtxt+='</ilayer>';
		}
	}
}
function SBscrollmarquee(){
	if (SBiedom){
		if (parseInt(SBcross_marquee.style.top)>(SBactualheight*(-1)+8)) {
			SBcross_marquee.style.top=parseInt(SBcross_marquee.style.top)-SBscrollSpeed+"px";
		}
		else {
			SBcross_marquee.style.top=parseInt(SBmarqueeheight)+8+"px";
		}
	}
	else if (document.layers){
		if (SBns_marquee.top>(SBactualheight*(-1)+8)) {
			SBns_marquee.top-=SBscrollSpeed;
		}
		else {
			SBns_marquee.top=parseInt(SBmarqueeheight)+8;
		}
	}
}
function SBpopulate(){
	if (SBiedom){
		SBcross_marquee=document.getElementById? document.getElementById("SBiemarquee") : document.all.SBiemarquee;
		SBcross_marquee.style.top=parseInt(SBmarqueeheight)+8+"px";
		SBcross_marquee.innerHTML=SBmarqueecontent;
		SBactualheight=SBcross_marquee.offsetHeight;
	}
	else if (document.layers){
		SBns_marquee=document.SBns_marquee.document.SBns_marquee2;
		SBns_marquee.top=parseInt(SBmarqueeheight)+8;
		SBns_marquee.document.write(SBmarqueecontent);
		SBns_marquee.document.close();
		SBactualheight=SBns_marquee.document.height;
	}
	SBlefttime=setInterval("SBscrollmarquee()",50);
}
window.onload=allonloads;
