var TITEMS = [ 
 ["Introduction", null, "1",
  ["About CQLog", "source/contents.html", "11"],
  ["System requirements", "source/systemrequirements.html", "11"],
  ["Getting started", "source/install.html", "11"]
 ],
 ["Command Reference", null, "1",
  ["Main window", "source/system.html", "11"],
  ["Menu Bar", "source/menu.html", "1",
   ["File menu", "source/m_file.html", "11"],
   ["Edit menu", "source/m_edit.html", "11"],
   ["Administration menu", "source/m_admin.html", "1",
    ["Submenu of the DX Atlas program control", "source/m_dxatlas.html", "11"]
   ],
   ["Navigation menu", "source/m_nav.html", "11"],
   ["Windows menu", "source/m_win.html", "11"],
   ["Help menu", "source/m_help.html", "11"]
  ],
  ["Toolbar", "source/toolbar.html", "11"],
  ["Adding and editing records", "source/editing.html", "11"]
 ],
 ["Customize a program", "source/frmsetup0.html", "1",
  ["Personal data", "source/frmsetup1.html", "11"],
  ["Callbooks", "source/frmsetup2.html", "11"],
  ["External programs", "source/frmsetup3.html", "11"],
  ["Print reports", "source/frmsetup4.html", "11"],
  ["TRCVR CAT/PTT", "source/frmsetup5.html", "1",
   ["COM port options", "source/comportoptions.html", "11"]
  ],
  ["Tape-recorder", "source/frmsetup6.html", "11"],
  ["User interface", "source/frmsetup7.html", "11"],
  ["Miscellaneous", "source/frmsetup8.html", "1",
   ["Auto-switching of keyboard layouts", "source/frmsetup8kl.html", "11"],
   ["Step-by-step for definition of keyboard layout", "source/keyboardlayout.html", "11"]
  ],
  ["Internet settings", "source/frmsetup9.html", "11"],
  ["Awards", "source/frmsetup10.html", "11"]
 ],
 ["Data searching", "source/finddata.html", "1",
  ["Using And/Or option", "source/finddataao.html", "11"],
  ["Using Equals/Contains option", "source/finddataec.html", "11"],
  ["Using combinations of And/Or and Equals/Contains", "source/finddataae.html", "11"],
  ["Using Exact", "source/finddataet.html", "11"],
  ["Some examples", "source/findexamples.html", "11"]
 ],
 ["QSOs Log-book", null, "1",
  ["Data Entry", "source/frmlogdata.html", "1",
   ["First (static) way of data entry", "source/frmlogdata1.html", "11"],
   ["Second (interactive) way of data entry", "source/frmlogdata2.html", "11"],
   ["Hints at data entry", "source/frmlogdata3.html", "11"],
   ["Callsign buffer", "source/frmlogdata4.html", "11"],
   ["Input of a name and QTH", "source/frmlogdata5.html", "11"],
   ["Input of the notes", "source/frmlogdata6.html", "11"],
   ["Date and time adjustment", "source/frmlogdata7.html", "11"],
   ["QSL, LoTW, and eQSL exchange, managers", "source/frmlogdata8.html", "11"],
   ["Ambiguous definition of DXCC territory", "source/frmlogdata9.html", "11"],
   ["Territory definition with slash in a Callsign", "source/frmlogdata10.html", "11"],
   ["Ambiguous definition of the QSL manager", "source/frmlogdata11.html", "11"],
   ["Data input for awards statistics", "source/frmlogdata12.html", "1",
    ["Reference for RDA statistics", "source/rdaward.html", "11"]
   ]
  ],
  ["List", "source/frmloglist.html", "1",
   ["Sortings and orderings", "source/frmloglist1.html", "11"],
   ["Additional controls", "source/frmloglist2.html", "11"]
  ],
  ["SSTV picture", "source/frmlogsstv.html", "1",
   ["Saving and deleting of pictures", "source/frmlogsstv1.html", "11"],
   ["Usage clipboard", "source/frmlogsstv2.html", "11"],
   ["Review of pictures archive", "source/frmlogsstv3.html", "11"],
   ["Printing SSTV labels", "source/frmlogsstv4.html", "1",
    ["Step-by-step for SSTV labels printing", "source/prisstvpic.html", "11"]
   ],
   ["Note", "source/frmlogsstv5.html", "11"]
  ],
  ["Accessories", "source/frmlogacc.html", "1",
   ["World map", "source/frmlogacc1.html", "11"],
   ["Application for the award", "source/frmlogacc2.html", "1",
    ["Step-by-step for printing the application", "source/printveteran.html", "11"],
    ["Step-by-step for printing the RDA application", "source/printrda.html", "11"]
   ],
   ["QTH - Locator", "source/frmlogacc3.html", "11"],
   ["Radioamateur beacons", "source/frmlogacc4.html", "11"]
  ]
 ],
 ["Contesting", null, "1",
  ["Data Entry", "source/frmcontestdataentry.html", "11"],
  ["List and Miscellaneous", "source/frmcontestlist.html", "11"],
  ["Create report", "source/frmcontestreport.html", "11"],
  ["Contest rules", "source/frmtestrules.html", "1",
   ["Exchange", "source/frmtestrulesexchange.html", "11"],
   ["QSO Points", "source/frmtestrulespoints.html", "11"],
   ["Multipliers", "source/frmtestrulesmults.html", "11"],
   ["Select and adds prefixes", "source/frmtestrulesseladds.html", "11"]
  ]
 ],
 ["Awards", null, "1",
  ["Tab Data Entry", "source/frmawarddata.html", "11"],
  ["Tab Total List", "source/frmawardlist.html", "11"],
  ["Statistics by Modes", "source/frmawardmode.html", "11"],
  ["Statistics by Bands", "source/frmawardband.html", "11"],
  ["Total statistics by Modes and by Bands", "source/frmawardchart.html", "11"]
 ],
 ["RIG Control and Tape Recorder", "source/frmrigctrlsound.html", "1",
  ["The Digital Tape Recorder", "source/digitalsound.html", "11"],
  ["RIG Control and Type Recorder window options", "source/rigctrlelem.html", "11"]
 ],
 ["Support of other programs, Callbooks, eQSL.cc", null, "1",
  ["Data reading from Callbooks", "source/frmsupport.html", "11"],
  ["Data exchange with MixW2 and DigiPan", "source/supportmixw.html", "1",
   ["Tags list for MixW2 and DigiPan", "source/tags_for_mixw.html", "11"]
  ],
  ["Data exchange with CwGet, CwType, and TrueTTY", "source/supportosv.html", "1",
   ["Tags list for CwType and TrueTTY", "source/tags_for_truetty.html", "11"]
  ],
  ["Integrates with DX Atlas", "source/dxatlas.html", "11"],
  ["Support of eQSL.cc (The Electronic QSL Card Centre)", "source/eqslcc.html", "11"]
 ],
 ["Documents printing and modifying", "source/frmprint.html", "1",
  ["Print Preview", "source/printpreview.html", "1",
   ["Print Preview Toolbar", "source/printpreviewtoolbar.html", "11"]
  ],
  ["Designing reports and labels", "source/modifyrepo.html", "1",
   ["Adding Report Controls", "source/addingreportcontrols.html", "11"],
   ["Report Controls Toolbar", "source/reportcontrolstoolbar.html", "11"],
   ["Page Setup dialog box", "source/frmpagesetup.html", "11"]
  ],
  ["Create MS Word templates", "source/createreports.html", "1",
   ["Add reports to the Print List", "source/addreporttotheprintlist.html", "11"],
   ["Tags list for template with one QSO", "source/tags_listqso.html", "11"],
   ["Tags list for template with three QSOs", "source/tags_listqsos.html", "11"]
  ],
  ["Print Setup dialog box", "source/frmprintsetup.html", "11"]
 ],
 ["Importing and exporting data", null, "1",
  ["Import", "source/frmimport.html", "1",
   ["Step-by-step for data import", "source/import_stepbystep.html", "11"],
   ["Import from 425DX News", "source/import425dxnews.html", "11"],
   ["Download QSLs from eQSL.cc", "source/qsl_import.html", "11"],
   ["Import list", "source/list_import.html", "11"],
   ["Data recovery from a backup copy", "source/restoredata.html", "11"]
  ],
  ["Export", "source/frmexport.html", "11"]
 ],
 ["Addendum and service", null, "1",
  ["Prefixes and territories", "source/frmprefix.html", "11"],
  ["QSL Bureaus, Managers, DXs", "source/frmmanager.html", "11"],
  ["Lists of QSL Managers, Names, QTHs", "source/frmlists.html", "11"],
  ["DXs Today’s (DXs which can be met today)", "source/frmdxtodays.html", "11"],
  ["DX-Submit and announcements", "source/frmdxsubmit.html", "11"],
  ["Skeds", "source/frmsked.html", "11"],
  ["Backup of data", "source/frmbackup.html", "11"]
 ],
 ["Rebuilds, reindexes", "source/frmrebuild.html", "1",
  ["Rebuild indexes steps", "source/reindexing.html", "11"],
  ["Tables packing steps", "source/packing.html", "11"],
  ["Tables packing and rebuild indexes steps", "source/packingreindexing.html", "11"],
  ["Database files (are located in a X:\CQLog\Data&quot; folder)", "source/dbfs_list.html", "11"]
 ],
 ["Secondary dialog boxes", null, "1",
  ["About CQLOG", "source/frmabout.html", "11"],
  ["Message window", "source/frmmessage.html", "11"],
  ["Select Directory dialog box", "source/frmenterdir.html", "11"],
  ["Open dialog box", "source/frmenterfile.html", "11"],
  ["Open Picture dialog box", "source/frmenterpic.html", "11"],
  ["Code Page dialog box", "source/frmcodepage.html", "11"]
 ],
 ["Appendix", null, "1",
  ["Q - Code", "source/qcode.html", "1",
   ["QRA", "source/qra.html", "11"],
   ["QRB", "source/qrb.html", "11"],
   ["QRG", "source/qrg.html", "11"],
   ["QRH", "source/qrh.html", "11"],
   ["QRI", "source/qri.html", "11"],
   ["QRK", "source/qrk.html", "11"],
   ["QRL", "source/qrl.html", "11"],
   ["QRM", "source/qrm.html", "11"],
   ["QRN", "source/qrn.html", "11"],
   ["QRO", "source/qro.html", "11"],
   ["QRP", "source/qrp.html", "11"],
   ["QRQ", "source/qrq.html", "11"],
   ["QRS", "source/qrs.html", "11"],
   ["QRT", "source/qrt.html", "11"],
   ["QRU", "source/qru.html", "11"],
   ["QRV", "source/qrv.html", "11"],
   ["QRW", "source/qrw.html", "11"],
   ["QRX", "source/qrx.html", "11"],
   ["QRY", "source/qry.html", "11"],
   ["QRZ", "source/qrz.html", "11"],
   ["QSA", "source/qsa.html", "11"],
   ["QSB", "source/qsb.html", "11"],
   ["QSD", "source/qsd.html", "11"],
   ["QSK", "source/qsk.html", "11"],
   ["QSL", "source/qsl.html", "11"],
   ["QSN", "source/qsn.html", "11"],
   ["QSO", "source/qso.html", "11"],
   ["QSP", "source/qsp.html", "11"],
   ["QSY", "source/qsy.html", "11"],
   ["QSX", "source/qsx.html", "11"],
   ["QSU", "source/qsu.html", "11"],
   ["QSZ", "source/qsz.html", "11"],
   ["QTC", "source/qtc.html", "11"],
   ["QTH", "source/qth.html", "11"],
   ["QTR", "source/qtr.html", "11"],
   ["QTU", "source/qtu.html", "11"],
   ["QUA", "source/qua.html", "11"]
  ],
  ["Band planing", "source/frequency.html", "11"],
  ["ITU and WAZ zones", "source/ituwaz.html", "11"],
  ["HF Beacons", "source/beacons.html", "11"],
  ["QTH Locators", "source/qthlocator.html", "11"],
  ["Program errors", "source/errors.html", "11"]
 ],
 ["Registration", null, "1",
  ["How to purchase/register", "source/purchase.html", "11"],
  ["License Information", "source/license.html", "11"],
  ["Why should I register?", "source/whyshouldiregister.html", "11"],
  ["Free-of-charge registration", "source/freereg.html", "11"]
 ],
 ["About Us", null, "1",
  ["Getting program updates", "source/gettingprogramupdates.html", "11"],
  ["Technical support and feedback", "source/technicalsupport.html", "11"],
  ["Our products", "source/ourproducts.html", "11"],
  ["Contact Us", "source/contactus.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;
}

