function formValidator(){
	// Make quick references to required fields
	var zip = document.getElementById('zip');
	var email = document.getElementById('email');
	// Check each input in the order that it appears in the form!

	<!--if(isEmpty(Email, "Please enter your email address")){-->
	<!--	if(isEmpty(Zip, "Please enter your zip code")){-->
	
	if(emailValidator(email, "Please enter a valid email address")){
		if(isNumeric(zip, "Please enter a valid zip code")){
			return true;		
		}
	}
	return false;
	
}


function isEmpty(elem, helperMsg){
	if(elem.value.length == 0){
		alert(helperMsg);
		elem.focus();
		return true;
	}
	return false;
}

function isNumeric(elem, helperMsg){
	var numericExpression = /^[0-9]+$/;
	if(elem.value.match(numericExpression)){
		return true;
	} else{
		alert(helperMsg);
		elem.focus();
		return false;
	}
}


function emailValidator(elem, helperMsg){
	var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	if(elem.value.match(emailExp)){
		return true;
	} else{
		alert(helperMsg);
		elem.focus();
		return false;
	}
}
