	/**************************************************************************************/
	/**************** Copyright © 2000 Kaus Software. All rights reserved. ****************/
	/**************************************************************************************/


	/************************ Inizializzazione del menů *************************/

	var contenuto = "";
	var cartella = "";	// Posizione delle immagini Es: C:/Windows/Immagini/ (non dimenticare il "/" finale !)
	contenuto += '<HTML><HEAD><STYLE><!--.generale{ position: absolute; left: -999; top: -999; z-index: 999; cursor: default; background-color: menu; color: menuText; width: 180;visibility: hidden; border-style: outset; border-width: 2px; height: 190}.componenti{ font-family: Ms Shell Dlg; font-size: 12px; padding-left: 10px; padding-right: 10px; padding-top: 3px; padding-bottom: 3px }// --></STYLE></HEAD>';
	contenuto += '<BODY><OBJECT ID="cerca" CLASSID="clsid:B45FF030-4447-11D2-85DE-00C04FA35C89" HEIGHT="0" WIDTH="0"></OBJECT><DIV ID="right_menu" CLASS="generale">';
	contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'indietro\')" SPECIFICHE="Vai al documento precedente"><IMG SRC="' + cartella + 'menu_indietro.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="15">&nbsp;&nbsp;<U>I</U>ndietro</DIV>';
	contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'avanti\')" SPECIFICHE="Vai al documento successivo"><IMG SRC="' + cartella + 'menu_avanti.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="15">&nbsp;&nbsp;A<U>v</U>anti</DIV><HR>';
	contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'home\')" SPECIFICHE="Imposta la pagina iniziale"><IMG SRC="' + cartella + 'menu_home.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;Imposta <U>H</U>ome Page</DIV>';
	contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'preferiti\')" SPECIFICHE="Aggiungi a Preferiti"><IMG SRC="' + cartella + 'menu_preferiti.gif" ALIGN="absmiddle" WIDTH="15" HEIGHT="15">&nbsp;&nbsp;Aggiungi a <U>P</U>referiti</DIV>';
	contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'cerca\')" SPECIFICHE="Cerca nel Web con Mns"><td><IMG SRC="' + cartella + 'menu_cerca.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;<U>C</U>erca nel Web</DIV>';
	//contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'sorgente\')" SPECIFICHE="Visualizza la sorgente HTML del documento"><IMG SRC="' + cartella + 'menu_html.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="15">&nbsp;&nbsp;<U>H</U>TML</DIV><HR>';
	contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'aggiorna\')" SPECIFICHE="Ricarica il documento"><IMG SRC="' + cartella + 'menu_aggiorna.gif" ALIGN="absmiddle" WIDTH="15" HEIGHT="16">&nbsp;&nbsp;<U>A</U>ggiorna</DIV>';
	contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'stampa\')" SPECIFICHE="Stampa il documento"><IMG SRC="' + cartella + 'menu_stampa.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;S<U>t</U>ampa</DIV>';
	contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'email\')" SPECIFICHE="Scrivimi"><IMG SRC="' + cartella + 'menu_email.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;Nuovo <U>m</U>essaggio</DIV>';
	//contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'news\')" SPECIFICHE="Leggi le news"><IMG SRC="' + cartella + 'menu_news.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;Leggi <U>n</U>ews</DIV><HR>';
	//contenuto += '<DIV CLASS="componenti" ONCLICK="exe(\'info\')" SPECIFICHE="Informazioni e copyright"><IMG SRC="' + cartella + 'menu_info.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">&nbsp;&nbsp;I<U>n</U>formazioni</DIV>';
	contenuto += '</DIV></BODY></HTML>';

	if (document.all && window.print) document.write (contenuto);

	/************************ Script che gestisce il menů *************************/

	// Seleziona la parte del menů
	function light_on (){
		if (event.srcElement.className == "componenti"){
			event.srcElement.style.backgroundColor="highlight";
			event.srcElement.style.color="highlightText";
				if (event.srcElement.SPECIFICHE) {
					window.status = event.srcElement.SPECIFICHE;
				}
		}
	}

	// Deseleziona la parte del menů
	function light_off (){
		if (event.srcElement.className == "componenti"){
			event.srcElement.style.backgroundColor= "menu";
			event.srcElement.style.color="menuText";
			window.status = "";
		}
	}

	// Mostra il menů
	function mostra (){
		if (event.clientY > 0 && event.clientX > 0  &&  event.clientY < document.body.clientHeight && event.clientX < document.body.clientWidth) {
			if (document.body.clientHeight - event.clientY + document.body.scrollTop > document.body.clientHeight / 2){
				right_menu.style.top = event.clientY + document.body.scrollTop;
			} else {
				right_menu.style.top = event.clientY + document.body.scrollTop - 290;
			}

			if (document.body.clientWidth- event.clientX + document.body.scrollLeft > document.body.clientWidth / 2){
				right_menu.style.left = event.clientX + document.body.scrollLeft;
			} else {
				right_menu.style.left = event.clientX + document.body.scrollLeft - 180;
			}
		} else {
			right_menu.style.top = document.body.scrollTop;
			right_menu.style.left = document.body.scrollLeft;
		}

		right_menu.style.visibility = "visible";
		return false;

	}

	// Nascondi il menů
	function nascondi (){
			right_menu.style.visibility = "hidden";
			right_menu.style.left = -999;
			right_menu.style.top = -999;

	}

	// Utility del menů
	function exe (type){
		if (type == "indietro"){ 		// Va al documento precedente
			history.back();

		} else if (type == "avanti"){ 		// Va al documento successivo
			history.forward();

		} else if (type == "home"){		// Imposta la home page
			document.body.style.behavior='url(#default#homepage)';
			document.body.setHomePage('http://www.tusciaitalia.it');

		} else if (type == "preferiti"){	// Imposta i preferiti
			var imgFav= new Image();
			imgFav.src= location.href + "/preferiti.ico";
			window.external.AddFavorite('http://www.tusciaitalia.it','Tusciaitalia.it');

		} else if (type == "sorgente"){		// Visualizza la sorgente
			location.href = "view-source:" + location; 
			return false;

		} else if (type == "aggiorna"){		// Aggiorna la pagina
			self.location.reload();

		} else if (type == "stampa"){		// Stampa la pagina
			self.print();

		} else if (type == "email"){		// Apre il client di posta elettronica
			location.href="mailto:info@tusciaitalia.it?subject=Gaiardo tutto ciň";

		} else if (type == "news"){		// Visualizza il newsgroup
			location.href="news:it.comp.lang.javascript";

		} else if (type == "cerca"){		// Cerca nel web
              		cerca.NavigateToDefaultSearch();
			window.event.returnValue = false;

		} else if (type == "info"){		// Visualizza il copyright (Kaus Software)
			alert('Copyright © 2000 Kaus Software. All rights reserved.');

		}
	}

	// Impedisce il selezionamento dell'area
	function cancella () { 
		window.event.cancelBubble = true;
		window.event.returnValue = false;
	}

	// Eventi
	if (document.all && window.print){
		document.oncontextmenu=mostra;
		document.body.onclick=nascondi;
		right_menu.onmouseover=light_on;
		right_menu.onmouseout=light_off;
		right_menu.ondragstart=cancella;
		right_menu.onselectstart=cancella;
	}

	/**************************************************************************************/
	/**************** Copyright © 2000 Kaus Software. All rights reserved. ****************/
	/**************************************************************************************/