function submitForm() {
if (isFirstName() && isLastName()) {
	return true;
	}
else
	return false;
}

function isFirstName() {
	var str = document.frmAddPTAMember.txtMFName.value;
	if (str == "") {
		alert("\nThe FIRST NAME field is blank.\n\nPlease enter your name.")
		document.frmAddPTAMember.txtMFName.focus();
		return false;
	}
		for (var i = 0; i < str.length; i++) {
		var ch = str.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ') {
		alert("\nThe LAST NAME field only accepts letters & spaces.\n\nPlease re-enter your name.");
		document.frmAddPTAMember.txtMFName.select();
		document.frmAddPTAMember.txtMFName.focus();
		return false;
		}
	}
	return true;
}

function isLastName() {
	var str = document.frmAddPTAMember.txtMLName.value;
	if (str == "") {
		alert("\nThe LAST NAME field is blank.\n\nPlease enter your name.")
		document.frmAddPTAMember.txtMLName.focus();
		return false;
	}
		for (var i = 0; i < str.length; i++) {
		var ch = str.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ') {
		alert("\nThe LAST NAME field only accepts letters & spaces.\n\nPlease re-enter your name.");
		document.frmAddPTAMember.txtMLName.select();
		document.frmAddPTAMember.txtMLName.focus();
		return false;
		}
	}
	return true;
}


