function fillList(lst1, lst2, xmlpage, cValue, cID){
	var http = (window.ActiveXObject)? new ActiveXObject("MSXML2.XMLHTTP"): new XMLHttpRequest;
	var sUrl = xmlpage + "?r=" + Math.random() + "&id=" + lst1.value;
	http.open("GET", sUrl, false, null, null);
	http.send(null);
	var xml = http.responseXML;
	var opt = lst2.options;
	opt.length = 1;
	if(window.ActiveXObject){
		xml.setProperty("SelectionLanguage", "XPath");
		var data = xml.selectNodes("//recordset/record");
		for( var k=0; data.length > k; k++){
			var nID = data[k].selectSingleNode(cID);
			var nValue = data[k].selectSingleNode(cValue);
			opt[opt.length] = new Option(nValue.firstChild.nodeValue, nID.firstChild.nodeValue);
		}
	}
	else{
		var xpath = new window.XPathEvaluator;
		var data = xpath.evaluate("//recordset/record", xml, null, 7, null);
		for(var k = 0; data.snapshotLength > k; k++){
			var nID = xpath.evaluate( cID, data.snapshotItem(k), null, 9, null).singleNodeValue;
			var nValue = xpath.evaluate( cValue, data.snapshotItem(k), null, 9, null).singleNodeValue;
			opt[opt.length] = new Option(nValue.firstChild.nodeValue, nID.firstChild.nodeValue);
		}
	}
}
