function abrir_fechar(layer) {
      with (layer) {
       if (style.visibility == 'visible') {
        style.visibility = 'hidden';
        style.position = 'absolute';
       }
       else {
        style.visibility = 'visible';
        style.position = 'relative';
       }
      }
     }
