<!--
//Contents for menu 1
var menu1=new Array()

menu1[0]='<A  href="javascript:aprifinestra2(\'http://www.ildialogo.org/chisiamo.htm\' ,\'chisiamo\',\'460\',\'550\')" title="Chi siamo e dove trovarci">La nostra carta di identità</A>'
menu1[1]='<a href="javascript:aprifinestra2(\'http://www.ildialogo.org/notelegali/laredazione31082005.htm\' ,\'nuovafinestra\',\'460\',\'550\')" title="La nostra redazione e i collaboratori">La redazione</a>'
menu1[2]='<a href="javascript:aprifinestra2(\'http://www.ildialogo.org/notelegali/index.htm\' ,\'nuovafinestra\',\'460\',\'650\')" title="Le note legali">Note legali</a> '

//Contents for menu 2, and so on Aggiornamenti
var menu2=new Array()
menu2[0]='<A  href="javascript:aprifinestra2(\'http://www.ildialogo.org/lastday.php\' ,\'ultimo\',\'460\',\'550\')" class="last" title="Gli aggiornamenti dell\'ultimo giorno">Ultimo giorno</A>'
menu2[1]='<A  href="javascript:aprifinestra2(\'http://www.ildialogo.org/novita.htm\' ,\'novita\',\'460\',\'550\')" title="Gli aggiornamenti del sito dell\'ultimo mese" >Ultimo mese</A>'
menu2[2]='<A  href="javascript:aprifinestra2(\'http://www.ildialogo.org/lastarg.php\' ,\'novita\',\'460\',\'550\')" title="Gli ultimi 10 argomenti aggiornati" >Ultimi argomenti</A>'
menu2[3]='<A  href="javascript:aprifinestra2(\'http://www.ildialogo.org/news/index.htm\' ,\'newsett\',\'460\',\'700\')" title="Gli Aggiornamenti settimanali dal 1977 ad oggi" >Aggiornamenti settimanali</A>'
menu2[4]='<A type="application/rss+xml"  href="javascript:aprifinestra2(\'http://www.ildialogo.org/rss/rss.xml\' ,\'newrss\',\'460\',\'700\')" title="I FEED RSS" >FEED RSS</A>'
// contatti
var menu3=new Array()
menu3[0]='<A  href="javascript:aprifinestra2(\'http://www.ildialogo.org/scriviredazione.htm\' ,\'scriviredazione\',\'500\',\'600\')" title="Scrivi alla redazione">Scrivici</A>'
menu3[1]='<A  href="javascript:aprifinestra2(\'http://www.ildialogo.org/Home2/dovepuoitrovarci.htm\' ,\'chisiamo\',\'460\',\'550\')" title="Dove puoi trovarci">Dove puoi trovarci</A>'
menu3[2]='<a href="javascript:aprifinestra2(\'http://www.ildialogo.org/MailList/public_html/lists/?p=subscribe\' ,\'scrivinews\',\'500\',\'600\')" title="Per iscriversi alla nostra newsletter settimanale">Newsletter</a>'
// la rivista
var menu4=new Array()
menu4[0]='<a href="javascript:aprifinestra2(\'http://www.ildialogo.org/abbonamenti29102004.htm\' ,\'nuovafinestra\',\'460\',\'550\')" title="Come abbonarsi a il dialogo stampato">Abbonamenti</a>'
menu4[1]='<a  href="http://www.ildialogo.org/stampa/index.htm" target="_blank" title="I numeri arretrati de il dialogo in formato pdf">Il dialogo stampato</A>'
// servizi e avvisi
var menu5=new Array()
menu5[0]='<A  href="javascript:aprifinestra2(\'http://www.ildialogo.org/rassegnastampa.htm\' ,\'rassegna\',\'460\',\'550\')" title="La rassegna stampa">Rassegna Stampa</a>'
menu5[1]='<a href="javascript:window.external.AddFavorite(location.href, document.title);" target="_blank" title="Aggiungi questa pagina ai preferiti">Preferiti</a>'
menu5[2]='<a   href="javascript:;" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.ildialogo.org\');"><img src="http://www.ildialogo.org/casetta.jpg" alt=" "  border="0"> Fai de<em> &quot;il dialogo</em>&quot; la tua Home</a>'
menu5[3]='<a class=testosmall href="#">Per la corretta visualizzazione dei contenuti del sito occorre disabilitare il blocco dei pop-up. Sito ottimizzato per dimensioni dello schermo 800x640</a>' 
menu5[4]='<a href="http://www.ildialogo.org/FunzionamentoSito.pdf" align="_blank" title="Qualche spiegazione tecnica su Internet e su come funziona il sito" target="_blank">Come utilizzare al meglio il sito</a>' 
menu5[5]='<a href="http://www.adobe.it/products/acrobat/readstep.html" target="new_windows"><img border="0" height="31" width="88" src="http://www.ildialogo.org/getadobe.gif" alt="Scarica Acrobat Reader"></a> '

// partecipa
var menu6=new Array()
menu6[0]='<A  href="http://www.ildialogo.org/bb3forum/index.php" target="_blank"  title="Il forum de il dialogo"> Forum</A>'
menu6[1]='<a href="javascript:aprifinestra2(\'http://www.ildialogo.org/SelezionaVistaCommenti.htm\' ,\'finestraCommenti\',\'460\',\'550\')" title="Leggi tutti i commenti agli articoli">Commenti</a>'
menu6[2]='<a href="http://www.ildialogo.org/forum/index.htm" target="_blank" title="La pagina delle petizioni">Petizioni</a>'
menu6[3]='<a target="_blank" href="http://www.facebook.com/home.php#/group.php?gid=168088160673&amp;v=wall"><em><span style="color: #ff0000">il dialogo </span> su facebook</em></a>'

var menuwidth='200px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}

function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu
// -->
