var ScrollAmmount = 2;
var Tmp;

function ScrollText() {
	var ScrollObj = document.getElementById('ScrollContent')

	window.status=(parseInt(ScrollObj.style.left) + parseInt(ScrollObj.offsetWidth));
	if ((parseInt(ScrollObj.style.left) + parseInt(ScrollObj.offsetWidth)) < 0) {
		ScrollObj.style.left = parseInt(document.getElementById('ScrollContainer').style.width);
	}

	ScrollObj.style.left = (parseInt(ScrollObj.style.left) - ScrollAmmount) + 'px';

	clearInterval(Tmp);
	Tmp = setTimeout(RunScroller, 25);
}

function RunScroller() {
	Tmp = setInterval(ScrollText, 10);
}

function PauseScroller() {
	clearTimeout(Tmp);
}
