// JavaScript Document

scrollSpeed = 25;
lineDelay = 2000;
txt = "";
function scrollText(pos) { 
	if (scrollmessage.charAt(pos) != '^') { 
		txt = txt + scrollmessage.charAt(pos);
		document.getElementById('scrollmessagearea').innerHTML=txt;
//		status = txt;
		pause = scrollSpeed; 
	} 
	else { 
		pause = lineDelay;
	txt = "";
	if (pos == scrollmessage.length-1) pos = -1
	} 
		pos++;
		setTimeout("scrollText('"+pos+"')",pause); 
} 
scrollText(0);
