var scrllTmr;
window.onload = function(){
	//get canvas
	cw = parseInt(document.getElementById('scroll').offsetWidth);
	w = parseInt(document.getElementById('scrollme').offsetWidth);

	//start scroll
	lft = cw;
	document.getElementById('scrollme').style.left = lft + "px";
	scrollStep(cw,w,lft);
}
function scrollStep(cw,w,lft){
	//calc and do step
	if(lft == 0 - w)
		lft = cw;
	document.getElementById('scrollme').style.left = lft + "px";

	//wait and do next...
	if(scrllTmr)
		clearTimeout(scrllTmr);
	scrllTmr = setTimeout('scrollStep(cw,w,' + (lft - 1) + ')',10);
}

