//document.writeln('
Libreria dxhtml cargada.'); function maximizar(){ window.moveTo(0,0); window.resizeTo(screen.width,screen.height); } function centraFormulario(idObjeto) { this.userWidth=document.getElementById(idObjeto).offsetWidth+40; this.userHeight=document.getElementById(idObjeto).offsetHeight+130; //alert(this.userWidth+','+this.userHeight); if(this.userHeight>screen.availHeight)this.userWidth=screen.availWidth; if(this.userWidth>screen.availWidth)this.userWidth=screen.availWidth; if(this.userHeight>screen.availHeight)this.userHeight=screen.availHeight; window.resizeTo(this.userWidth,this.userHeight); window.moveTo((screen.availWidth-this.userWidth)/2,(screen.availHeight-this.userHeight)/2); } function AbrirCentrado(Url,NombreVentana,width,height,extras) { var largo = width-10; var altura = height; var adicionales= extras; var top = (screen.height-altura)/2; //var izquierda = (screen.width-largo)/2; nuevaVentana=window.open(''+ Url + '',''+ NombreVentana + '','scrollbars=yes,resizable=yes," width=' + largo + ',height=' + altura + ',top=' + top + ',left=' + izquierda + ',features=' + adicionales + ''); //nuevaVentana.location.reload(); //nuevaVentana.focus(); } function estado() { for (var i=0; i