code: function(position) {
          var bounds;
          if (position instanceof OpenLayers.Bounds) {
              var minXY = this.map.getLonLatFromPixel({
                  x: position.left,
                  y: position.bottom
              });
              var maxXY = this.map.getLonLatFromPixel({
                  x: position.right,
                  y: position.top
              });
              bounds = new OpenLayers.Bounds(
                  minXY.lon, minXY.lat, maxXY.lon, maxXY.lat
              );
              
          } else {
              if(this.click) {
                  // box without extent - let the click handler take care of it
                  return;
              }
              bounds = this.pixelToBounds(position);
          }
          this.setModifiers(this.handlers.box.dragHandler.evt);
          this.request(bounds);
      }
docs: Method: selectBox
  Callback from the handlers.box set up when <box> selection is on
  
  Parameters:
  position - {<OpenLayers.Bounds>|Object} An OpenLayers.Bounds or
  an object with a 'left', 'bottom', 'right' and 'top' properties.