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