function checkValue(form) {
	var printerror = "The following item(s) must be filled in: ";
	var NameVar = jQuery.trim(form.Name.value);
	var EmailVar = jQuery.trim(form.Email.value);
	var PhoneVar = jQuery.trim(form.Phone.value);
	var QuestionVar = jQuery.trim(form.Question.value);

	
	// Check to see if elements are filled out and emails match and are valid
	if (NameVar == "") printerror = printerror + "\nName";
	if (EmailVar == "") printerror = printerror + "\nEmail Is Blank";
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(EmailVar) == false) printerror = printerror + "\nPlease Enter A Valid Email";
	if (PhoneVar == "") printerror = printerror + "\nPhone Is Blank";
	if (QuestionVar == "") printerror = printerror + "\nQuestion Or Comment Is Blank";


	
	// If everything is kosher submit, otherwise pop alert box
	if ((NameVar != "") && (EmailVar != "") && (PhoneVar != "") && (QuestionVar != "") && (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(EmailVar) == true)) {	
		form.submit();
	} else {
		alert(printerror);
	}
}

