
function chequeoReg(formu) {

    if (!formu.ZipCode.value)

        {

          alert ("Il CAP e un campo obbligatorio.")

          return false;

        }

	if ((!formu.Sex[0].checked)&&(!formu.Sex[1].checked)) {

        alert ("Il sesso e un campo obbligatorio.")
	  	return false;
	}

        if (!formu.BirthYear.value)
        {
	          alert ("L' anno di nascita e un campo obbligatorio.")
	          return false;

       }


        if (formu.email.value == 'memail@mdominio.com')

        {

          alert (" L'email e un campo obbligatorio.")

          return false;

        }


        if (formu.email.value.indexOf("@",1)==-1)

        {

          alert (" L'email e un campo obbligatorio.")

          return false;

        }



        if (formu.email.value.indexOf(".",1)==-1)

        {

          alert (" L'email e un campo obbligatorio.")

          return false;

        }



    if (formu.infocomercial.checked==false) {

          alert ("Deve accettare i termini e le condizioni")
	  return false;

	}

return true

}
    
