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

