<!--
function Conferma(){
var f = document.modulo

//if (f.accetto.checked == 1)
//{
//NewWindow=window.open('about:blank','richiesta','resizable=no,width=300,height=250,status=no,location=no,toolbar=no'); 
//NewWindow.focus();
//void(0);
//modulo.submit();
//}
if (f.nome.value == "") {
alert("Le nom est obligatoire !")
f.nome.focus();
f.nome.select();
return false;
}
//if (f.cognome.value == "") {
//alert("Il cognome è obbligatorio !")
//f.cognome.focus();
//f.cognome.select();
//return false;
//}
//if (f.tel.value == "") {
//alert("Il telefono è obbligatorio !")
//f.tel.focus();
//f.tel.select();
//return false;
//}

//if (f.indirizzo.value == "") {
//alert("Indirizzo obbligatorio !")
//f.indirizzo.focus();
//f.indirizzo.select();
//return false;
//}
if (f.posta_el.value.indexOf("@") == -1) {
alert("E-Mail invalide !")
f.posta_el.focus();
f.posta_el.select();
return false;
}	
if (f.posta_el.value.indexOf(".") == -1) {
alert("E-Mail invalide !")
f.posta_el.focus();
f.posta_el.select();
return false;
}


if (f.messaggio.value == "") {
alert("Le Demande est obligatoire !")
f.messaggio.focus();
f.messaggio.select();
return false;
}

if (f.accetto.checked == 0)
{
alert("Sélectionnex J'AUTORISE pour permettre le traitement de vos donneés personnelles !");
return false;
}

return true;
}





function Conferma2(){
var f = document.modulo2

if (f.azienda.value == "") {
alert("le nom de l\'Enterprise est obligatoire !")
f.azienda.focus();
f.azienda.select();
return false;
}

if (f.indirizzo.value == "") {
alert("L\'adresse de l\'Enterprise est obligatoire !")
f.indirizzo.focus();
f.indirizzo.select();
return false;
}

if (f.telefono.value == "") {
alert("Le téléphone est obligatoire !")
f.telefono.focus();
f.telefono.select();
return false;
}

if (f.email.value == "")
		{
		alert("E-Mail invalide!")
		f.email.focus()
		f.email.select()
		return false
		}
	else
		{
			var str=f.email.value
			var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
				if (filter.test(str))
				{}
				else{
				alert("E-Mail invalide!")
				f.email.focus()
				f.email.select()
				return false
				}
		}

if (f.accetto.checked == 0)
{
alert("Sélectionnex J'AUTORISE pour permettre le traitement de vos donneés personnelles !");
return false;
}

//alert("Invio del Form non ancora funzionante...");
return true;
}



//-->
