var the7Utils = {};

the7Utils.parseIntParam = function(param, def){
    def = typeof def !== 'undefined' ?  def : 0;
    return  param ? parseInt(param) : def;
};

the7Utils.parseParam = function(param, def){
    def = typeof def !== 'undefined' ?  def : "";
    return  typeof param != 'undefined' ? param : def;
};