var TITEMS = [ 
 ["Welcome to OsMonitor", "osmonitor relate/welcome to osmonitor.htm", "9"],
 ["OsMonitor Features", "osmonitor relate/osmonitor features.htm", "9"],
 ["OsMonitor Function", "osmonitor relate/osmonitor functions.htm", "9"],
 ["How To Use OsMonitor", null, "1",
  ["Install OsMonitor Server", "osmonitor relate/install osmonitor.htm", "9"],
  ["Install OsMonitor Client", "osmonitor relate/install osmonitor client.htm", "9"],
  ["Client system setting", "osmonitor relate/client system setting.htm", "9"],
  ["History Data View", null, "1",
   ["System  Report", "osmonitor relate/system report.htm", "9"],
   ["Block Report", "osmonitor relate/block report.htm", "9"],
   ["Applications Report", "osmonitor relate/applications report.htm", "9"],
   ["URL Visited", "osmonitor relate/url visited.htm", "9"],
   ["File Report", "osmonitor relate/file report.htm", "9"],
   ["Lan Flow Report", "osmonitor relate/lan flow report.htm", "9"],
   ["Screenshot", "osmonitor relate/screenshot.htm", "9"],
   ["Email Report", "osmonitor relate/email report.htm", "9"],
   ["Chat Report", "osmonitor relate/chat report.htm", "9"],
   ["Backup Report", "osmonitor relate/backup report.htm", "9"]
  ],
  ["Edit/View application white list", "osmonitor relate/edit and view white list.htm", "9"]
 ],
 ["Menus", null, "1",
  ["OsMonitor System Menus", "osmonitor relate/menu introduction.htm", "9"]
 ],
 ["Uninstall OsMonitor Server", "osmonitor relate/uninstall osmonitor server.htm", "9"],
 ["Uninstall OsMonitor Client", "osmonitor relate/uninstall osmonitor client.htm", "9"],
 ["order", "osmonitor relate/order.htm", "9"],
 ["Support", "osmonitor relate/support.htm", "9"]
];


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;
}

