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=1191084#news_id_1191084', '2 set 20:01 Reggio Calabria, Minacce a Scopelliti, Canale: "Inserite in un quadro destabilizzante"');
aNews[1] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1191087#news_id_1191087', '2 set 20:00 Roma, Per D\'Alema si può cambiare governo anche senza tornare al voto');
aNews[2] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1191070#news_id_1191070', '2 set 19:41 Roma, Finanza, raggiunto accordo di principio su autorità supervisione Ue ');
aNews[3] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1191073#news_id_1191073', '2 set 19:40 Roma, Moria api, Galan: Confermare stop insetticidi. La parola ora a Fazio');
aNews[4] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1191068#news_id_1191068', '2 set 19:33 Roma, Casini: Se elezioni anticipate Udc corre da sola');
aNews[5] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1191062#news_id_1191062', '2 set 19:26 Roma, Videocon, Abbruzzese: Ottimo lavoro della Zazza su cassa integrazione');
aNews[6] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1191058#news_id_1191058', '2 set 19:21 Roma, Usa, 6 miliardi e 800 milioni al Pam per Iraq e violenze genere');
aNews[7] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1191029#news_id_1191029', '2 set 18:58 Roma, Finiani all\'attacco, ma tutti aspettano Fini. Scontro Bersani-Pdl');
aNews[8] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1190991#news_id_1190991', '2 set 18:55 Roma, Fiat, Panorama ricostruisce vicenda 3 operai Melfi: "Fu sabotaggio" ');
aNews[9] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1191020#news_id_1191020', '2 set 18:47 Roma, Gas, Mse: Presentato piano Eni per realizzazione nuovi stoccaggi ');
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('