








// not in class prior, so leaving outside to not break anything currently using it.
function validateTextbox(id, inputErrorColor) {
	if (trim($(id).value) == ''|| trim($(id).value) == null) {
		$(id).style.backgroundColor = inputErrorColor;
		return false;
	}
	else {return true;}
}

function validateList(id, inputErrorColor) {
	with ($(id)){
		if (options[0].selected == true || value== '') {
			$(id).style.backgroundColor = inputErrorColor;
			return false;
		}
		else {return true;}
	}
}


