var TITEMS = [ 
 ["General Information", "source/index.html", "11"],
 ["Getting Started with HandyFile Find And Replace", "source/using.html", "11"],
 ["How the TW determines the file nature", "source/technology/how.file.format.is.defined.html", "11"],
 ["User Interface", null, "1",
  ["Shell Folder Tree", "source/userinterface/shellfoldertree.html", "11"],
  ["Main Window Tabs", null, "1",
   ["Files and Text Tab", "source/userinterface/filesandtext.html", "11"],
   ["Date Tab", "source/userinterface/date.html", "11"],
   ["Properties Tab", "source/userinterface/properties.html", "11"],
   ["Storage Folders Tab", "source/userinterface/storagefolders.html", "11"],
   ["Collector Tab", "source/userinterface/collector.html", "11"]
  ],
  ["Options Dialog", null, "1",
   ["Options Dialog - Interface", "source/userinterface/optionsdialoginterface.html", "11"],
   ["Options Dialog - Processing", "source/userinterface/optionsdialog.html", "11"],
   ["Options Dialog - Alerts", "source/userinterface/optionsdialogalerts.html", "11"]
  ],
  ["Report Area", "source/userinterface/filelist.html", "11"],
  ["Context Menu", "source/userinterface/toolbar.html", "11"],
  ["Mode Switch Buttons and Progress Indicator", "source/userinterface/progress.html", "11"],
  ["Text Editor", "source/userinterface/texteditor.html", "11"],
  ["Folder Manager Dialog", "source/userinterface/foldermanager.html", "11"],
  ["Multiline Editor Dialog", "source/userinterface/multilineeditor.htm", "11"],
  ["Configuration Export Dialog", "source/userinterface/exportconfiguration.html", "11"],
  ["Replacement Confirmation Dialog", "source/userinterface/confirmreplacedialog.html", "11"],
  ["Regular Expression Laboratory", "source/userinterface/regexplaboratory.html", "11"]
 ],
 ["Scenarios, scripts and batch replace jobs", null, "1",
  ["Scenario Editor Dialog", "source/userinterface/scenarioeditordialog.html", "11"],
  ["Scenario Export Dialog", "source/userinterface/exportscenario.html", "11"],
  ["Importing and Exporting Scenarios and Scripts", "source/userinterface/importscenario.html", "11"],
  ["Search and Replace Strings Import Dialog", "source/userinterface/importscenariodialog.html", "11"]
 ],
 ["Regular Expressions", null, "1",
  ["Regular Expression Syntax", "source/regexp.html", "11"],
  ["Using Regular Expressions", "source/usingrx.html", "11"],
  ["Regular Expression Examples", "source/regexpexamples.html", "11"],
  ["Regular Expression Laboratory", "source/userinterface/regexplaboratory.html", "11"]
 ],
 ["Working via FTP", null, "1",
  ["FTP: General Information", "source/technology/ftp.overview/ftp.overview.html", "11"],
  ["Processing Remote Files via FTP", "source/technology/ftp.overview/ftp.steps.to.process.remote.files.via.ftp.html", "11"]
 ],
 ["Common Tasks", null, "1",
  ["HOWTO: Perform Simple File Search", "source/commontasks/howtoperformsimplefilesearch.html", "11"],
  ["HOWTO: Search For Text In Files", "source/commontasks/howtosearchfortextinfiles.html", "11"],
  ["HOWTO: Search For Text In Files In Multiple Folders", "source/commontasks/howtosearchfortextinfilesinmultiplefolders.html", "11"],
  ["HOWTO: Search For Text Using Regilar Expressions", "source/commontasks/howtosearchfortextusingregilarexpressions.html", "11"],
  ["HOWTO: Find And Replace Text In Files", "source/commontasks/howtosearchandreplacetextinfiles.html", "11"],
  ["HOWTO: Find And Replace Text Using Regular Expressions", "source/commontasks/howtosearchandreplacetextusingrx.html", "11"],
  ["HOWTO: Find and Replace Text in Word and Excel Files", "source/commontasks/howtosearchandreplacetextinmsofiles.html", "11"],
  ["HOWTO: Collect Any Text from Multiple Files In a Single File", "source/commontasks/howtocollectanytextmultiplefilesinasinglefile.html", "11"],
  ["HOWTO: Create a CSV File With E-mails Collected From Multiple Files", "source/commontasks/howtocreateacsvfilewithe-mailscollected.html", "11"],
  ["HOWTO: Setup a Start-off to Documenting Your Source Code", "source/commontasks/howtosetupstartofftodocumentingsourcecode.html", "11"],
  ["HOWTO: Insert a file reference regarding directory hierarchy", "source/commontasks/howtoinsertfilerefregardinghierarchy.html", "11"],
  ["HOWTO: Use Scenarios To Automate Work", "source/commontasks/howtoautomatethingsusingscenarios.htm", "11"],
  ["HOWTO: Use Command Line Switches", "source/commontasks/howtousecommandline.htm", "11"],
  ["HOWTO: Browse Image Files", "source/commontasks/howto.search.images.html", "11"]
 ],
 ["Knowledge Base", null, "1",
  ["KB0001: I want to replace everything between */ and /* with a single line of text", "source/kb/kb0001.i_want_to_replace_everything_between_and_with_a_single_line_of_text.html", "11"],
  ["KB0002: How to find the very beginning of the file", "source/kb/kb0002.how_to_find_the_very_beginning_of_the_file.html", "11"],
  ["KB0003: How can I replace something within some tag", "source/kb/kb0003.how_can_i_replace_something_within_some_tag.html", "11"],
  ["KB0004: Grep http and ftp addresses (URL matching)", "source/kb/kb0004.grep_http_and_ftp_addresses_(url_matching).html", "11"],
  ["KB0005: Using TW from command line, how do I search for a single quote mark?", "source/kb/kb0005.using_hffr_from_command_line,_how_do_i_search_for_a_single_quote_mark_.html", "11"],
  ["KB0006:I need to change strings from osCommerce format to phpBB", "source/kb/kb0006.i_need_to_change_strings_from_oscommerce_format_to_phpbb.html", "11"]
 ],
 ["Command Line", "source/command line.html", "11"],
 ["Configuration File for Use in Command Line", "source/configurationfile.html", "11"],
 ["How to Register", "source/hottobuy.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;
}

