var TITEMS = [ 
 ["Beginner Guide", "help_documents/gettingstart.html", "12",
  ["Install Joyfax", "help_documents/installation.html", "9"]
 ],
 ["Introduction", "help_documents/introduce.html", "1",
  ["Overview", "help_documents/introduce.html", "9"],
  ["System Requirements", "help_documents/systemrequest.html", "11"],
  ["What's new in Version 4", "help_documents/versionhistory.html", "11"]
 ],
 ["Joyfax Server", "help_documents/SERVER/JoyFaxServer.html", "1",
  ["Configuration wizards", "help_documents/SERVER/wizards.html", "9"],
  ["Configure Fax Devices", "help_documents/SERVER/fax_modem.html", "11"],
  ["Area Code & Dialing Rules", "help_documents/SERVER/area_code.html", "11"],
  ["Fax to Email Configurations", "help_documents/SERVER/email_service.html", "11"],
  ["Automatic Fax Routing", "help_documents/SERVER/fax_routing.html", "1",
   ["To Client Users", "help_documents/SERVER/routing_client.html", "9"],
   ["To Email Addresses", "help_documents/SERVER/fax_to_email.html", "11"],
   ["To Printer", "help_documents/SERVER/auto_print.html", "11"],
   ["CSID Matching Rules", "help_documents/SERVER/csid_matching.html", "11"]
  ],
  ["Forward incoming fax to clients manually", "help_documents/SERVER/Server_Forward_incomingfax.html", "3"],
  ["Managing faxes", "help_documents/SERVER/Working.html", "1",
   ["Suspend sending fax job", "help_documents/SERVER/server_suspend_sendfax.html", "9"],
   ["Pause outgoing fax job", "help_documents/SERVER/server_pause_outgoingfax.html", "11"],
   ["Resume outgoing fax job", "help_documents/SERVER/server_resume_outgoingfax.html", "11"],
   ["Resend undelivered fax", "help_documents/SERVER/Server_resend_failingfax.html", "11"],
   ["Cancel receiving fax job", "help_documents/SERVER/Server_Cancel_receivingfax.html", "11"],
   ["Mark fax as removed", "help_documents/SERVER/Server_Mark_removed.html", "11"],
   ["Fax properties", "help_documents/SERVER/Server_Fax_properties.html", "11"],
   ["View Fax Message", "help_documents/SERVER/Server_ViewFax.html", "11"],
   ["Search Fax History", "help_documents/SERVER/server_faxhistory.html", "11"]
  ],
  ["Public Address Book", "help_documents/SERVER/contacts.html", "1",
   ["Managing Contact Groups", "help_documents/SERVER/contact_groups.html", "1",
    ["Add new contact group", "help_documents/SERVER/contact_groups_add.html", "9"],
    ["Edit Contact Group", "help_documents/SERVER/contact_groups_edit.html", "11"],
    ["Delete Contact Group", "help_documents/SERVER/contact_groups_remove.html", "11"]
   ],
   ["Managing Contacts", "help_documents/SERVER/contact_Managing.html", "1",
    ["Add new contact", "help_documents/SERVER/contact_add.html", "9"],
    ["Edit contact", "help_documents/SERVER/contact_edit.html", "11"],
    ["Delete contact", "help_documents/SERVER/contact_delete.html", "11"]
   ],
   ["Exporting contacts", "help_documents/SERVER/contact_export.html", "11"],
   ["Importing contacts", "help_documents/SERVER/contact_import.html", "11"]
  ],
  ["User Manager", "help_documents/SERVER/user_manager.html", "1",
   ["Managing Groups", "help_documents/SERVER/groups_manager.html", "1",
    ["Add new group", "help_documents/SERVER/Group_new.html", "9"],
    ["Edit group", "help_documents/SERVER/Group_edit.html", "11"],
    ["Delete group", "help_documents/SERVER/group_delete.html", "11"]
   ],
   ["Managing Users", "help_documents/SERVER/Manage_User.html", "1",
    ["Add new user", "help_documents/SERVER/user_add.html", "9"],
    ["Edit user", "help_documents/SERVER/user_edit.html", "11"],
    ["Delete user", "help_documents/SERVER/user_delete.html", "11"]
   ],
   ["User Permissions", "help_documents/SERVER/User_permissions.html", "10"]
  ],
  ["Run Joyfax Server as Windows Service", "help_documents/SERVER/run_as_service.html", "11"]
 ],
 ["Joyfax Client", "help_documents/Client/JoyFaxClient.html", "1",
  ["Configure Settings", "help_documents/Client/options.html", "9"],
  ["Login to Joyfax Server", "help_documents/Client/UserLogin.html", "1",
   ["User Login", "help_documents/Client/login.html", "9"]
  ],
  ["Sending faxes", "help_documents/Client/Sendfax.html", "1",
   ["Sending a fax from Client", "help_documents/Client/sending_client.html", "9"],
   ["Quickly faxing an existing contact", "help_documents/Client/sending_quickfax.html", "11"],
   ["Sending a fax from another application", "help_documents/Client/sending_app.html", "11"],
   ["Faxing a document from Windows Explorer", "help_documents/Client/sending_sendto.html", "11"],
   ["Sending a scheduled fax", "help_documents/Client/sending_scheduled.html", "11"],
   ["Add your personal digital signature", "help_documents/Client/Digital_signature.html", "10"],
   ["Checking fax status", "help_documents/Client/sending_faxstatus.html", "10"],
   ["Fax Recipients", "help_documents/Client/FaxRecipients.html", "19"],
   ["Fax Options", "help_documents/Client/FaxOptions.html", "11"],
   ["Custom fax headers & footers", "help_documents/Client/fax_headerandfooters.html", "11"]
  ],
  ["Receiving faxes", "help_documents/Client/Receivefax.html", "1",
   ["From Joyfax Client", "help_documents/Client/Receiveing_Client.html", "9"],
   ["From your email client(Outlook or Thunderbird)", "help_documents/Client/Receiveing_Email.html", "11"],
   ["Read Tracking", "help_documents/Client/Read_Tracking.html", "10"],
   ["Retrieving fax history", "help_documents/Client/Receiveing_RetrievingHistry.html", "11"]
  ],
  ["Managing Folders", "help_documents/Client/folder_explorer.html", "1",
   ["Adding a folder", "help_documents/Client/folder_add.html", "9"],
   ["Moving a folder", "help_documents/Client/folder_move.html", "11"],
   ["Renaming a folder", "help_documents/Client/folder_rename.html", "11"],
   ["Deleting a folder", "help_documents/Client/folder_remove.html", "11"]
  ],
  ["Working with faxes", "help_documents/Client/workingwithfax.html", "1",
   ["Fax Properties", "help_documents/Client/FaxProperties.html", "9"],
   ["Searching fax", "help_documents/Client/Search_Fax.html", "10"],
   ["Print a fax message", "help_documents/Client/print_fax.html", "11"],
   ["Marking fax as Unread", "help_documents/Client/mark_as_read.html", "11"],
   ["Moving faxes", "help_documents/Client/Moving_Fax.html", "11"],
   ["E-mail fax message", "help_documents/Client/email_fax.html", "11"],
   ["Deleting fax", "help_documents/Client/delete_fax.html", "11"],
   ["Restoring deleted fax", "help_documents/Client/resotre_fax.html", "11"]
  ]
 ],
 ["Cover Page Editor", "help_documents/CoverPageEditor/FaxCoverPageEditor.html", "1",
  ["Add, edit, or delete cover pages", "help_documents/CoverPageEditor/access_cover_pages.html", "9"],
  ["Save a cover page", "help_documents/CoverPageEditor/save_cover_pages.html", "11"],
  ["Insert cover page information fields", "help_documents/CoverPageEditor/insert_data_fields_in_cover_page.html", "11"],
  ["Add a graphic to a cover page", "help_documents/CoverPageEditor/insert_graphic_in_cover_page.html", "11"],
  ["Insert labels, lines, shapes and graphics objects", "help_documents/CoverPageEditor/insert_objects_in_cover_page.html", "11"],
  ["Display or hide grid lines", "help_documents/CoverPageEditor/grid_lines.html", "11"]
 ],
 ["Fax Browser", "help_documents/Browser/JoyFaxBrowser.html", "1",
  ["Main Window", "help_documents/Browser/browser_window.html", "1",
   ["Menu bar", "help_documents/Browser/browser_menubar.html", "9"],
   ["Toolbars", "help_documents/Browser/browser_toolbars.html", "11"],
   ["Status bar", "help_documents/Browser/browser_Statusbar.html", "11"]
  ],
  ["Working with browser", "help_documents/Browser/browser_viewfax.html", "1",
   ["Zoom in or out on a fax", "help_documents/Browser/browser_zoom.html", "9"],
   ["Rotate fax", "help_documents/Browser/browser_rotate.html", "11"],
   ["Print fax", "help_documents/Browser/browser_print.html", "11"],
   ["View multi-page fax", "help_documents/Browser/browser_multi-page.html", "11"],
   ["Close Joyfax Browser", "help_documents/Browser/browser_close.html", "11"]
  ]
 ],
 ["Data Backup & Restore", "help_documents/Backup_Restore/backup_restore.html", "1",
  ["Server Datas", "help_documents/Backup_Restore/server_backup_restore.html", "9"],
  ["Client Datas", "help_documents/Backup_Restore/Client_backup_restore.html", "11"]
 ],
 ["Frequently Asked Questions", "help_documents/FAQs/FAQs.html", "1",
  ["Does it matter what fax modem I use for faxing?", "help_documents/FAQs/what_fax_modem.html", "9"],
  ["Which modems and fax boards do you recommend for Joyfax Server?", "help_documents/FAQs/fax_modems.html", "11"],
  ["What are the differences between class 1, 2 and class 2.0 modems?", "help_documents/FAQs/fax_class.html", "11"],
  ["How do I silence the fax modem / How to turn off modem speaker?", "help_documents/FAQs/silencing_modem.html", "11"],
  ["How to correct the Modem initialization string?", "help_documents/FAQs/modem_initialization_string.html", "11"],
  ["I am having problems sending faxes with my US Robotics fax modem", "help_documents/FAQs/us_robotics.html", "11"],
  ["Does my modem support Caller ID?", "help_documents/FAQs/caller_id.html", "11"],
  ["How can I improve fax reliability?", "help_documents/FAQs/improve_fax_server_reliability.html", "11"],
  ["I got the error message &quot;Create print desktop failed, not enough storage space.&quot;", "help_documents/FAQs/createdesktop_failed.html", "11"],
  ["How to set up Area Code for Joyfax Server?", "help_documents/FAQs/setup_area_code.html", "11"],
  ["In the United States, what sequence of numbers do we need to enter in the address book?", "help_documents/FAQs/enter_phonenumber.html", "11"],
  ["Is there a way to prevent stripping the local area code for all numbers of the local area?", "help_documents/FAQs/area_code_rules.html", "11"],
  ["How to access Joyfax Server behind a router/firewall?", "help_documents/FAQs/fax_server_router.html", "11"],
  ["How many recipients can be specified in per fax message?", "help_documents/FAQs/recipients.html", "11"],
  ["Can I send faxes from the fax server?", "help_documents/FAQs/send_fax_from_server.html", "11"],
  ["Remove the limit concurrent TCP/IP connections for Windows XP/Vista", "help_documents/FAQs/tcpip_patch.html", "11"],
  ["How to backup of the Joyfax Server files?", "help_documents/FAQs/fax_server_backup.html", "11"],
  ["Can I add additional Clients or FAX Line later?", "help_documents/FAQs/additional_clients.html", "11"],
  ["Why have I not received my registration codes?", "help_documents/FAQs/registration.html", "11"],
  ["Error Joyfax Server has encountered a problem and needs to close", "help_documents/FAQs/crashes.html", "11"]
 ],
 ["Registering Software", "help_documents/Register/Register.html", "3",
  ["Registering Joyfax Server", "help_documents/Register/server_register.html", "9"],
  ["Registering Joyfax Client", "help_documents/Register/Client_Register.html", "11"]
 ],
 ["License Agreement", "help_documents/license.html", "11"],
 ["Technical support", "help_documents/contact.html", "13"]
];


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;
}


