function invio(){
nome = document.MyForm.nome.value
cognome = document.MyForm.cognome.value
citta = document.MyForm.citta.value
telefono = document.MyForm.telefono.value


email = document.MyForm.mail.value


if (nome==""){
alert("Inserisci il tuo nome!")
document.MyForm.nome.focus()
return false
}
if (cognome==""){
alert("Inserisci il tuo cognome!")
document.MyForm.cognome.focus()
return false
}
if (citta==""){
alert("Inserisci il nome della tua cittą!")
document.MyForm.citta.focus()
return false
}
if (telefono==""){
alert("Inserisci il tuo telefono!")
document.MyForm.telefono.focus()
return false
}

if (email.indexOf('@', 0) == -1 || email.indexOf('.', 0) == -1){ 
alert("Indirizzo e-mail non valido!");
document.MyForm.mail.focus()
return false
	}

}




