
function createMenu(idMenu) 
{
			if(idMenu == "0") 
			{
				document.getElementById("submenu").innerHTML = "<img src='/img/spacer.gif' width='263' height='12'>";
				document.getElementById("dir0").style.background = "#FFFFFF";
				document.getElementById("dir1").style.background = "#003366";
				document.getElementById("dir2").style.background = "#003366";
				//document.getElementById("dir3").style.background = "#003366";
				document.getElementById("dir4").style.background = "#003366";
				document.getElementById("dir5").style.background = "#003366";
				document.getElementById("dir0txt").style.color = "#003366";
				document.getElementById("dir1txt").style.color = "#FFFFFF";
				document.getElementById("dir2txt").style.color = "#FFFFFF";
				//document.getElementById("dir3txt").style.color = "#FFFFFF";
				document.getElementById("dir4txt").style.color = "#FFFFFF";
				document.getElementById("dir5txt").style.color = "#FFFFFF";
				document.getElementById("dir0txt").style.textDecorationNone;
			}
			else
				if(idMenu == "1") 
				{
					//<?php print "src=".PATH_IMG."/spacer.gif" ?>
					//document.getElementById("submenu").innerHTML = "<img src='C:\Programmi\Apache Software Foundation\Apache2.2\htdocs\sito_HG.PHP\img\spacer.gif' width='80' height='12'><a href='azienda/chi_siamo.html'>chi siamo</a> &#8226; <a href='azienda/cosa_facciamo.html'>cosa facciamo</a> &#8226; <a href='azienda/sede.html'>dove siamo</a> &#8226; <a href='azienda/storia.html'>storia</a> &#8226; <a href='azienda/mission.html'>mission</a> &#8226; <a href='azienda/clienti.html'>clienti</a>";	
					//document.getElementById("submenu").innerHTML = "<img src='/img/spacer.gif' width='80' height='12'><a href='/azienda.php?serv=chi_siamo'>chi siamo</a> &#8226; <a href='/azienda.php?serv=cosa_facciamo'>cosa facciamo</a> &#8226; <a href='/azienda.php?serv=sede'>dove siamo</a> &#8226; <a href='/sito_HG.PHP/azienda.php?serv=storia'>storia</a> &#8226; <a href='/azienda.php?serv=mission'>mission</a> &#8226; <a href='/azienda.php?serv=clienti'>clienti</a>";	
					
					document.getElementById("submenu").innerHTML = "<img src='/img/spacer.gif' width='80' height='12'><a href='/azienda.php?serv=chi_siamo'>chi siamo</a> &#8226; <a href='/azienda.php?serv=cosa_facciamo'>cosa facciamo</a> &#8226; <a href='/azienda.php?serv=sede'>dove siamo</a> &#8226; <a href='/azienda.php?serv=storia'>storia</a> &#8226; <a href='/azienda.php?serv=mission'>mission</a> &#8226; <a href='/azienda.php?serv=clienti'>clienti</a>";	
					
					
					document.getElementById("dir0").style.background = "#003366";
					document.getElementById("dir1").style.background = "#FFFFFF";
					document.getElementById("dir2").style.background = "#003366";
					//document.getElementById("dir3").style.background = "#003366";
					document.getElementById("dir4").style.background = "#003366";
					document.getElementById("dir5").style.background = "#003366";
					document.getElementById("dir0txt").style.color = "#FFFFFF";
					document.getElementById("dir1txt").style.color = "#003366";
					document.getElementById("dir2txt").style.color = "#FFFFFF";
					//document.getElementById("dir3txt").style.color = "#FFFFFF";
					document.getElementById("dir4txt").style.color = "#FFFFFF";
					document.getElementById("dir5txt").style.color = "#FFFFFF";
					document.getElementById("dir1txt").style.textDecorationNone;
				} 
			else 
				if(idMenu == "2") 
				{
					document.getElementById("submenu").innerHTML = "<img src='/img/spacer.gif' width='290' height='12'><!--a href='informazioni/normativa.html'-->normativa<!--/a--> &#8226; <!--a href='informazioni/siti_enti_pubblici.html'-->siti di enti pubblici<!--/a-->";
					document.getElementById("dir0").style.background = "#003366";
					document.getElementById("dir1").style.background = "#003366";
					document.getElementById("dir2").style.background = "#FFFFFF";
					//document.getElementById("dir3").style.background = "#003366";
					document.getElementById("dir4").style.background = "#003366";
					document.getElementById("dir5").style.background = "#003366";
					document.getElementById("dir0txt").style.color = "#FFFFFF";
					document.getElementById("dir1txt").style.color = "#FFFFFF";
					document.getElementById("dir2txt").style.color = "#003366";
					//document.getElementById("dir3txt").style.color = "#FFFFFF";
					document.getElementById("dir4txt").style.color = "#FFFFFF";
					document.getElementById("dir5txt").style.color = "#FFFFFF";
					document.getElementById("dir2txt").style.textDecorationNone;
				} 
			/*
			else 
				if(idMenu == "3") 
				{
					document.getElementById("submenu").innerHTML = "<img src='img/spacer.gif' width='365' height='12'><a href='editoria/informazioni_e_servizi.html'>informazioni e servizi</a> &#8226; <a href='editoria/fashion_e_cucina.html'>fashion &amp; cucina</a>";
					document.getElementById("dir0").style.background = "#003366";
					document.getElementById("dir1").style.background = "#003366";
					document.getElementById("dir2").style.background = "#003366";
					document.getElementById("dir3").style.background = "#FFFFFF";
					document.getElementById("dir4").style.background = "#003366";
					document.getElementById("dir5").style.background = "#003366";
					document.getElementById("dir0txt").style.color = "#FFFFFF";
					document.getElementById("dir1txt").style.color = "#FFFFFF";
					document.getElementById("dir2txt").style.color = "#FFFFFF";
					document.getElementById("dir3txt").style.color = "#003366";
					document.getElementById("dir4txt").style.color = "#FFFFFF";
					document.getElementById("dir5txt").style.color = "#FFFFFF";
					document.getElementById("dir3txt").style.textDecorationNone;
				}
			*/
			else 
				if(idMenu == "4") 
				{
					document.getElementById("submenu").innerHTML = "<img src='/img/spacer.gif' width='263' height='12'>" ;
					document.getElementById("dir0").style.background = "#003366";
					document.getElementById("dir1").style.background = "#003366";
					document.getElementById("dir2").style.background = "#003366";
					//document.getElementById("dir3").style.background = "#003366";
					document.getElementById("dir4").style.background = "#FFFFFF";
					document.getElementById("dir5").style.background = "#003366";
					document.getElementById("dir0txt").style.color = "#FFFFFF";
					document.getElementById("dir1txt").style.color = "#FFFFFF";
					document.getElementById("dir2txt").style.color = "#FFFFFF";
					//document.getElementById("dir3txt").style.color = "#FFFFFF";
					document.getElementById("dir4txt").style.color = "#003366";
					document.getElementById("dir5txt").style.color = "#FFFFFF";
					document.getElementById("dir4txt").style.textDecorationNone;
				}
			else 
				if(idMenu == "5") 
				{
					document.getElementById("submenu").innerHTML = "<img src='/img/spacer.gif' width='263' height='12'>" ;
					document.getElementById("dir0").style.background = "#003366";
					document.getElementById("dir1").style.background = "#003366";
					document.getElementById("dir2").style.background = "#003366";
					//document.getElementById("dir3").style.background = "#003366";
					document.getElementById("dir4").style.background = "#003366";
					document.getElementById("dir5").style.background = "#FFFFFF";
					document.getElementById("dir0txt").style.color = "#FFFFFF";
					document.getElementById("dir1txt").style.color = "#FFFFFF";
					document.getElementById("dir2txt").style.color = "#FFFFFF";
					//document.getElementById("dir3txt").style.color = "#FFFFFF";
					document.getElementById("dir4txt").style.color = "#FFFFFF";
					document.getElementById("dir5txt").style.color = "#003366";
					document.getElementById("dir5txt").style.textDecorationNone;
				}
}

function clearMenu() 
{
			document.getElementById("submenu").innerHTML = " " ;
			document.getElementById("dir0").style.background = "#003366";
			document.getElementById("dir1").style.background = "#003366";
			document.getElementById("dir2").style.background = "#003366";
			//document.getElementById("dir3").style.background = "#003366";
			document.getElementById("dir4").style.background = "#003366";
			document.getElementById("dir5").style.background = "#003366";
			document.getElementById("dir0txt").style.color = "#FFFFFF";
			document.getElementById("dir1txt").style.color = "#FFFFFF";
			document.getElementById("dir2txt").style.color = "#FFFFFF";
			//document.getElementById("dir3txt").style.color = "#FFFFFF";
			document.getElementById("dir4txt").style.color = "#FFFFFF";
			document.getElementById("dir5txt").style.color = "#FFFFFF";
}			