var TITEMS = [ 

 ["Bluetooth Phones", "ck_2.htm", "2"],

 ["Rhythm n'Blue Information", "start_2.htm", "2",
  ["Installation", "glob_installation.htm", "15"],
  ["Technical Specifications", "techspec.htm", "15"],
  ["Parrot's Functions", "5100_gene.htm", "15",
   ["Using Standard Features", "standard_feat_1.htm", "11"]
  ],
  ["Menus", "menus.htm", "15",
   ["CD/MP3", "cdmp3_1.htm", "11"],
   ["Tuner", "tuner_1.htm", "11"],
   ["Bluetooth", "bluetooth_1.htm", "11",
   ["Settings", "settings_1.htm", "11",
   ["Advanced Settings", "adv_set_1.htm", "11"],
   ],
   ],
   ["Audio", "audio_1.htm", "11"],
   ["Display", "display_1.htm", "11"], 
   ["Language", "language_1.htm", "11"],
  ],
 ],
  ["Customer Care", "ck_3.htm", "19",
  ["Registering Your Product", "ck_3_a.htm", "11"],
  ["Upgrading Your Product", "ck_3_b.htm", "11"],
  ["Troubleshooting", "ck_3_c.htm", "11"]
//  ["Updating The Help Files", "ck_3_d.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;
}

