
function enewsletter_validation()
{
	var elem;
	var errs=0;
	// execute all element validations in reverse order, so focus gets
	// set to the first one in error.

    if (!validateEmail(document.forms.registration.email_address,  'email_address_msg',true)){ errs += 1;}
	if (!validatePresent(document.forms.registration.zip_code,  'zip_code_msg')){ errs += 1;}
	if (!validatePresent(document.forms.registration.last_name,  'last_name_msg')){ errs += 1;}
	if (!validatePresent(document.forms.registration.first_name,  'first_name_msg')){ errs += 1;}

    if (errs>1){  alert('Please correct all fields marked with ***');}
    if (errs==1){ alert('Please correct the field marked with ***');}

	return (errs==0);
}

