code: function itemClicked(e){
  
      // Maximum number of levels to jump up the DOM tree
      var levels = 5;
      var target = (e || window.event).target;
  
      // The click event may have propagated from a child node,
      // so loop upwards until we actually find the result item
      while(levels-- && target.tagName !== 'A') target = target.parentNode;
  
      // Set the selected item, then fire off the submit event on the form
      selectedItem = target;
      searchFormSubmitted(e);
    }
docs: ## itemClicked
  
  Called when a search result item is clicked. So jump
  to the relecant page using [searchFormSubmitted](#searchformsubmitted)
  
  @param {MouseClickEvent} e The mouse event