function Form_Validator(theForm) {
	if (document.form1.ckecksublista.value==''){
    alert ('Occorre selezionare almeno una lista');
    return (false);
}if (document.form1.nome.value == ""){
    alert ("Attention!!!  It has not been inserted the field nome ");
    return (false);
    }if (document.form1.email.value == ""){

    alert ("Attention!!!  It has not been inserted the field email ");
    return (false);
}else{ 
   
   function isValidEmail(addressS){

           emailRegexp = RegExp('^[A-Za-z0-9._-]+[@]([A-Za-z0-9-]+[.])+([A-za-z]{2,4})$', 'i');
           if (emailRegexp.test(addressS)){

               //return (true);

           }else{
               alert ("ATTENTION!!!  The format of the email is not corrected!!!");
               return (false);
           } 
       }
       
       return (isValidEmail(theForm.email.value))
}}