function isEmpty(strText) 
{
	if ((strText == null) || (strText.length == 0)) return true
	//Check for Whitespace
	return (isWhitespace(strText))  
}

function isWhitespace(strText) 
{
	var intCount;
	var whitespace = ' '; 
	for (intCount = 0; intCount < strText.length; intCount++)
	{
		var strChar = strText.charAt(intCount);
		if (whitespace.indexOf(strChar) == -1 && strChar != '\n' && strChar != '\r' && strChar != "\t") return false;
	}
	return true;
}