				<!-- //			
					function checkForm(){
						var titleField = document.getElementById('event');
						var errorMessage = confirmFieldNotEmpty(titleField,"Name for the Event")
						if(errorMessage.length > 0){
							alert(errorMessage);
							return false;
						}

						if(document.submitForm["imageText"].value == ""){
							alert('Please enter the text in the Image');
							return false;
						}			
						
						var timeField = document.getElementById('time');
						var errorMessage = confirmFieldNotEmpty(timeField,"Date and Time")
						if(errorMessage.length > 0){
							alert(errorMessage);
							return false;
						}
						var locationField = document.getElementById('location');
						var errorMessage = confirmFieldNotEmpty(locationField,"Location")
						if(errorMessage.length > 0){
							alert(errorMessage);
							return false;
						}
						var descriptionField = document.getElementById('description');
						errorMessage = confirmFieldNotEmpty(descriptionField,"Description of the Event");		
						if(errorMessage.length > 0){
							alert(errorMessage);
							return false;
						}
							
						var imageText = document.submitForm["imageText"].value;
						var random = document.submitForm["random"].value;
						if(imageText != random){
							alert("The text you typed does not match the image, please try again.")
							return false;
						}
						
						var contactField = document.getElementById('contact');
						errorMessage = confirmFieldNotEmpty(contactField,"Contact");		
						if(errorMessage.length > 0){
							alert(errorMessage);
							return false;
						}	
							return true;
						}	
				//-->
