function frmReturnFalse( theEl, theMsg )
{
	alert( theMsg );
	theEl.focus();
	return(false);
}

function isEmail( str ){
	return( /\S+@\S+\.\S+/.test(str) ) 
}

function isBlank( str ){
    return( isEmpty(str) || !/\S/.test(str) ? true : false ) 
}

function isEmpty( str ){   
	return( (str == null) || (str.length == 0) );
}

function isNumber( str ){
	return( /^\d+$/.test(str) ) 
}

function hasDigit( str ){
	return( /\d/.test(str) );
}