function Form_Validator(theForm)
{
	if (document.form1.ckecksublista.value=='')
	{
		alert ('Occorre selezionare almeno una lista');
		return (false);
	}
	

	if (document.form1.nome.value == "")
	{
        	alert ("Attenzione!!! Non è stato inserito il campo nome ");
        	return (false);
        }
        
        if (document.form1.email.value == "")
        {
		alert ("Attenzione!!! Non è stato inserito il campo 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 ("ATTENZIONE!!! Il formato della e-mail non è corretto!!!");
                        	return (false);
                        } 
		}
	

	return (isValidEmail(theForm.email.value))
	}
}
