function isiAJAX(idmain,idloader){this.objAjax=null;this.idmain=idmain;this.idloader=idloader;this.debug=true;this.aborta=true;this.working=false;this.noajax='Su navegador no es compatible para trabajar con esta web.';this.Request= function(data){var parent=this;data=this.Default(data);this.objAjax.open(data.method,data.url,data.async);if(data.headers) for(var i=0;i 0) for(var i=0;i<=total;++i) obj.remove(obj.options[i]) for(var i=0;i 1){for(var i=1;i=5)? new ActiveXObject('Msxml2.XMLHTTP'):new ActiveXObject('Microsoft.XMLHTTP');if(this.objAjax==null) alert(this.noajax);else if(this.idmain&&window.location.hash!=''&&window.location.hash!='#') this.Link(window.location.href,this.idmain);} function $(id){return(document.getElementById(id));} /* url: '', //url web method: 'GET', //metodo de transferencia async: true, //si es true recibira datos si es false no param: null, //parametos en plan: var1=valor1&var2=valor2 id: null, //id donde va a ser cargado headers: null, //cabeceras iner: null, type: null, onOK: null, onError: null, onComplete: null */