code: function(element) {
          element = OpenLayers.Util.getElement(element);
          element.parentNode.removeChild(element);
      }
docs: APIFunction: remove
  Remove the specified element from the DOM.
  
  Parameters:
  element - {DOMElement}