// Additional validation types
jQuery.validator.addMethod("phone", function(phone) {
	phone = phone.replace(/[^0-9]/g, "");
	return (phone.length == 0 || phone.length == 10) ? true : false;
}, "Please enter a valid phone number");

jQuery.validator.addMethod("zipcode", function(zip) {
	zip = zip.replace(/[^0-9\-]/g, "");
	if(zip.length == 0) return true;
	if(zip.match(/^\d{5}([- ]?\d{4})?$/)) return true;
	return false;
}, "Please enter a valid US ZIP code");