function Fill(oElem)
{
	var strValue = oElem.options[oElem.selectedIndex].value;
	var url = "getcomboxml.php?q="+strValue;

	//var loader1 = new net.ContentLoader(url, FillDD, null, "POST", strParams, null);
	try {
//XMLHttpRequest is for Mozilla and the likes. IE uses ActiveX. Using an if then on the object works best, better then checking which browser it is.
xmlhttp = window.XMLHttpRequest?new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
// This is where you get in to if your browser does not support AJAX. write a friendly errormessage here to tell the user to upgrade to the latest Firefox

}

// the object xmlhttp triggers an event on every status change. These events are then handled by the triggered() function.
xmlhttp.onreadystatechange = triggered;

xmlhttp.open("GET", url);
xmlhttp.send(null);
}



function triggered() {
// if the readyState code is 4 (Completed)
// and http status is 200 (OK), our request was succesful, and we can get the response from: responseText indeed 
// other readyState codes that can be usefull are::
// 0=Uninitialised 1=Loading 2=Loaded 3=Interactive
if ((xmlhttp.readyState == 4) && (xmlhttp.status == 200)) {
// xmlhttp.responseText object holds the response for you to cherish, cuddle, and use in your code.
document.getElementById("output").innerHTML = xmlhttp.responseText;
}
}
