  var right="";
  var left="";

	function scrollL(){
		scrollLeft('thumbs');
	}

	function scrollR(){
		scrollRight('thumbs');
	}

	function scrollLeft(id) {
		clearTimeout(right);
		document.getElementById(id).scrollLeft=document.getElementById(id).scrollLeft+3;	 
		left = setTimeout("scrollLeft('"+id+"')",10);
	}

	function scrollRight(id) {
		clearTimeout(left);
		document.getElementById(id).scrollLeft=document.getElementById(id).scrollLeft-3;	 
		right = setTimeout("scrollRight('"+id+"')",10);
	
	}

	function stop() {
		clearTimeout(left);
		clearTimeout(right);
	}
