var navegador;

function AJAXObj (ajax) {
	this.ajax = ajax;
	this.lock = false;
	this.infoextra = new Array();
}
function AJAXCrearObjeto(){
	var obj;
	if(window.XMLHttpRequest) { // no es IE
		obj = new XMLHttpRequest();
		navegador = "NOIE";
	} else { // Es IE o no tiene el objeto
		navegador = "IE";
		try {
			obj = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch (e) {
			alert('Navegador no soportado');
		}
	}
	return obj;
}
