var scroll_txt = "";
var istep=0;
var _delay;
function ScrollText(text,delay)
{scroll_txt = text;	istep = 0;	_delay = delay;	window.setTimeout("ScrollR2L()",_delay);}
function ScrollR2L()
{window.status = scroll_txt.substr(istep++);
	if (istep < scroll_txt.length)
		window.setTimeout("ScrollR2L()",_delay);
	else
		window.setTimeout("ScrollL2R()",_delay);
	return false;}
function ScrollL2R()
{window.status = scroll_txt.substr(istep--);
	if (istep > 0)
		window.setTimeout("ScrollL2R()",_delay);
	else
		window.setTimeout("ScrollR2L()",_delay);
	return true;}