function CheckFormord(){;
var okay = true;

if ((document.modulo.nome.value.length < "3") && (okay == true)){;
    alert ('Inserisci il tuo nome');
    okay = false;
};

if ((document.modulo.email.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.it)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi) == null) && (okay == true)){;
    alert ('Inserisci un indirizzo e-mail valido');
    okay = false;
};

if ((document.modulo.confermaemail.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.it)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi) == null) && (okay == true)){;
    alert ('Reinserisci il tuo indirizzo e-mail');
    okay = false;
};

if ((document.modulo.email.value != document.modulo.confermaemail.value) && (okay == true)){;
    alert ('Gli indirizzi e-mail non corrispondono');
    okay = false;
};

if ((document.modulo.messaggio.value.length < "3") && (okay == true)){;
    alert ('Inserisci il testo del messaggio');
    okay = false;
};

if ((document.modulo.privacy.checked == "") && (okay == true)){;
    alert ('Devi autorizzare il trattamento dei tuoi dati personali');
    okay = false;
};

return okay;
};