var TITEMS = [ 
["Bluetooth Phones", "ck_2.htm", "15"],
/* ["Introduction to Flash Update", "fash/introduction_en.htm", "17",
  ["Flash update instalation", "fash/install_en.htm", "11"],
  ["Using flash update", "fash/use_en.htm", "11"],
  ["Multiple update", "fash/update_en.htm", "11"]
 ],*/
 ["Summary", "start.htm", "1",
  ["Voice Recognition", "ck_2_a.htm", "11"],
  ["CK3000 Handsfree", "ck_1.htm", "15",
   ["Getting Started", "ck_1_a.htm", "11"],
   ["Using Standard Features", "ck_1_b.htm", "11"],
   ["Using Advanced Features", "ck_1_c.htm", "11"],
   ["Installation", "ck_1_d.htm", "11"],
   ["Upgrade CK3000", "ck_1_f.htm", "11"],
   ["Technical Specifications", "ck_1_e.htm", "11"]
  ],
  ["DriveBlue Handsfree", "db_1.htm", "15",
   ["Getting Started", "db_1_a.htm", "11"],
   ["Using Standard Features", "db_1_b.htm", "11"],
   ["Using Advanced Features", "db_1_c.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;
}


