<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
//slider's width
var swidth=140

//slider's height
var sheight=85

//slider's speed ecosistemaUrbano2005.zip
var sspeed=2

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
var singletext=new Array()
// Testi menu news
//singletext[0]='<DIV ALIGN="center"><A HREF="../html/documents/IdeAzione21_schedacouponfamiglie.zip" CLASS="agenda21_newstext"><SPAN CLASS="agenda21_newstext">ideAzione21 - Risparmiare meglio in casa</SPAN></A></DIV>'
singletext[0]='<DIV ALIGN="center"><A HREF="../html/news_mosuel.html" CLASS="agenda21_newstext"><SPAN CLASS="agenda21_newstext">Gruppo Tematico "Regolamento edilizio e risparmio energetico"</SPAN></A></DIV>'
singletext[1]='<DIV ALIGN="center"><A HREF="../html/forum_gruppitematici_05.html" CLASS="agenda21_newstext"><SPAN CLASS="agenda21_newstext">MOSEF valutazione del Piano Mobilita</SPAN></A></DIV>'
singletext[2]='<DIV ALIGN="center"><A HREF="../html/verbali_forum_plenario.html" CLASS="agenda21_newstext"><SPAN CLASS="agenda21_newstext">Forum Plenario del 14/12/05</SPAN></A></DIV>'
singletext[3]='<DIV ALIGN="center"><A HREF="../html/agenda21lecco_pac.html" CLASS="agenda21_newstext"><SPAN CLASS="agenda21_newstext">Piano di Azione Comunale</SPAN></A></DIV>'
singletext[4]='<DIV ALIGN="center"><A HREF="../html/iniziative_a_che_punto_siamo.html" CLASS="agenda21_newstext"><SPAN CLASS="agenda21_newstext">A che punto siamo ...</SPAN></A></DIV>'
singletext[5]='<DIV ALIGN="center"><A HREF="../html/agenda21_iniziative.html" CLASS="agenda21_newstext"><SPAN CLASS="agenda21_newstext">Visita le pagine delle iniziative</SPAN></A></DIV>'
//singletext[2]='<DIV ALIGN="center"><A HREF="../html/agenda21lecco_stato.html" CLASS="agenda21_newstext"><SPAN CLASS="agenda21_newstext">Testo di prova</SPAN></A></DIV>'
//singletext[1]='<div align="center"><font face=Arial size=3 color="white">Use this for announcements<br>or even <font color="#FFFF00"><b><i>images</i></b><p><img src="/img/1.gif" width="100" height="39" border="0"></font></div>'
//singletext[2]='<div align="center"><font face=Arial size=3 color="white">This is great!<br>You can use <i>all</i> the <b>basic</b><br><b>HTML codes</b></font></div>'
//singletext[3]='<div align="center"><font face=Arial size=3 color="white"><b>JavaScript Source</b><br>A "cut & paste" JavaScript library<br>with <font color="red"><b>tons</b></font> of free JavaScripts!<p><img src="/img/1.gif" width="100" height="39" border="0"></font></div>'
if (singletext.length>1)
i=1
else
i=0
function start(){
if (document.all){
ieslider1.style.top=sheight
iemarquee(ieslider1)
}
else if (document.layers){
document.ns4slider.document.ns4slider1.top=sheight
document.ns4slider.document.ns4slider1.visibility='show'
ns4marquee(document.ns4slider.document.ns4slider1)
}
else if (document.getElementById&&!document.all){
document.getElementById('ns6slider1').style.top=sheight
ns6marquee(document.getElementById('ns6slider1'))
}
}
function iemarquee(whichdiv){
iediv=eval(whichdiv)
if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
iediv.style.pixelTop=0
setTimeout("iemarquee(iediv)",100)
}
if (iediv.style.pixelTop>=sheight*-1){
iediv.style.pixelTop-=sspeed
setTimeout("iemarquee(iediv)",100)
}
else{
iediv.style.pixelTop=sheight
iediv.innerHTML=singletext[i]
if (i==singletext.length-1)
i=0
else
i++
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
if (ns4layer.top>0&&ns4layer.top<=sspeed){
ns4layer.top=0
setTimeout("ns4marquee(ns4layer)",100)
}
if (ns4layer.top>=sheight*-1){
ns4layer.top-=sspeed
setTimeout("ns4marquee(ns4layer)",100)
}
else{
ns4layer.top=sheight
ns4layer.document.write(singletext[i])
ns4layer.document.close()
if (i==singletext.length-1)
i=0
else
i++
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
if (parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){
ns6div.style.top=0
setTimeout("ns6marquee(ns6div)",100)
}
if (parseInt(ns6div.style.top)>=sheight*-1){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6marquee(ns6div)",100)
}
else{
ns6div.style.top=sheight
ns6div.innerHTML=singletext[i]
if (i==singletext.length-1)
i=0
else
i++
}
}
//  End -->
