	var scrollSpeed = 100;
	var scrollChars = 1;
	var nWidth = 800;
	var nHeight = 20;
	var nFontSize = 10;
	
	if (document.layers){
	   	//Netscape 4 specific code
		pre = 'document.frmMarquee.';
		postStyle = '';
		post = '';
		fontNum = 12;
	   }
	if (document.getElementById){
		//Netscape 6 specific code
		pre = 'document.getElementById("';
		post ='")';
		postStyle = '.style';
		fontNum = 7;
	   }
	if (document.all){
		//IE4+ specific code
		pre = 'document.all.';
		postStyle = '.style';
		post = '';
		fontNum = 3;
	   }	
	
	function onLoadMarquee(scrollText){
		var inptMsg = eval(pre + 'marquee' + post);
		var inptMsgStyle = eval(pre + 'marquee' + post + postStyle);

		var i;
		inptMsgStyle.width = nWidth;
		inptMsgStyle.height = nHeight;
		inptMsgStyle.fontSize = nFontSize;
		var nspaces = nWidth / fontNum;
		var space = "";
		for (i=0; i<nspaces; i++){
			space += " ";
		}
		inptMsg.value = space;
		inptMsg.value += scrollText;
		scrollMarquee();
	}
	   
	function scrollMarquee(){
		var inptMsg = eval(pre + 'marquee' + post);
		var msg = inptMsg.value;
		inptMsg.value = msg.substring(scrollChars) + msg.substring(0,scrollChars);		 
		window.setTimeout('scrollMarquee()', scrollSpeed);
	}
