var TITEMS = [ 
 ["About", "source/about.htm", "11"],
 ["Getting Started", null, "1",
  ["Making Unified SCC the Active Plugin", "source/making-plugin-active.htm", "11"],
  ["Source Control Interface", "source/source-control-interface.htm", "11"],
  ["Setting up the Source Control Client", "source/setting-up-the-source-control-client.htm", "11"],
  ["Binding Source Code to the Existing Repository Storage", "source/binding-to-the-existing-storage.htm", "11"],
  ["Adding Source Code to the New Repository Storage", "source/adding-to-the-new-storage.htm", "11"]
 ],
 ["Basic Work Cycle", "source/basic-work-cycle.htm", "11"],
 ["Adding, Removing, Renaming Files", "source/adding-removing-renaming.htm", "11"],
 ["Log Window", "source/log-window.htm", "11"],
 ["Plugin Settings", "source/plugin-settings.htm", "11"],
 ["Troubleshooting", "source/troubleshooting.htm", "11"],
 ["Changelog", "source/changelog.htm", "11"],
 ["Additional Resources", "source/additional-resources.htm", "11"]
];


var FITEMS = arr_flatten(TITEMS);

function arr_flatten (x) {
   var y = []; if (x == null) return y;
   for (var i=0; i<x.length; i++) {
      if (typeof(x[i]) == "object") {
         var flat = arr_flatten(x[i]);
         for (var j=0; j<flat.length; j++)
             y[y.length]=flat[j];
      } else {
         if ((i%3==0))
          y[y.length]=x[i+1];
      }
   }
   return y;
}

