var scrollSpeed = 0;
var scrollDirection = 1;

function doScroll()
{
	if (scrollSpeed > 0)
	{
		document.getElementById('scrollcontent').scrollTop = document.getElementById('scrollcontent').scrollTop + (scrollSpeed * scrollDirection);
		setTimeout("doScroll()", 10);
  }
}

function stopScroll()
{
	scrollSpeed = 0;
}

function startScroll(direction)
{
	scrollDirection = direction;
	scrollSpeed = 3;
	doScroll();
}
