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