code: function(map) {
          OpenLayers.Control.prototype.setMap.apply(this, arguments);
  
          //make sure we have an arg parser attached
          for(var i=0, len=this.map.controls.length; i<len; i++) {
              var control = this.map.controls[i];
              if (control.CLASS_NAME == this.argParserClass.CLASS_NAME) {
                  
                  // If a permalink is added to the map, and an ArgParser already
                  // exists, we override the displayProjection to be the one
                  // on the permalink. 
                  if (control.displayProjection != this.displayProjection) {
                      this.displayProjection = control.displayProjection;
                  }    
                  
                  break;
              }
          }
          if (i == this.map.controls.length) {
              this.map.addControl(new this.argParserClass(
                  { 'displayProjection': this.displayProjection }));       
          }
  
      }
docs: Method: setMap
  Set the map property for the control.
  
  Parameters:
  map - {<OpenLayers.Map>}