function isNullOrEmpty(str){
	if(str==null) return true;
	var tmp = dojo.string.trim(str);
	if(tmp=="") return true;
	return false;
}