OpenLayers.Control.Box =
  OpenLayers.Class(OpenLayers.Control, {
    initialize: function(options) {
      OpenLayers.Control.prototype.initialize.apply(
        this,
        arguments
      );
      this.handler = new OpenLayers.Handler.Box(
        this,
        {
          'done': this.onBoxDone
        },
        this.handlerOptions
      );
    },

    onBoxDone: function( bounds ) {
      console.log(bounds);
    },

    CLASS_NAME: "OpenLayers.Control.Box"
  }
);

