isSomething = function(val) { if (val == undefined || val == null || val == "") return false; return true; };