<!--
function controlla(){

		
		if (document.contattami.NOME.value == "") 
		{
			alert("E' necessario inserire un nome");
			return false;
		}
		else if (document.contattami.COGNOME.value == "") 
		{
			alert("E' necessario inserire un cognome");
			return false;
		}
		else if ((document.contattami.E_MAIL.value.indexOf("@") == -1)||(document.contattami.E_MAIL.value == ""))
		{
			controllo=true;
			alert("L'indirizzo e-mail che hai inserito non è corretto o non è stato inserito");
			return false;
		}
		else if (document.contattami.TELEFONO.value == "") 
		{
			alert("E' necessario inserire il telefono");
			return false;
		}
		else if (document.contattami.N_PERSONE.value == "") 
		{
			alert("E' necessario indicare il numero di persone per cui si effettua la prenotazione");
			return false;
		}
		else if (!document.contattami.PRIVACY[0].checked)
		{
			alert("Devi leggere la normativa sulla privacy per poter proseguire");
			return false;
		}
		
	
}

function c_pren(){

	if ((document.prenota.E_MAIL.value.indexOf("@") == -1)||(document.prenota.E_MAIL.value == ""))
		{
			controllo=true;
			alert("L'indirizzo e-mail che hai inserito non è corretto o non è stato inserito");
			return false;
		}
		
}

function controlla2(){

		
		if (document.contattami.NOME.value == "") 
		{
			alert("E' necessario inserire un nome");
			return false;
		}
		else if (document.contattami.COGNOME.value == "") 
		{
			alert("E' necessario inserire un cognome");
			return false;
		}
		else if ((document.contattami.E_MAIL.value.indexOf("@") == -1)||(document.contattami.E_MAIL.value == ""))
		{
			controllo=true;
			alert("L'indirizzo e-mail che hai inserito non è corretto o non è stato inserito");
			return false;
		}
		else if (document.contattami.TELEFONO.value == "") 
		{
			alert("E' necessario inserire il telefono");
			return false;
		}
		else if(document.contattami.ORA.selectedIndex <= 0) {
			alert("E' necessario selezionare L'ORA DI ARRIVO");
			return false;
		}
		else if (document.contattami.N_PERSONE.value == "") 
		{
			alert("E' necessario indicare il numero di persone per cui si effettua la prenotazione");
			return false;
		}
		else if (!document.contattami.PRIVACY[0].checked)
		{
			alert("Devi leggere la normativa sulla privacy per poter proseguire");
			return false;
		}
		
	
}

function stampa(str) {

        searchWin = window.open(str,'stampa','scrollbars=yes,resizable=no,width=500,height=500,status=no,location=no,toolbar=no');


}

function flash(str) {

        searchWin = window.open(str,'stampa','scrollbars=yes,resizable=no,width=820,height=570,status=no,location=no,toolbar=no');


}

function flash2(str) {

        searchWin = window.open(str,'stampa','scrollbars=yes,resizable=no,width=701,height=966,status=no,location=no,toolbar=no');


}
function flash3(str) {

        searchWin = window.open(str,'stampa','scrollbars=yes,resizable=no,width=701,height=966,status=no,location=no,toolbar=no');


}
function flash4(str) {

        searchWin = window.open(str,'stampa','scrollbars=yes,resizable=no,width=956,height=697,status=no,location=no,toolbar=no');


}

function mappa(str) {

        searchWin = window.open(str,'stampa','scrollbars=yes,resizable=no,width=790,height=790,status=no,location=no,toolbar=no');


}

function menu(str) {

        searchWin = window.open(str,'stampa','scrollbars=no,resizable=no,width=640,height=612,status=no,location=no,toolbar=no');


}

function stampa_popup() {
var testo = "<html><head><title>"+document.title+"</title><link href=\"bicu.css\" rel=\"stylesheet\" type=\"text/css\"></head>";
testo += "<body topmargin=0 leftmargin=0 class='BODY_PRINT'><center>";
testo += "<table width=\"100%\" border=\"0\"><tr><td>";
testo += document.getElementById('livello1').innerHTML+"</td></tr></table>";
testo += "</body></html>";
var ident_finestra = window.open("","finestra_stampa","height=600,width=400");
ident_finestra.document.open();
ident_finestra.document.write(testo);
ident_finestra.document.close();
ident_finestra.print();
ident_finestra.close(); 
}
-->
