/* The failNull function will check if a field contains null or spaces */
function failNull ( vField, vMessage, vType) {
var theValue = getFieldValue (vField, vType);
	/* If the field value is null, display an error message and return. */
	if ( theValue == "" ) { 
		alertBox ( vField, vMessage, vType ); 
		return ( true );
	}
	/* Remove any spaces from the field */
	trimField = trimBlanks( theValue );
	/* If the field value is now null, display an error message and return */
	if ( trimField =="" ) {
		alertBox ( vField, vMessage, vType ); 
		return ( true ); 
	} 
	/* The field is not null */
	return ( false );
}
