	/*
	function lingua(codice_lng)
	{
		if (isNaN(codice_lng)) {alert('Errore codice Lingua')}
		else {
		alert (codice_lng)
		
		
		status="Aggiornamento in corso...";
		co=parent.down.RSExecute("cambia_lingua.asp","cambia_lingua",codice_lng);
		if (co.status != 0) { status="Errore..."; }
		else{
		status="Operazione Completata";
		pippo = co.return_value
		temp = parent.menu.location + ""
		temp2 = temp.indexOf("&aut=true")
		if (temp2>1){temp = temp.substring(0,temp2) + temp.substring((temp2 + 9),temp.length)}
		parent.menu.location = temp
		temp = parent.main.location + ""
		if (temp.indexOf("istituzionale/main.asp")>1 ) {parent.main.location.reload()}
//		parent.menu.location = temp
//		parent.menu.location.reload();
		parent.topp.location.reload();
		}
		}
	}
	*/

	function go2(barra) 
	{
		parent.menu.location.replace("menu.asp?barra=" + barra);
		//window.open("menu.asp?barra=" + barra, "menu");		
		parent.menubar.allunga();
		location.replace("top.asp?sel=" + barra);
	}

	function over(obj,imag) 
	{
		eval("document.img" + obj + ".src='" + imag + "'");
	}

	function chflash(cont)
	{
		var filmato = parent.main.document.flashwin
		if((filmato + 'a') != 'undefineda'){		//--- Rileva se esiste l'oggetto
			filmato.gotoframe(cont)
			filmato.play();
		}
	}

	function MM_preloadImages() 
	{ 
 		var d=document;
		if(d.images){ if(!d.MM_p) d.MM_p=new Array();

		  	var i,a=MM_preloadImages.arguments;
		
			for(i=0; i<a.length; i++){
				d.MM_p[i]=new Image;
				d.MM_p[i].src=a[i];
			}
		}
	}

	function agg_lingua(par_lingua)
	{
		if((window.document.FILMATO + 'a') != 'undefineda')
		{		//--- Rileva se esiste l'oggetto
			window.document.FILMATO.SetVariable("lingua", par_lingua);
		}
		else
		{
			x= setTimeout('agg_lingua('+par_lingua+')',500)	
		}
	}