var TITEMS = [ 
 ["Getting Started", "files/welcome.htm", "1",
  ["Welcome", "files/welcome.htm", "11"],
  ["Using this help", "files/usinghelp.htm", "11"],
  ["About Radmin", "files/about.htm", "11"],
  ["How to use Radmin", "files/howtousera.htm", "11"],
  ["Key features", "files/keyfeatures.htm", "11"],
  ["What's new in version 3.4", "files/new.htm", "11"],
  ["Installing and Uninstalling", "files/install.htm", "11"]
 ],
 ["Connecting to a remote computer", "files/connecting.htm", "1",
  ["Obtaining a remote computer's IP", "files/getip.htm", "11"],
  ["Connecting over LAN", "files/connectlan.htm", "11"],
  ["Connecting over the Internet", "files/connectinet.htm", "11"],
  ["Modem to modem connection", "files/connectmodem.htm", "11"],
  ["Direct cable connection", "files/connectnull.htm", "11"],
  ["Connecting tips", "files/connecttips.htm", "11"],
  ["Setting up security", "files/setsecurity.htm", "11"],
  ["Connect status", "files/constatus.htm", "11"]
 ],
 ["Using Radmin Viewer", "files/usingviewer.htm", "1",
  ["Radmin Viewer interface", "files/viewerinterface.htm", "1",
   ["Main window", "files/mainviewerwnd.htm", "11"],
   ["&quot;Connect to&quot; window", "files/connectwnd.htm", "11"],
   ["Using Toolbar", "files/toolbar.htm", "11"],
   ["Using upper menu", "files/menu.htm", "11"],
   ["Changing the language", "files/language.htm", "11"],
   ["Command line switches", "files/viewercmd.htm", "11"]
  ],
  ["Using Phonebook", "files/phonebook.htm", "1",
   ["Adding new record", "files/addrec.htm", "11"],
   ["Connect from record", "files/connectphonebook.htm", "11"],
   ["Changing settings", "files/recordsettings.htm", "11"],
   ["Organizing records", "files/organizerec.htm", "11"],
   ["Exporting phonebook", "files/exportphonebook.htm", "11"],
   ["Importing phonebook", "files/impphonebook.htm", "11"],
   ["Creating a new phonebook", "files/newphonebook.htm", "11"],
   ["Sharing phonebook", "files/sharingphonebook.htm", "11"],
   ["Scanning for servers", "files/scan.htm", "11"],
   ["Desktop shortcuts", "files/shortcuts.htm", "11"]
  ],
  ["Connection modes", "files/conmodes.htm", "11"],
  ["Full Control / View Only", "files/fullcontrol.htm", "1",
   ["Controlling remote computer", "files/controlling.htm", "11"],
   ["Using Window menu", "files/winmenu.htm", "11"],
   ["Using Window toolbar", "files/wintoolbar.htm", "11"],
   ["Connection options", "files/connectionoptions.htm", "11"],
   ["Using Hotkeys", "files/hotkeys.htm", "11"],
   ["Sharing the clipboard", "files/clipboard.htm", "11"],
   ["Scaling the remote screen", "files/scaling.htm", "11"],
   ["Displaying remote cursor", "files/remotecursor.htm", "11"]
  ],
  ["Telnet", "files/telnet.htm", "11"],
  ["File Transfer", "files/filetransfer.htm", "1",
   ["File Transfer interface", "files/filetransferinterface.htm", "11"],
   ["Copying files", "files/copyfiles.htm", "11"],
   ["DeltaCopy feature", "files/deltacopy.htm", "11"]
  ],
  ["Shutdown", "files/shutdown.htm", "11"],
  ["Text chat", "files/textchat.htm", "1",
   ["User interface", "files/tcinterface.htm", "11"],
   ["Sending messages", "files/tcsendmsg.htm", "11"],
   ["Sending popup messages", "files/tcpopupmsg.htm", "11"],
   ["Using channels", "files/tcchans.htm", "11"],
   ["New message notification", "files/tcmsgnotify.htm", "11"],
   ["Users' status", "files/tcstatus.htm", "11"],
   ["User description", "files/tcdescriptions.htm", "11"],
   ["Using nicknames", "files/tcnicks.htm", "11"],
   ["Away system", "files/tcaway.htm", "11"],
   ["Using colors", "files/tccolors.htm", "11"],
   ["Text commands", "files/tctxtcmds.htm", "11"],
   ["File log", "files/tcfilelog.htm", "11"]
  ],
  ["Voice Chat", "files/voicechat.htm", "1",
   ["User interface", "files/vcinterface.htm", "11"],
   ["Communicating", "files/vctalk.htm", "11"],
   ["Using Hotkeys", "files/vchotkeys.htm", "11"],
   ["Using channels", "files/vcchans.htm", "11"],
   ["Users' status", "files/vcstatus.htm", "11"],
   ["User description", "files/vcdescriptions.htm", "11"],
   ["Using nicknames", "files/vcnicks.htm", "11"],
   ["Away system", "files/vcaway.htm", "11"],
   ["Using privates", "files/vcpriv.htm", "11"],
   ["Text messages", "files/vctextmsg.htm", "11"],
   ["Recording voice", "files/vcrecord.htm", "11"]
  ],
  ["Send Message", "files/sendmsg.htm", "11"],
  ["Intel® AMT", "files/amt.htm", "11"],
  ["&quot;Connect Through&quot; option", "files/conthrough.htm", "11"],
  ["Radmin Viewer options", "files/options_overview.htm", "1",
   ["General options", "files/options_general.htm", "11"],
   ["New connection defaults", "files/options_defaults.htm", "11"],
   ["Remote Screen defaults", "files/options_d_rscreen.htm", "11"],
   ["Full Control defaults", "files/options_d_fullcontrol.htm", "11"],
   ["Chat defaults", "files/options_d_chat.htm", "11"],
   ["Voice chat defaults", "files/options_d_vchat.htm", "11"],
   ["Remote screen", "files/options_rscreen.htm", "11"],
   ["Chat", "files/options_chat.htm", "11"],
   ["Chat appearance", "files/options_c_appearance.htm", "11"],
   ["Additional chat options", "files/options_c_additional.htm", "11"],
   ["Voice Chat options", "files/options_vchat.htm", "11"],
   ["Audio devices", "files/options_vc_adevices.htm", "11"]
  ]
 ],
 ["Using Radmin Server", "files/usingserver.htm", "1",
  ["Choosing startup mode", "files/choosestartup.htm", "11"],
  ["Starting and Stopping", "files/startsrv.htm", "11"],
  ["Using Windows Security", "files/usingwinntsecurity.htm", "11"],
  ["Using Radmin Security", "files/usingsecurity.htm", "11"],
  ["Setting up IP filter", "files/setipfilter.htm", "11"],
  ["Changing port", "files/changingport.htm", "11"],
  ["Using the tray icon", "files/srvtrayicon.htm", "11"],
  ["Asking connection permission", "files/askconnectperm.htm", "11"],
  ["Text Chat options", "files/options_srv_chat.htm", "11"],
  ["Voice Chat options", "files/options_srv_vchat.htm", "11"],
  ["Using logging", "files/log.htm", "11"],
  ["Miscellaneous settings", "files/srvcfg_misc.htm", "11"],
  ["Command-line switches", "files/cmd.htm", "11"],
  ["Changing language", "files/srvcfg_lang.htm", "11"]
 ],
 ["Managing Radmin security", "files/managingsecurity.htm", "1",
  ["Protecting your computer", "files/protecting.htm", "11"],
  ["Safety tips", "files/safetytips.htm", "11"]
 ],
 ["Remote Deployment", "files/remotedeployment.htm", "11"],
 ["Licensing Radmin", "files/reg.htm", "11"],
 ["Contact us", "files/contacts.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;
}


