function Apri(pag)
	{
	//nascondiamo tutti
	document.getElementById('Pag000.10').className = "OFF";
	document.getElementById('Pag010.10').className = "OFF";
	document.getElementById('Pag020.10').className = "OFF";
	document.getElementById('Pag020.10_10').className = "OFF";
	document.getElementById('Pag020.10_20').className = "OFF";
	document.getElementById('Pag020.20').className = "OFF";
	document.getElementById('Pag020.30').className = "OFF";
	document.getElementById('Pag040.10_10').className = "OFF";
	document.getElementById('Pag050.10').className = "OFF";
	document.getElementById('Pag060.10').className = "OFF";
	document.getElementById('Pag070.10').className = "OFF";
	document.getElementById('Pag080.10').className = "OFF";
	document.getElementById('Pag090.10').className = "OFF";
	document.getElementById('Pag090.20').className = "OFF";
	document.getElementById('Pag100.10').className = "OFF";
	document.getElementById('Pag105.10').className = "OFF";
	document.getElementById('Pag105.20').className = "OFF";
	document.getElementById('Pag110.10').className = "OFF";
	document.getElementById('Pag110.20').className = "OFF";
	document.getElementById('Pag110.30').className = "OFF";
	document.getElementById('Pag110.40').className = "OFF";
	document.getElementById('Pag120.10').className = "OFF";

	//ridimensiona l'altezza del corpo, del menù e della zeppa ...poi prendi altezza del menù
	document.getElementById('MenuDX4zeppa').style.height=1;
	document.getElementById('Corpo').style.height=525; 
	document.getElementById('MenuDX1').style.height=140;
	document.getElementById('MenuDX2').style.height=245;
	document.getElementById('MenuDX3').style.height=43;
	document.getElementById('MenuDX4').style.height=10;
	document.getElementById('Ultimissime').style.height=40;
	var altezza= document.getElementById('MenuDX1').offsetHeight + document.getElementById('MenuDX2').offsetHeight + document.getElementById('MenuDX3').offsetHeight + document.getElementById('MenuDX4').offsetHeight;

	//mostra quello voluto
	if (pag == "entrata")	//solo nel caso dell'accesso al sito si legge il cookie con il link interno di destinazione
		{
		pag= (LinkTo) ? (LinkTo) : "000.10";	// se il cookie è vuoto allora è un'entrata normale
		}
	document.getElementById('Pag'+pag).className = "ON";

	//allarga zeppa in fondo al menu in modo da tenere tutto su
	altezza= document.getElementById('Corpo').offsetHeight-altezza+0;
	altezza = (altezza>1) ? altezza : 1;
	document.getElementById('MenuDX4zeppa').style.height= altezza;

	/* +10 è il correttivo forse dovuto ai bordi
	var aaa= 'SX='+document.getElementById('MenuSX').offsetHeight + ' Corpo='+document.getElementById('Corpo').offsetHeight + ' DX1='+document.getElementById('MenuDX1').offsetHeight + ' DX2='+document.getElementById('MenuDX2').offsetHeight + ' DX3='+document.getElementById('MenuDX3').offsetHeight + ' Pedice=' + document.getElementById('Pedice').offsetHeight;
	alert(aaa);
	*/
	}


function VisualizzaPath(pag)
	{
	var codice = '';
	if (pag=='00') {
		codice += 'home'; }
	else {
		codice += '<A href=\"\" onClick=\"Apri(\'000.10\'); return false;\">home</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>';
		if (pag=='010.10')    { codice+='novità' }
		if (pag=='020.10')    { codice+='ristoranti' }
		if (pag=='020.10_10') { codice+='<A href=\"\" onClick=\"Apri(\'020.10\'); return false;\">ristoranti</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>Fuori Porta' }
		if (pag=='020.10_20') { codice+='<A href=\"\" onClick=\"Apri(\'020.10\'); return false;\">ristoranti</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>Muccalola' }
		if (pag=='020.20')    { codice+='<A href=\"\" onClick=\"Apri(\'020.10\'); return false;\">ristoranti</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>indirizzi' }
		if (pag=='020.30')    { codice+='<A href=\"\" onClick=\"Apri(\'020.10\'); return false;\">ristoranti</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>prenotazioni' }
		if (pag=='040.10')    { codice+='abbuffisti frequenti' }
		if (pag=='040.10_10') { codice+='abbuffisti frequenti<IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>Card Abbuffisti Frequenti Limited' }
		if (pag=='050.10')    { codice+='card caroté' }
		if (pag=='060.10')    { codice+='parties' }
		if (pag=='070.10')    { codice+='company' }
		if (pag=='080.10')    { codice+='consulenza' }
		if (pag=='090.10')    { codice+='media relations<IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>dicono di noi' }
		if (pag=='090.20')    { codice+='<A href=\"\" onClick=\"Apri(\'090.10\'); return false;\">media relations</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>Comunicati Stampa' }
		if (pag=='100.10')    { codice+='formazione' }
		if (pag=='105.10')    { codice+='mailing list<IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>come iscriversi' }
		if (pag=='105.20')    { codice+='<A href=\"\" onClick=\"Apri(\'105.10\'); return false;\">mailing list</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>richiesta' }
		if (pag=='110.10')    { codice+='profilo personale<IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>f.a.q.' }
		if (pag=='110.20')    { codice+='<A href=\"\" onClick=\"Apri(\'110.10\'); return false;\">Profilo Personale</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>attivazione' }
		if (pag=='110.30')    { codice+='<A href=\"\" onClick=\"Apri(\'110.10\'); return false;\">Profilo Personale</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>gestione' }
		if (pag=='110.40')    { codice+='<A href=\"\" onClick=\"Apri(\'110.10\'); return false;\">Profilo Personale</A><IMG src=\"_imm/_url_freccia.gif\" width=19 height=9>cancellazione' }
		if (pag=='120.10')    { codice+='contattaci' }
		}
	document.write(codice);		
	}