anchor.diff:          */
           initialize : function (context) {
               var $parentNodes = $('.has_children', context),
  +                $branchSwitches = $([]),
  +                $childLists,
                   isCommodityTree = false,
                   $controls,
                   effectAll,
  +                setMembers,
                   controlHover,
                   clickBranch;
   
  
positive.code:                             '</p>';
                  effectAll = function (ctrlIdx) {
                      $parentNodes.each(function (idx) {
                          var $this = $(this),
                              $childList = $this.children('ul');
  
                          if (ctrlIdx === 0) {
                            clickBranch($(this), $childList, 'open');
                          } else {
                            clickBranch($(this), $childList, 'close');
                          }
                      });
                  };
  
negative.code:                 var $parentNode = $(this),
                      $childList;
  
                  if ((idx === 0) && ($parentNode[0].nodeName.toLowerCase() !== 'dt')) {
                      isCommodityTree = true;
                  }
  
                  $childList = setMembers($parentNode);
  
                  // hide all child lists
                  if (!isCommodityTree) {
                      $childList.addClass('visuallyhidden');
                  }
  
                  // allow expansion based on clicking
                  $branchSwitches.eq(idx).on('click', function(e) {
                      e.stopPropagation();
                      if ($childList.is('.visuallyhidden')) {
                          clickBranch($(this), $childList, 'open');
                      }
                      else {
                          clickBranch($(this), $childList, 'close');
                      }
  
                      return false;
  