var req;  				
        function callbacktime()
        {
            if(req.readyState == 4)
            {
                if(req.status == 200)
                {
                    parseMessagetime();
                }else{
                //    alert("Not able to retrieve description"+req.statusText);
                }
            }
        }
 function parseMessagetime()
        {
            var xmlDoc=req.responseXML.documentElement;
            var xSel=xmlDoc.getElementsByTagName('select');
            var select_root=document.getElementById('timeid');
                select_root.options.length=0;
            
            for(var i=0;i<xSel.length;i++)
            {
                var xValue=xSel[i].childNodes[0].firstChild.nodeValue;
                var xText=xSel[i].childNodes[1].firstChild.nodeValue;
				var option=document.createElement("OPTION");
                option.value = xValue;
                option.text = xText;
                try{
                    select_root.add(option);
                }catch(e){
                }
            }
        }		