function ValidationUtil(){

	//Checks for null or empty
	this.isNullOrEmpty = function(fieldId){
		var fieldValue = document.getElementById(fieldId).value;
		return fieldValue == null || fieldValue == '';
	}

	this.isNotSelected = function(dropdownFieldId, defaultMessage){
		var dropdownValue = document.getElementById(dropdownFieldId).value;
		return dropdownValue == null || dropdownValue == defaultMessage;
	}

	this.displayError = function(errorDivId, message){
		document.getElementById(errorDivId).innerHTML = message;
		document.getElementById(errorDivId).style.display = 'block';
	}

	this.clearError = function(errorDivId){
		document.getElementById(errorDivId).style.display = 'none';
	}
}