//verify string is empty
function isEmpty(source){
	
	if(undefined == source){
		return true;
	}
	
	if(null == source){
		return true;
	}
	
	if("" == source){
		return true;
	}
	return false;
}
  
function trim(val) {
	return val.replace(/(^\s*)|(\s*$)/g, "");
}


