  function AbrirPop(nombre, ancho, alto)
  {
   var width=0;
   var height=0;
    if (self.screen)
     {
      width = screen.width;
      height = screen.height
     }
    var left = ( width - ancho ) / 2;
    var top = ( height - alto ) / 2;
  
   //Intento convertir a entero. Si es entero no le afecta, si no, lo intenta convertir.
    left = parseInt(left);
    top = parseInt(top);

    dat = 'width=' + ancho + ', height=' + alto + ', left=' + left + ', top= ' + top + ', scrollbars=yes, resize=no';
    window.open(nombre, '', dat);
  }
