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=1078100#news_id_1078100', '9 mar 20:41 Roma, Pd in piazza, Rondolino: Manifestazione ad personam lo farà perdere');
aNews[1] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078094#news_id_1078094', '9 mar 20:34 Roma, Afghanistan, inaugurato ponte costruito da militari italiani');
aNews[2] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078091#news_id_1078091', '9 mar 20:27 Roma, Roma, nuovo stop a lista Pdl. No a rinvii da Bersani e Berlusconi');
aNews[3] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078089#news_id_1078089', '9 mar 20:26 Roma, *Regionali Lazio, Ufficio elettorale non ammette lista Pdl');
aNews[4] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078065#news_id_1078065', '9 mar 19:50 Roma, Gb, testa a testa tra Laburisti e Tories in 100 collegi contesi');
aNews[5] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078060#news_id_1078060', '9 mar 19:49 Roma, Cina, scoperti altri 137 chilometri di Grande Muraglia');
aNews[6] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078061#news_id_1078061', '9 mar 19:46 Roma, Formula 1, per Ecclestone Roma in calendario dal 2013');
aNews[7] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078025#news_id_1078025', '9 mar 19:41 Roma, Agricoltori in piazza, Cia: Nel 2015 Italia assorbe 30% del made In');
aNews[8] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1078024#news_id_1078024', '9 mar 19:39 Roma, Napolitano smentisce ricostruzioni su incontro con Premier');
aNews[9] = addTickerNews('http://www.ilvelino.it/articolo.php?Id=1077991#news_id_1077991', '9 mar 19:10 La Paz, Bolivia-Uruguay, torna in agenda lo sbocco atlantico per La Paz');
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('