function addTickerNewsF(href, html) {
	var tickerNews = new Array();

	tickerNews['href'] = href;
	tickerNews['html'] = html;

	return(tickerNews);
}

var aNewsF = new Array();


aNewsF[0] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=100478', '<b>Il Giardino di Delizia</b>');


aNewsF[1] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=99719', '<b>3^ Germogli di Primavera</b>');


aNewsF[2] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=101021', '<b>Babel Festival</b>');


aNewsF[3] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=100885', '<b>Sagra degli Asparagi</b>');


aNewsF[4] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=100606', '<b>Fiera del Gusto</b>');


aNewsF[5] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=100675', '<b>Sagra della ricotta e del formaggio</b>');


aNewsF[6] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=100493', '<b>Sagra del Cuscus Tabarchino</b>');


aNewsF[7] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=100377', '<b>Fiera di Aprile</b>');


aNewsF[8] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=100432', '<b>Corteo Storico di Santa Caterina</b>');


aNewsF[9] = addTickerNewsF('http://www.finesettimana.it/scheda.asp?id_gestione=100905', '<b>Bacco incontra Venere 2010</b>');


var numNewsF = 10;
var scrollercontentF = '';
scrollercontentF += '<font style="font-family:' + marqueefontface_ + '; color:' + marqueefontcolor_ + '; font-size:' + marqueefontsize_  + ';">';

for(var i = 0; i < numNewsF; i++) {
	scrollercontentF += '<a href="' + aNewsF[i]['href'] + '"><font color="' + marqueehrefcolor_ + '">' + aNewsF[i]['html'] + '</font></a>';
	if (i < (numNewsF - 1)) {
		scrollercontentF += '<br><br>';
	}
}

scrollercontentF += '</font>';

// Change nothing below!
marqueespeed_ = ((document.all) ? marqueespeed_ : Math.max(1, marqueespeed_ - 1));

//slow speed down by 1 for NS var
copyspeedF = marqueespeed_;

var iedomF = document.all || document.getElementById;

var actualheightF = '';

var cross_scrollerF, ns_scrollerF;

var pausespeedF = ((marqueepauseit_ == 0) ? copyspeedFFF : 0);

function populateVerticalF() {

	if (iedomF) {
		cross_scrollerF = (document.getElementById ? document.getElementById("iescrollerF") : document.all.iescrollerF);
		cross_scrollerF.style.top = parseInt(marqueeheight_)+8+"px";
		cross_scrollerF.innerHTML = scrollercontentF;
		actualheightF = cross_scrollerF.offsetHeight;
	}
	else if (document.layers) {
		ns_scrollerF = document.ns_scroller.document.ns_scroller2;
		ns_scrollerF.top = parseInt(marqueeheight_)+8;
		ns_scrollerF.document.write(scrollercontentF);
		ns_scrollerF.document.close();
		actualheightF = ns_scroller.document.height;
	}

	lefttimeF = setInterval("scrollscrollerF()",30);
}

function scrollscrollerF() {
	if (iedomF) {
		if (parseInt(cross_scrollerF.style.top) > (actualheightF*(-1)+8))	
			cross_scrollerF.style.top = (parseInt(cross_scrollerF.style.top)-copyspeedF)+"px";
		else
			cross_scrollerF.style.top = (parseInt(marqueeheight_)+8)+"px";
	}
	else if (document.layers) {
		if (ns_scrollerF.top > (actualheightF*(-1)+8))					ns_scroller.top -= copyspeedF;
		else															ns_scroller.top = parseInt(marqueeheight_)+8;
	}
}

if (iedomF || document.layers) {
	with (document) {

		document.write('<table border="0" cellspacing="0" cellpadding="0" style="border:'+marqueeborderwidth_+'px '+marqueebordercolor_+' solid">')
		document.write('<tr>')
		document.write('<td>')

		if (iedomF) {
			write('<div style="position:relative;width:'+marqueewidth_+'px;height:'+marqueeheight_+'px;overflow:hidden" onMouseover="copyspeedF=pausespeed" onMouseout="copyspeedF=marqueespeed_">');
			write('<div id="iescrollerF" style="position:absolute;left:0px;top:0px;width:100%;">');
			write('</div></div>');
		}
		else if (document.layers) {
			write('<ilayer width='+marqueewidth_+'px height='+marqueeheight_+'px name="ns_scroller">');
			write('<layer name="ns_scroller2" width='+marqueewidth_+'px height='+marqueeheight_+'px left=0 top=0 onMouseover="copyspeedF=pausespeed" onMouseout="copyspeedF=marqueespeed_"></layer>');
			write('</ilayer>');
		}

		document.write('</td>')
		document.write('</tr>')
		document.write('</table>')

	}
}

var oldVerticalOnloadF = window.onload;
window.onload=function() {if (oldVerticalOnloadF) oldVerticalOnloadF();populateVerticalF();}
