var TITEMS = [ 
 ["Introduction", "introduction.html", "11"],
 ["System requerements", "system_requirements.html", "11"],
 ["Installation", "installation.html", "11"],
 ["Quick setup", "quick_setup.html", "11"],
 ["Server settings", "connection_setup.html", "1",
  ["Connection setup", "connection_setup.html", "11"],
  ["Assign connection password", "connection_password.html", "11"],
  ["Server settings", "server_settings.html", "11"],
  ["Services", "services.html", "11"],
  ["Delivery routes", "delivery_routes.html", "11"],
  ["Domains", "ddomains.html", "11"],
  ["Web mail properties", "webmail.html", "11"],
  ["Backup", "backup.html", "11"],
  ["SMTP Settings", "smtp_settings.html", "11"]
 ],
 ["Domain settings", "domain_settings.html", "1",
  ["Local accounts", "domain_settings.html", "11"],
  ["Remote accounts", "remote_accounts.html", "11"],
  ["Distribution lists", "distribution_lists.html", "11"],
  ["Message rules", "messages_rules.html", "11"],
  ["Antispam", "antispammm.html", "11"],
  ["Antivirus", "antivirus.html", "11"],
  ["Message queue", "massage_queue.html", "11"],
  ["Message history", "message_history.html", "11"],
  ["Logs", "llogs.html", "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;
}

