code: function(map) {
          OpenLayers.Control.PanZoom.prototype.setMap.apply(this, arguments);
          this.map.events.on({
              "changebaselayer": this.redraw,
              "updatesize": this.redraw,
              scope: this
          });
      }
docs: Method: setMap
  
  Parameters:
  map - {<OpenLayers.Map>}