code: function() {
          for (var i=0, len=arguments.length; i<len; i++) {
              var element = OpenLayers.Util.getElement(arguments[i]);
              var display = OpenLayers.Element.visible(element) ? 'none' 
                                                                : '';
              element.style.display = display;
          }
      }
docs: APIFunction: toggle
  Toggle the visibility of element(s) passed in
  
  Parameters:
  element - {DOMElement} Actually user can pass any number of elements