function doValidate(inValue, inValidateType, inAlert) {
	var isValid = false;
	
	switch (inValidateType) {
		case "undefined"	: isValid = true					; break
		case ""			: isValid = true						; break
		case "Not Null"	: isValid = (inValue !='')				; break
		case "Numeric"	: isValid = (!isNaN(inValue))			; break
		case "Yes"	    : isValid = ((inValue == "") || (inValue == "Yes"))		; break
		case "True"	    : isValid = (inValue == true)			; break
		case "Positive"	: isValid = (inValue > 0)				; break
		case "Max60"	: isValid = (inValue.length <= 60)		; break
		case "Max100"	: isValid = (inValue.length <= 100)		; break
		case "Max600"	: isValid = (inValue.length <= 600)		; break
		case "Email"	: isValid = (inValue.indexOf("@") >= 0)	; break
		default			: isValid = (inValue.indexOf(inValidateType) >= 0);
	}
	if ((!isValid) && (inAlert == "hidden")) {
		alert("There was an error submitting the form.  Please check your entries and try again.  Please contact us at 605-256-9632 if you continue having difficulties.");
	}else{
		if ((!isValid) && (inAlert != undefined)) {
			alert(inAlert);
		}
	}
	return isValid;
}
