anchor.diff:                        });
                     };
   
  -                  effectAll(1); // Close all headings on load
  +                  // Open/close tree nodes on load based on cookie
  +                  if (this.openCloseCookie() == 'open') {
  +                    effectAll(0);
  +                  } else {
  +                    effectAll(1);
  +                  }
   
                     $parentNodes.closest('.commodity-tree').prepend($controls);
                     $parentNodes.closest('.commodity-tree').append($controls);
  
positive.code:                       });
                    });
                }
            }
        },
        /**
  
negative.code:                 $childList[listAction]('visuallyhidden');
                  $branch[branchAction]('open')
                      .attr('title',  titleTxt[action]);
  
                  GOVUK.tariff.tree.openCloseCookie(action);
                };
  
  
                setMembers = function ($branchNode) {
                    var defaultTitle,
  