//**********************************************************
// FUNÇÃO QUE CRIA O OBJETO AJAX
function criar_ajax() {
	try {
	 	ajax1 = new ActiveXObject("Microsoft.XMLHTTP");
	} catch(e) {
	 	try {
	  		ajax1 = new ActiveXObject("Msxml2.XMLHTTP");
		} catch(ex) {
	  		try {
			   ajax1 = new XMLHttpRequest();
	  		} catch(exc) {
			    alert("Esse browser não tem recursos para uso do Ajax");
	   			ajax1 = null;
	  		}
		}
	}
	return ajax1;
}
