var message;
var text;
var scrollSpeed	= 100;
var lineDelay	= 2000;

function scrollText( pos ) {
	if ( message.charAt( pos ) != '^' ) {;
		text   = text + message.charAt( pos );
		window.status = text;
		pause  = scrollSpeed;
	}
	else {
		pause = lineDelay;
		text   = "";
		if ( pos == message.length - 1 ) pos = -1;
	}
	pos++;
	setTimeout( "scrollText('" + pos + "')", pause );
}

function statusText( msg ) {
	text = "";
	message = msg + "^";
	scrollText(0);
}