var TITEMS = [ 
 ["HSLAB HTTP Monitor Help System", null, "1",
  ["What's new", "whats_new.htm", "11"],
  ["What is it", "what_is.htm", "17"],
  ["System Requirements", "http://apache-monitor.com/system-requirements.php", "16"],
  ["Handy Software Lab Products FAQ", "http://kb.hs-lab.com/category/2/hslab-http-monitor.html", "11"],
  ["Before You Begin", null, "1",
   ["How it works", "how_its_works.htm", "17"],
   ["Why This Software?", "why.htm", "11"]
  ],
  ["Work With the Program", null, "1",
   ["Server real-time statistics window", "main_screen.htm", "11"],
   ["Server Status", "server_status.htm", "11"],
   ["Traffic Distribution By Server Child", "traffic_distribution_by_server_child.htm", "11"],
   ["Connection and Network Statistics", "connection_and_network_statist.htm", "11"],
   ["Content Statistics", "content_statistics.htm", "11"],
   ["Detailed Statistics for Virtual Server (Table)", "details.htm", "11"],
   ["Virtual Server Connections Distribution", "virtual_server_connections_dis.htm", "11"],
   ["Virtual Servers Traffic Snapshot", "virtual_servers_traffic_snapshot.htm", "11"],
   ["Server Operation", "server_operation.htm", "11"],
   ["Server Operation Distribution", "server_operation_distribution.htm", "11"],
   ["Countries", "countries.htm", "11"],
   ["Connections by Country", "connections_by_country.htm", "11"],
   ["Connections by Host", "connections_by_host.htm", "11"],
   ["Monitor Options", "options.htm", "11"],
   ["Apache Configuration Wizard", "wizard.htm", "11"],
   ["Connections Data", "connections_data.htm", "11"],
   ["Server Profiles", "server_profiles.htm", "11"],
   ["Threshold and Alarms", "alarms.htm", "11"],
   ["Advanced Filtering Options", "advanced_filtering_options.htm", "1",
    ["Simple Regexp Syntax", "simple_segexp_syntax.htm", "11"],
    ["Regular Expressions", "regular_expression_syntax.htm", "11"]
   ],
   ["Related Apache Documents", null, "1",
    ["Module mod_status", "apache_mod_status.htm", "11"],
    ["Access Control by URL", "apache_location.htm", "11"],
    ["Apache's Handler Use", "apache_handler.htm", "11"],
    ["Apache Performance Notes", "apache_perf_tuning.htm", "11"]
   ]
  ],
  ["Contacts", null, "1",
   ["Company Info", "company.htm", "15"],
   ["Support", "support.htm", "11"],
   ["Report a bug", "report_a_bug.htm", "24"]
  ],
  ["License Agreement and Registration", null, "1",
   ["END-USER LICENSE AGREEMENT FOR THIS SOFTWARE", "http://apache-monitor.com/software-licence.php", "11"],
   ["Distribution of Evaluation Version", "distribution_of_evaluation_version.htm", "11"],
   ["Why Register?", "why_register.htm", "11"],
   ["Unregistered version limitations", "unregistered_version_limitations.htm", "11"],
   ["Register Online", "register_online.htm", "11"],
   ["Enter Registration Code", "enter_registration_code.htm", "11"]
  ],
  ["Related Information", null, "1",
   ["Comma-separated values", "comma_separated_values.htm", "11"],
   ["Enabling Status Support", "enabling_status_support.htm", "11"],
   ["Apache HTTP Server", "apache_http_server.htm", "11"]
  ],
  ["Technology partners", "technology_partners.htm", "17"]
 ]
];


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;
}

