//This script [that includes testo.js.txt] is property of Inglobe Technologies S.r.l.
//Author: F.Carlini for Inglobe Technologies S.r.l. - f.carlini@inglobetechnologies.com
//Site: http://www.inglobetechnologies.com
//Date: 29-10-2006 - Customer: Wavenet S.r.l.
//Copyright 2006 - All rights reserved -
//Don't remove this notice.

/*
========================= VARIABILI GLOBALI MODIFICABILI (DISATTIVATE) =====================
*/
var font_size = '11';         				// Dimensione Testo
var font_family = 'tahoma';      			// Tipo Font
var font_color = '#072a5e';       			// Colore Testo ..7b9dc8
var background_color = 'transparent';  			// Colore Sfondo
var larghezza_contenitore_news = '155';     // Larghezza Contenitore News
var altezza_contenitore_news = '95';       // Altezza Contenitore News
var velocita_scrolling = '1';           	// Velocità Scrolling
var allineamento_testo = 'justify';  			// Allineamento Testo



/*================ NON MODIFICARE IL CODICE SOTTOSTANTE ======================*/

window.create_scroller = function ()
{	
	news_container = document.getElementById('news_scroller');
	document.getElementById('news_scroller');
	news_container.innerHTML = '<div>';
	news_container.innerHTML = news_container.innerHTML + '<marquee LOOP="infinite" behavior="scroll" direction="up" truespeed=""  id="news" scrolldelay=65 style="A:link {color: white}; font-size: '+font_size+'px; font-family: '+font_family+'; color: '+font_color+'; text-align: '+allineamento_testo+'; background-color: '+background_color+'; width: '+larghezza_contenitore_news+'px; height: '+altezza_contenitore_news+'px;" onMouseOver="this.stop();" onMouseOut="this.start();"  scrollamount="'+velocita_scrolling+'"></marquee>';
	news_container.innerHTML = news_container.innerHTML + '</div>';
	news_body = document.getElementById('news');
	for (i=0; i<news_array.length; i++)
		{
		news_body.innerHTML += news_array[i]+'';
		}	

}
/*=================================== EOS ===================================*/

window.init_scroller = function ()
{	
	//window.setTimeout("document.getElementById('news_scroller').style.visibility = 'visible'", 5000);
	window.setTimeout("init_scroller_new()", 2500);
	return;
}


window.init_scroller_new = function () {
		//news_container = document.getElementById('news_scroller');
		//news_container.style.visibility = 'hidden';
		news_body = document.getElementById('news');
		//news_body.innerHTML += "Caricamento News..."; 	
		for (i=0; i<news_array.length; i++)
		{
		news_body.innerHTML += news_array[i]+'';
		}
}