function addTickerNews(href, html) {
var tickerNews = new Array();
tickerNews['href'] = href;
tickerNews['html'] = html;
return(tickerNews);
}
var aNews = new Array();
aNews[0] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078437#news_id_1078437', '10 mar 13:46 Roma, Roma, con sciopero Cgil venerdì trasporti a rischio');
aNews[1] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078426#news_id_1078426', '10 mar 13:32 Roma, Ocse all’Italia: via lo Stato dalle utilities e più concorrenza');
aNews[2] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078418#news_id_1078418', '10 mar 13:30 Roma, Regionali, Berlusconi: Prevarremo comunque su slealtà sinistra');
aNews[3] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078410#news_id_1078410', '10 mar 13:20 Roma, Fme, economisti europei scettici sulla sua istituzione');
aNews[4] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078398#news_id_1078398', '10 mar 13:06 Roma, Roma, la statua del Pasquino dopo restauro torna alla città');
aNews[5] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078393#news_id_1078393', '10 mar 13:01 Roma, Pa, l\'\'Italia degli innovatori\' va a Shanghai per l\'Expo');
aNews[6] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078380#news_id_1078380', '10 mar 12:47 Roma, Pdl, Fini: presidente della Camera non va a manifestazioni');
aNews[7] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078377#news_id_1078377', '10 mar 12:42 Roma, Spagna, nuove polemiche sul ricorso alle pensioni integrative');
aNews[8] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078371#news_id_1078371', '10 mar 12:35 Roma, Banca Generali: 165 mln raccolta febbraio, 281 mln nel 2010');
aNews[9] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078355#news_id_1078355', '10 mar 12:22 Roma, Bosnia, Utl dona attrezzature per sviluppo rurale');
var numNews = 10;
function populate() {
if (iedom) {
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
}
else if (document.layers) {
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=parseInt(marqueewidth)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
}
}
function setScrollInterval() {
lefttime=setInterval("scrollmarquee()",20)
}
function scrollmarquee() {
if (iedom) {
if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
else
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
}
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=parseInt(marqueewidth)+8
}
}
function getMarqueeWidth() {
var mywidth = marqueewidth
if (subtractMode) {
if (iedom) {
if (document.all) {
mywidth=document.body.offsetWidth
mywidth -= 55
}
else {
mywidth=document.getElementsByTagName("body")[0].offsetWidth
mywidth -= 35
}
}
else if (document.layers) {
mywidth=window.innerWidth
}
mywidth -= subtractModeWidth
}
return(mywidth)
}
function resizeMarquee() {
marqueewidth = getMarqueeWidth();
if (iedom) {
cross_marquee_container=document.getElementById ? document.getElementById("marqueeContainer1") : document.all.marqueeContainer1
cross_marquee_container.style.width = marqueewidth+"px"
cross_marquee_container=document.getElementById ? document.getElementById("marqueeContainer2") : document.all.marqueeContainer2
cross_marquee_container.style.width = marqueewidth+"px"
}
else if (document.layers) {
document.ns_marquee.document.width = marqueewidth
}
populate();
}
var marqueecontent = '';
marqueecontent += '
| ')
if (iedom) {
write(' ')
write(' ')
}
else if (document.layers) {
write('')
write('')
write(' ')
write(' | ')
document.write('