var TITEMS = [ 
 ["About Password Recovery Bar", "source/intro.html", "11"],
 ["Getting Started", "source/gettingstarted.html", "1",
  ["System requirements", "source/sysreq.html", "11"],
  ["Hey, where is it?", "source/whereisit.html", "11"],
  ["Registering Password Recovery Bar", "source/registering.html", "11"]
 ],
 ["Using Password Recovery Bar", "source/usingpbar.html", "1",
  ["User interface", "source/userinterface.html", "11"],
  ["Context menu", "source/contextmenu.html", "11"],
  ["Toolbar", "source/toolbar.html", "11"],
  ["Advanced Tools menu", "source/formmenu.html", "11"],
  ["Help menu", "source/helpmenu.html", "11"],
  ["Advanced Control dialog box", "source/options.html", "2",
   ["Access Protection dialog box", "source/accessprotection.html", "11"]
  ],
  ["Outlook Express Accounts dialog box", "source/accounts.html", "11"],
  ["Find dialog box", "source/find.html", "11"]
 ],
 ["Purchasing, License", "source/purchasing.html", "1",
  ["Why should I register?", "source/whyreg.html", "11"],
  ["How to purchase", "source/howtopurchase.html", "11"],
  ["License Information", "source/license.html", "11"]
 ],
 ["About Us", "source/aboutus.html", "1",
  ["Getting program updates", "source/updates.html", "11"],
  ["Technical support and feedback", "source/support.html", "11"],
  ["Our products", "source/ourproducts.html", "11"],
  ["Contact Us", "source/contactus.html", "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;
}

