/** Check whether string s is empty. */ function isEmpty(s) { return ((s == undefined || s == null || s == "") ? true : false); }