function peticion_http(a,b,c,d,j){var http; if (window.XMLHttpRequest){http=new XMLHttpRequest();}else if (window.ActiveXObject){http=new ActiveXObject("Microsoft.XMLHTTP");}
var o=arguments[5] || '';var f=null;this.g=a;this.i;this.l=b;this.m=c;this.ready=function(){if (http){return (http.readyState);}else{return '';}}
this.status=function(){if (http){return http.status;}else{return 0;}}
this.status=function(){if (http){return http.status;}else{return 0;}}
this.getText=function(){if (http) return http.responseText;}
this.getXML=function(){if (http) return http.responseXML;}
this.start=function(){if(http){f=setTimeout(this.k,this.g);http.open(this.m,this.l,true);http.send(null);}}
this.type=function(){return this.i;}
this.k=function(){if(http) http.abort();clearTimeout(f);j();}
this.execute=function(){if (http.readyState==4 && http.status==200){if (document.getElementById("reloj")){	document.getElementById("reloj").style.display="none";}clearTimeout(f);if (o=='') d(); else d(o);}else{if (document.getElementById("reloj")){document.getElementById("reloj").style.display="block";if (document.getElementById("bot_reloj")){document.getElementById("bot_reloj").innerHTML="";}}}}
if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById) this.i="OP";else if (document.all) this.i="IE";else if (document.layers) this.i="NN";else if (!document.all && document.getElementById) this.i="MO";else this.i="IE";
if (http){http.onreadystatechange=this.execute;};}
