// this function presents the error message
// then places focus on the offending object
// finally returns false so form does not submit
function errorHandler(myObj,mes){
	alert(mes);
	myObj.focus();
	return false;
}
function noFocusErrorHandler(myObj,mes){
	alert(mes);
	return false;
}