code: function (id) {
          var returnControl = null;
          for(var i=0, len=this.controls.length; i<len; i++) {
              var control = this.controls[i];
              if (control.id == id) {
                  returnControl = control;
                  break;
              }
          }
          return returnControl;
      }
docs: APIMethod: getControl
  
  Parameters:
  id - {String} ID of the control to return.
  
  Returns:
  {<OpenLayers.Control>} The control from the map's list of controls
  which has a matching 'id'. If none found,
  returns null.