function getSelect(url, obj)
{
    
    nocache = new Date();
    url += (/\?/i.test(url) ? '&' : '?') + 'nocache=' + nocache.getTime();
    JsHttpRequest.query(
        url, 
        {},
        function(result, text) 
        {
            i = 0;
            while (obj.options.length > 0) {
                obj.removeChild(obj.options[0]);
            }
            for (key in result) {
                i++;
                myOPTION = document.createElement('option');
                myOPTION.value = key
                myOPTION.innerHTML = result[key];
                obj.appendChild(myOPTION);
            }
        }
        
    );
}
