docs: function() {
              if (this.popup.id === null) { // this.popup has been destroyed!
                  return;
              }
              this.popup.updateSize();
       
              if ( this.popup.visible() && this.popup.panMapIfOutOfView ) {
                  this.popup.panIntoView();
              }
  
              OpenLayers.Event.stopObserving(
                  this.img, "load", this.img._onImgLoad
              );
      
          }