<SCRIPT LANGUAGE="JavaScript">
//var stile = "toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=1,width=605,left = 362,top = 184";
function popUp(URL,h,w) {
if (h==0)
h = 300;
if (w==0)
w = 400;
window.open(URL,"","toolbar=0,scrollbars=0,locatio n=0,statusbar=0,menubar=0,resizable=1,width="+w+", height="+h+",left = 362,top = 184");
}
</SCRIPT>
<script type="text/javascript">
//velocità dello scroll. Larger=faster (ie: 5)
var scrollspeed=cache=1
//ritardo iniziale prima che lo scrolling inizi (in millisecondi):
var initialdelay=0
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(){
dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed+"px"
if (parseInt(dataobj.style.top)<thelength*(-1))
dataobj.style.top="345px"
setTimeout("scrollDiv()",30)
}
if (window.addEventListener)
window.addEventListener("load", initializeScroller, false)
else if (window.attachEvent)
window.attachEvent("onload", initializeScroller)
else
window.onload=initializeScroller
</script>