code: function (options) {
          // We do this before the extend so that instances can override
          // className in options.
          this.displayClass = 
              this.CLASS_NAME.replace("OpenLayers.", "ol").replace(/\./g, "");
          
          OpenLayers.Util.extend(this, options);
          
          this.events = new OpenLayers.Events(this);
          if(this.eventListeners instanceof Object) {
              this.events.on(this.eventListeners);
          }
          if (this.id == null) {
              this.id = OpenLayers.Util.createUniqueID(this.CLASS_NAME + "_");
          }
      }
docs: Constructor: OpenLayers.Control
  Create an OpenLayers Control.  The options passed as a parameter
  directly extend the control.  For example passing the following:
  
  > var control = new OpenLayers.Control({div: myDiv});
  
  Overrides the default div attribute value of null.
  
  Parameters:
  options - {Object}