var TITEMS = [ 
 ["Bricscad", null, "1",
  ["Willkommen bei Bricscad", "source/Welcome_to_Bricscad.htm", "11"],
  ["Was ist neu in Bricscad V10", "source/00_01_Whats_New_Overview.htm", "11"],
  ["Über Bricscad", "source/Understanding_Bricscad.htm", "11"],
  ["Installation, Plattformen und Ebenen", "source/Installation_platforms_and_levels.htm", "11"],
  ["Silent Installation", "source/Silent_Installation.htm", "11"],
  ["Upgraden einer Classic Version zur Pro Version", "source/Upgrading_a_Classic_version_to_a_Pro_version.htm", "11"],
  ["Bricscad und Windows Vista und Windows 7", "source/Bricscad_and_Microsoft_Vista.htm", "11"],
  ["Lizenzierung", "source/Licensing.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;
}


