	function hide(id) {
		id.style.visibility = "hidden";
		}
	function show(id) {
		id.style.visibility = "";
		}
	function verify(elem) {

		var themessage = "You are required to complete the following fields: ";
		if (elem.forms[0].InspectionMonth.value=="") {
		themessage = themessage + " - Inspection Month";
		}
		if (elem.forms[0].InspectionDay.value=="") {
		themessage = themessage + " -  Inspection Day";
		}
		if (elem.forms[0].InspectionYear.value=="") {
		themessage = themessage + " -  Inspection Year";
		}
		if (elem.forms[0].InspectionDayName.value=="") {
		themessage = themessage + " -  Inspection Weekday Name";
		}
		if (elem.forms[0].InspectionStartTime.value=="") {
		themessage = themessage + " -  Inspection Start Time";
		}
		if (elem.forms[0].InspectionEndTime.value=="") {
		themessage = themessage + " -  Inspection End Time";
		}
		if (elem.forms[0].EventMonth.value=="") {
		themessage = themessage + " -  Event Month";
		}
		if (elem.forms[0].EventDay.value=="") {
		themessage = themessage + " -  Event Day";
		}		
		if (elem.forms[0].EventYear.value=="") {
		themessage = themessage + " -  Event Year";
		}
		if (elem.forms[0].EventDayName.value=="") {
		themessage = themessage + " -  Event Weekday Name";
		}
		if (elem.forms[0].ConfirmDate.value=="") {
		themessage = themessage + " -  Confirm Date";
		}
		if (elem.forms[0].EventStartTime.value=="") {
		themessage = themessage + " -  Event Start Time";
		}
		if (elem.forms[0].EventEndTime.value=="") {
		themessage = themessage + " -  Event End Time";
		}
		if (elem.forms[0].EventTitle.value=="") {
		themessage = themessage + " -  Event Title";
		}

		
	//alert if fields are empty and cancel form submit
		if (themessage == "You are required to complete the following fields: ") {
		elem.forms[0].submit();
		}
		else {
		alert(themessage);
		return false;
	   }
	}
	//  End --> 