var step,diff,scrollspeed, retval;
function init()
{
	step=parseFloat(window.container.style.posTop)+parseFloat(window.container.style.posHeight);
	diff=(window.news.style.top-window.news.scrollHeight);
	scrollspeed=150; //Millisecs
	retval=setInterval("scrollnews();",scrollspeed);
}

function scrollnews()
{
	window.news.style.top = step;
	step-=2;
	if((parseFloat(window.news.style.posTop))<=diff)
	{
		step=parseFloat(window.container.style.posTop)+parseFloat(window.container.style.posHeight);
	}
}

function wait()
{
	//alert("retval b4: " + retval);
	
	clearInterval(retval);
	//retval = null;
	//retval=setInterval("scrollnews();",scrollspeed);
	//retval=0;
	//alert("retval after: " + retval);
}

function continu()
{
	retval = setInterval("scrollnews();",scrollspeed);
}
