/* 
	function			: 	to validate if a field entry is empty
	created by		:		jason wong (jasonwong02@hotmail.com)
	date created	:		01 May 2003
	date modified	:		-
	version				:		0.0
	
	syntax				: 	isEmpty ( str )
																			
	parameters		:		str		(required) indicates the string value 
	
	example				:		isEmpty(frm.txtTest.value)
	
	prerequisite	: 	fn_trim.js
*/

function isEmpty ( strVal )
{
 	return ( ( trim(strVal) == null ) || ( trim(strVal).length == 0 ) );
}