var TITEMS = [ 
 ["Welcome", "source/index.htm", "11"],
 ["Introduction", null, "1",
  ["Introduction", "source/intro.htm", "11"],
  ["Main Features", "source/features.htm", "11"],
  ["What's New?", "source/whatsnew.htm", "11"]
 ],
 ["Install", null, "1",
  ["System Requirements", "source/requirements.htm", "11"],
  ["Install/Uninstall", "source/install.htm", "11"]
 ],
 ["Purchase", null, "1",
  ["Purchase", "source/order.htm", "11"],
  ["End User License Agreement", "source/license.htm", "11"]
 ],
 ["Frequently Asked Questions", null, "1",
  ["Frequently Asked Questions", "source/faq.htm", "11"]
 ],
 ["Support", null, "1",
  ["Contact Us", "source/support.htm", "11"]
 ],
 ["Other information", null, "1",
  ["Other Products", "source/winpersonalizer.htm", "11"],
  ["Remove URL", "source/infor.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;
}

