
function credentials(formObj,inputObj,inputObjVal) {
	if (document.userForm.CREDRNCST.checked) {
		return ((inputObjVal.length > 0) && (inputObjVal > 0));
	} else {
		return true;
	}
}

function training(formObj,inputObj,inputObjVal) {
	for (var i=0; i < document.userForm.TRAINUNDERAANEM.length; i++) {
		if (document.userForm.TRAINUNDERAANEM[i].checked) {
			var rad_val = document.userForm.TRAINUNDERAANEM[i].value;
			if (rad_val == 'yes') {
				return (inputObjVal.length > 0);
			} else {
				return true;
			}
		}
	}
}

function otherProcs(formObj,inputObj,inputObjVal) {
	if (document.userForm.otherDutiesCB.checked) {
		if ((inputObjVal.length < 1) || inputObjVal == 'Describe other duties here') {
			return false;
		} else {
			return true;
		}
	} else {
		return true;
	}
}

function mailMatch(formObj,inputObj,inputObjVal) {
	return (inputObjVal == document.userForm.emailAddr.value);
}

function ncsLength(formObj,inputObj,inputObjVal) {
	return (inputObjVal > -1);
}

