STMA = {
    args: function(a) {
        if (a) {
            a = a.split(';');
            return a.join('&');            
        } else {
            return '';
        }

    },
    searchVal: function(res, a) {
        var res;
        res = res.split('&');
        for (i=0;i<res.length;i++) {
            var item;
            item = res[i].split('=');
            if (item[0] == a) {
                return item[1];
            }
        }
        return null;
    },
    uniqid: function() {
        var newDate = new Date();
        return newDate.getTime()+(Math.ceil(Math.random() * 1000)); 
    }
}
