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=1081410#news_id_1081410', '13 mar 18:51 Roma, Di Pietro guida nuova “Unione” contro “fascismo” di Berlusconi');
aNews[1] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081404#news_id_1081404', '13 mar 18:33 Roma, The Front Page: Aiuto, a piazza del Popolo è rinata l\'Unione');
aNews[2] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081398#news_id_1081398', '13 mar 18:15 Roma, Tremonti: Gestire la crisi, riforma fiscale in 2-3 anni');
aNews[3] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081366#news_id_1081366', '13 mar 16:15 Roma, Abusi, padre Lombardi: dal Papa sempre linea rigorosa e sicura');
aNews[4] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081335#news_id_1081335', '13 mar 15:01 Napoli, Napoli, bilancio di tagli. Iervolino: tanti progetti realizzati');
aNews[5] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081340#news_id_1081340', '13 mar 14:56 Roma, Bonino: da questa piazza "riscossa democratica e civile"');
aNews[6] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081324#news_id_1081324', '13 mar 14:11 Roma, Trani, Minzolini non è indagato. Il premier: inchiesta grottesca');
aNews[7] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081309#news_id_1081309', '13 mar 13:25 Roma, Immigrati, Cassazione: Su caso albanese sentenza non innova');
aNews[8] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081301#news_id_1081301', '13 mar 12:50 Roma, In manette il latitante Tutti, Maroni: Altro duro colpo alla camorra');
aNews[9] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1081283#news_id_1081283', '13 mar 12:11 Roma, Berlusconi: Di Pietro ha ammanettato anche la Bonino');
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('