function objetoAjax(){	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 ingreso(uno,dos,tres){		divResultado = document.getElementById('inicio');	ajax=objetoAjax();	ajax.open("POST", "ingreso.php",true);		ajax.onreadystatechange=function(){		if (ajax.readyState==4) {			divResultado.innerHTML = ajax.responseText;			}	}	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	ajax.send("uno="+uno+"&dos="+dos+"&tres="+tres);}///*******************************************************************function envia(uno,dos,tres,cuatro){		divResultado = document.getElementById('form');	ajax=objetoAjax();	ajax.open("POST", "envio.php",true);		ajax.onreadystatechange=function(){		if (ajax.readyState==4) {			divResultado.innerHTML = ajax.responseText;			}	}	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	ajax.send("uno="+uno+"&dos="+dos+"&tres="+tres+"&cuatro="+cuatro);}////////**************************************function envia_2(uno,dos,tres){		divResultado = document.getElementById('form');	ajax=objetoAjax();	ajax.open("POST", "envio2.php",true);		ajax.onreadystatechange=function(){		if (ajax.readyState==4) {			divResultado.innerHTML = ajax.responseText;			}	}	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	ajax.send("uno="+uno+"&dos="+dos+"&tres="+tres);}///******************************************//////////////////////function cargar(sould){		divResultado = document.getElementById('turco');	ajax=objetoAjax();	ajax.open("POST", "conte.php",true);		ajax.onreadystatechange=function(){		if (ajax.readyState==4) {			divResultado.innerHTML = ajax.responseText;			}	}	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	ajax.send("manda="+sould);}///////////////////////////////////////////////////****************function leer(sould){		divResultado = document.getElementById('turco2');	ajax=objetoAjax();	ajax.open("POST", "sistema/sub_6.php",true);		ajax.onreadystatechange=function(){		if (ajax.readyState==4) {			divResultado.innerHTML = ajax.responseText;			}	}	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	ajax.send("manda="+sould);}/////////////////////////////////////////////////////function confi(sould,x){	if (confirm("Seguro que deseas Eliminar??")) {	divResultado = document.getElementById('turco2');	ajax=objetoAjax();	ajax.open("POST", "delete.php",true);		ajax.onreadystatechange=function(){		if (ajax.readyState==4) {			divResultado.innerHTML = ajax.responseText;			}	}		ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	ajax.send("delete="+sould+"&id="+x);}/*else {alert("Acción cancelada.")}*/	}//////////////////////////////////////////////////*************function cargar2(sould){		divResultado = document.getElementById('turco2');	ajax=objetoAjax();	ajax.open("POST", "conte2.php",true);		ajax.onreadystatechange=function(){		if (ajax.readyState==4) {			divResultado.innerHTML = ajax.responseText;			}	}	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");	ajax.send("manda="+sould);}