function photoEntryMain() { 
	jQuery.validator.messages.required = "";
	
	$("#editForm").validate({
		invalidHandler: function(e, validator) {
			var errors = validator.numberOfInvalids();
			if (errors) {
				$("div.error").show();
			} else {
				$("div.error").hide();
			}
		}
	});
}