function subir(){
	scrollspeed=-4;
}
function descer(){
	scrollspeed=4;
}
function parar(){
	scrollspeed=0;
}
//Specify speed of scroll. Larger=faster (ie: 5)
var scrollspeed=cache=0;

//Specify intial delay before scroller starts scrolling (in miliseconds):
var initialdelay=10;

function initializeScroller(){
dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer")
dataobj.style.top="5px"
setTimeout("getdataheight()", initialdelay)
}

function getdataheight(){
thelength=dataobj.offsetHeight
if (thelength==0){
	setTimeout("getdataheight()",10);
}else{
	scrollDiv();
}
}

function scrollDiv(){


if (parseInt(dataobj.style.top)<(thelength*(-1)+385)){
	dataobj.style.top=(parseInt(dataobj.style.top)+1)+"px";
	scrollspeed=0;
}
if (parseInt(dataobj.style.top)>10){
	dataobj.style.top=(parseInt(dataobj.style.top)-1)+"px";
	scrollspeed=0;
}



dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed+"px";
setTimeout("scrollDiv()",40);
}

if (window.addEventListener){
window.addEventListener("load", initializeScroller, false);
}else if (window.attachEvent){
window.attachEvent("onload", initializeScroller);
}else{
window.onload=initializeScroller
}
