/*	ALIX	*/

var conex_ajax = false;

/* declara objeto ajax */
function inicia_ajax()
{
	// para != IE solo es necesario inicializarlo una vez
	if (window.XMLHttpRequest) { 
		conex_ajax = new XMLHttpRequest();
	} else if (window.ActiveXObject) { // solo cuando es IE se va por activeX
		conex_ajax = new ActiveXObject("Microsoft.XMLHTTP");
	}
}

function nuevoAjax(){
	var xmlhttp=false;
 	try {
 		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
 	} catch (e) {
 		try {
 			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
 		} catch (E) {
 			xmlhttp = false;
 		}
  	}

	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
 		xmlhttp = new XMLHttpRequest();
	}
	return xmlhttp;
}

function verifborra(leyenda) {
	return confirm("Desea borrar " + leyenda);
}

