code: function (controls, pixels) {
          var pxs = (arguments.length === 1) ? [] : pixels;
          for (var i=0, len=controls.length; i<len; i++) {
              var ctrl = controls[i];
              var px = (pxs[i]) ? pxs[i] : null;
              this.addControl( ctrl, px );
          }
      }
docs: APIMethod: addControls
  Add all of the passed over controls to the map.
  You can pass over an optional second array
  with pixel-objects to position the controls.
  The indices of the two arrays should match and
  you can add null as pixel for those controls
  you want to be autopositioned.
  
  Parameters:
  controls - {Array(<OpenLayers.Control>)}
  pixels - {Array(<OpenLayers.Pixel>)}