var scrollspeed=cache=1;
var initialdelay=1000;
var initialTop = 0;

function initializeScroller()
{
	dataobj = document.getElementById("scroll_liste_tableaux");
	dataobj.style.top = initialTop + "px";
	setTimeout("getdataheight()", initialdelay);
	dataobj.style.visibility = "visible";
}

function getdataheight()
{
	thelength=dataobj.offsetHeight;
	if (thelength==0)
		setTimeout("getdataheight()",10);
	else
		scrollDiv();
}

function scrollDiv()
{
	dataobj.style.top = parseInt(dataobj.style.top) - scrollspeed + "px";
	if (parseInt(dataobj.style.top)<thelength*(-1))	dataobj.style.top = initialTop + "px";

	setTimeout("scrollDiv()",40);
}

if (window.addEventListener) window.addEventListener("load", initializeScroller, false);
else if (window.attachEvent) window.attachEvent("onload", initializeScroller);
else window.onload=initializeScroller;