var TITEMS = [ 
 ["Introduction", null, "1",
  ["About WinLock Remote Administrator", "about.htm", "11"],
  ["System requirements", "sysreq.html", "11"]
 ],
 ["Using Remote Administrator", null, "1",
  ["Overview", "overview.htm", "11"],
  ["Remote hosts", "hostlist.htm", "11"],
  ["Commands", "commands.htm", "11"],
  ["Preferences", "preferences.htm", "11"],
  ["Profile Manager", "proman.htm", "11"]
 ],
 ["Technical support", null, "1",
  ["Technical support", "tech_support.htm", "11"],
  ["Lost key", "lost_key.htm", "11"]
 ],
 ["License and registration", null, "1",
  ["Copyright and license", "copyright.htm", "11"],
  ["Registration information", "registration_information.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;
}


