var retorno;
function loadXMLDoc(url, funretorno){
	retorno = null;
	if (window.XMLHttpRequest) {
		retorno= new XMLHttpRequest();
		retorno.onreadystatechange = funretorno;
		retorno.open("GET",url,true);
		//retorno.open("POST", url, true); 
		retorno.send(null); 

	} else if (window.ActiveXObject) {
		try {
			retorno= new ActiveXObject("Msxml2.XMLHTTP.4.0");
		} catch(e) {
			try {
				retorno= new ActiveXObject("Msxml2.XMLHTTP.3.0");
			} catch(e) {
				try {
					retorno= new ActiveXObject("Msxml2.XMLHTTP");
				} catch(e) {
					try {
						retorno= new ActiveXObject("Microsoft.XMLHTTP");
					} catch(e) {
						retorno= false;
					}
				}
			}
		}
		if (retorno) {
			retorno.onreadystatechange = funretorno;
			retorno.open("POST", url, true);
			retorno.send();
		}
	}
}