<!--//
var bannerWidth;
/* Function that does the actually scrolling */
function scrollIt(Left, dx, speed) {
	var text = document.getElementById('canvasText');
	Left -= dx;
	text.style.left = Left + "px";
	if (Left > (-bannerWidth+10))
		timerID = setTimeout("scrollIt(" + Left + ", " + dx + ", " + speed + ")", speed);
	else{
		startScroll();
	}
}

function startScroll(){
	var el = document.getElementById("canvasText");
	bannerWidth = msgWidth = el.offsetWidth;
  	el.style.left = bannerWidth + "px";
	timerID = scrollIt(bannerWidth, 2, 16);
}
//-->