<!--
// ---- Sezione personalizzabile (v. scheda nel sito: http://www.jsdir.com/staffscripts/script063.asp)
var AltezzaLinee=100;
var Velocita = 100;
var Intervallo = 0
var Step=2;
// ---- Fine sezione personalizzabile

var nn = document.layers?true:false;
var N6 = navigator.userAgent.toLowerCase().indexOf("gecko")!=-1?true:false;
var LayText=null;
var AltezzaLivello=0;
var LarghezzaLivello=0;
var Limite =0;
var texTop=0;
var DeltaTop = 0;
var timsc=null;

function Start()
	{
	LayText=nn?document.layers.news:N6?document.getElementById("news").style:document.all.news.style;
	DeltaTop=nn?LayText.top:N6?document.getElementById("news").offsetTop:document.all.news.offsetTop;
	AltezzaLivello=parseInt(nn?LayText.clip.height:N6?LayText.height:LayText.height);
	LarghezzaLivello=parseInt(nn?LayText.clip.width:N6?LayText.width:LayText.width);
	Limite=-AltezzaLivello+(nn?LayText.document.height:N6?document.getElementById("divN6").offsetHeight:document.all.news.clientHeight);
	setTimeout("Move()",Intervallo);
	}

function Move(where)
	{
	pos=texTop+3
	LayText.top=-pos+DeltaTop;
	if (nn)
		{
		LayText.clip.top=pos;
		LayText.clip.bottom=eval(pos+AltezzaLivello);
		}
		else
		LayText.clip = "rect(" + pos + ", " + LarghezzaLivello + ", " +eval(pos+AltezzaLivello) + ", 0)";
	texTop>=Limite?texTop=0:texTop+=Step;

	if (texTop % AltezzaLinee != 0 )
		setTimeout("Move()",Velocita);
	else
		setTimeout("Move()",Intervallo);

	if (texTop==Limite)
			texTop=0;

	}
//-->
