
//altezza area testo link
hauteurcadre = 20;

xmenu = new Array;
xlien = new Array;

//array menu
xmenu[0] = 'ISTITUTO';
xmenu[1] = 'UFFICIO PUBBLICO';
xmenu[2] = 'BANDI E APPALTI';


xlien[0] = ''
xlien[1] = ''
xlien[2] = ''

xlien[0] += '<A HREF="./organi.htm" target=corpo CLASS=menudyn3><b>Organi</b></A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="./statuto.htm" target=corpo CLASS=menudyn3><b>Statuto</b></A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="./patrimonio.htm" target=corpo CLASS=menudyn3><b>Patrimonio</b></A>';
xlien[0] += ' | '
xlien[0] += '<A HREF="./regolamenti.htm" target=corpo CLASS=menudyn3><b>Regolamenti</b></A>';

xlien[1] += '<A HREF="./doc.htm" target=corpo CLASS=menudyn3>Documentazione</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="./faq.htm" target=corpo CLASS=menudyn3>Domande FAQ</A>';
xlien[1] += ' | '
xlien[1] += '<A HREF="./bandi_urp.htm" target=corpo CLASS=menudyn3>Bandi ERP</A>';

xlien[2] += '<A HREF="./bandi_appalti.htm" target=corpo CLASS=menudyn3>Bandi - Appalti - Consulenze</A>';



document.write('<STYLE TYPE="text/css">\nA.menudyn3 {color:#f0f0f0; text-decoration:none;}\nA:hover.menudyn3 {color:#003399;text-decoration:none;}\n</STYLE>');

document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xlien.length*100)+' BGCOLOR=#9EC6DF>  <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=100%>  <TR>');

for(i=0;i<xlien.length;i++)

{
	document.write('<TD BGCOLOR=#9EC6DF onMouseOver="javascript:colorIt(this);MajMenu('+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=1 FACE="Verdana"><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3><b>'+xmenu[i]+'</b></A></FONT></TD>');
	}
document.write('</TR>  <TR>    <TD COLSPAN='+(xlien.length)+' BGCOLOR=#0083D7 HEIGHT='+hauteurcadre+' VALIGN=top><ilayer id="dynamenu31" width=100% height='+hauteurcadre+'><layer id="dynamenu32" width=100% height='+hauteurcadre+'><div id="dynamenu33">&nbsp;</div></layer></ilayer></TD>  </TR></TABLE></TD></TR></TABLE>');

function colorIt(tditem)
	{
	if(document.all)
		{
			document.all.td0.style.background='#9EC6DF';
	document.all.td1.style.background='#9EC6DF';
	document.all.td2.style.background='#9EC6DF';
		tditem.style.background='#0083D7';
		}
else if(document.getElementById)
	{
			document.getElementById("td0").style.background='#9EC6DF';
	document.getElementById("td1").style.background='#9EC6DF';
	document.getElementById("td2").style.background='##9EC6DF';
tditem.style.background='#0083D7';
	}
}

function MajMenu(menu)
	{
	which = xlien[menu];
if (document.layers){
	document.dynamenu31.document.dynamenu32.document.write('<div align="center"><FONT SIZE=1 FACE="arial"><b>'+which+'</b></FONT></div>')
	document.dynamenu31.document.dynamenu32.document.close()
	}
	else if (document.getElementById)
			{
			document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=1 FACE="Verdana"><b>'+which+'</b></FONT></CENTER>';
			}
			else 	if (document.all){
	dynamenu33.innerHTML='&nbsp;'
	dynamenu33.innerHTML='<div align="center"><FONT SIZE=1 FACE="Arial"><b>'+which+'</b></FONT></div>';
	}
			
	
}
if (document.getElementById)
	colorIt(document.getElementById("td0"));
else if (document.all){
	colorIt(document.all.td0);
	}
MajMenu(0);

