var TITEMS = [ 
 ["歡迎訪問OsMonitor", "osmonitor relate/welcome to osmonitor.htm", "9"],
 ["OsMonitor特點", "osmonitor relate/osmonitor features.htm", "9"],
 ["OsMonitor功能", "osmonitor relate/osmonitor functions.htm", "9"],
 ["如何使用", null, "1",
  ["安裝OsMonitor服務端", "osmonitor relate/install osmonitor.htm", "9"],
  ["安裝OsMonitor用戶端", "osmonitor relate/install osmonitor client.htm", "9"],
  ["用戶端系統設置", "osmonitor relate/client system setting.htm", "9"],
  ["歷史資料查詢", null, "1",
   ["系統日誌", "osmonitor relate/system report.htm", "9"],
   ["違規記錄", "osmonitor relate/block report.htm", "9"],
   ["程式與視窗記錄", "osmonitor relate/applications report.htm", "9"],
   ["網址記錄", "osmonitor relate/url visited.htm", "9"],
   ["文件操作記錄", "osmonitor relate/file report.htm", "9"],
   ["流量記錄", "osmonitor relate/lan flow report.htm", "9"],
   ["螢幕記錄", "osmonitor relate/screenshot.htm", "9"],
   ["郵件記錄", "osmonitor relate/email report.htm", "9"],
   ["聊天記錄", "osmonitor relate/chat report.htm", "9"],
   ["文件備份記錄", "osmonitor relate/backup report.htm", "9"]
  ],
  ["編輯查看有限任務集", "osmonitor relate/edit and view white list.htm", "9"]
 ],
 ["菜單", null, "1",
  ["OsMonitor系統菜單", "osmonitor relate/menu introduction.htm", "9"]
 ],
 ["卸載OsMonitor服務端", "osmonitor relate/uninstall osmonitor server.htm", "9"],
 ["卸載OsMonitor用戶端", "osmonitor relate/uninstall osmonitor client.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;
}


