var TITEMS = [ 
 ["Welcome", "index.htm", "11"],
 ["Features", "features.htm", "11"],
 ["Requirements", "requirements.htm", "11"],
 ["Concepts", "concepts_of_wpc.htm", "11"],
 ["Quick Start", "quickstart.htm", "11"],
 ["Editors", "editors.htm", "1",
  ["Calendar Notes Editor", "calendar_notes_editor.htm", "11"],
  ["Notes Editor", "notes_editor.htm", "11"],
  ["Quotes Editor", "quotes_editor.htm", "11"],
  ["Text Editor", "text_editor.htm", "11"]
 ],
 ["Attach Applications", "attach_applications.htm", "11"],
 ["Categories", "categories.htm", "11"],
 ["COM Interface", "com_interface.htm", "11"],
 ["Cycling Flow", "wpc_cycling_flow.htm", "11"],
 ["Effects SDK", "effects_sdk.htm", "11"],
 ["EXIF Data", "exif.htm", "11"],
 ["FAQ", "FAQ.htm", "10"],
 ["Launch At Startup", "startuplaunch.htm", "11"],
 ["Manage Thumbnail Database", "manage_thumb_db.htm", "11"],
 ["News Feeds", "news_feeds.htm", "11"],
 ["Rename Wallpaper", "rename_wallpaper.htm", "11"],
 ["Screen Saver", "screensaver.htm", "11"],
 ["Search Folders", "search_folders.htm", "11"],
 ["Settings", "settings.htm", "11"],
 ["Shortcut Keys", "shortcuts.htm", "18"],
 ["Slideshow Mode", "slideshow_mode.htm", "11"],
 ["Smart Orientation", "smart_orientation.htm", "11"],
 ["Statistics", "statistics.htm", "11"],
 ["Synchronize Folders", "synchronize_folders.htm", "11"],
 ["Tags", "tags.htm", "11"],
 ["Windows Vista Gadget", "vista_sidebar_gadget.htm", "11"],
 ["Main Window", "main.htm", "1",
  ["Main Window", "main.htm", "11"],
  ["Caption Bar", "caption_bar.htm", "11"],
  ["Categories Tree", "category_tree.htm", "11"],
  ["Imagelist", "imagelist.htm", "11"],
  ["Information Frame", "information_frame.htm", "11"],
  ["Menus", "menus.htm", "11"],
  ["Statusbar", "statusbar.htm", "11"],
  ["Toolbar", "toolbar.htm", "11"]
 ],
 ["HowTo", "howto.htm", "1",
  ["HowTo Work With Wallpaper Categories", "howto_work_with_wallpaper_categories.htm", "11"],
  ["HowTo Add Wallpapers", "howto_add_wallpapers.htm", "11"],
  ["HowTo Work With Layout Categories", "howto_work_with_layout_categories.htm", "11"],
  ["HowTo Add Layouts", "howto_add_layouts.htm", "11"],
  ["HowTo Quickly Jump To A News Article", "howto_quickly_jump_to_a_news_article.htm", "11"],
  ["HowTo Render News Headlines On Your Desktop", "howto_render_news_headlines_on_desktop.htm", "11"],
  ["HowTo Render Notes On Your Desktop", "howto_render_notes_on_desktop.htm", "11"],
  ["HowTo Render Quotes On Your Desktop", "howto_render_quotes_on_desktop.htm", "11"],
  ["HowTo Use The Layout Editor", "howto_use_the_layout_editor.htm", "11"]
 ],
 ["Wallpapers", "wallpapers.htm", "1",
  ["Image Wallpapers", "wallpaper_file.htm", "11"],
  ["Recursively Add Wallpapers", "add_folder_recursively.htm", "11"],
  ["Gradient Wallpapers", "wallpaper_gradient.htm", "11"],
  ["URL Wallpapers", "wallpaper_url.htm", "11"]
 ],
 ["Layouts", "layouts.htm", "1",
  ["Layouts", "layouts.htm", "11"],
  ["Categories", "layout_categories.htm", "11"],
  ["Specify Layouts", "specify_layouts.htm", "11"],
  ["Layout Editor", "layout_editor.htm", "1",
   ["Drawing Canvas", "layout_editor_drawing_canvas.htm", "11"],
   ["Menus", "layout_editor_menubar.htm", "11"],
   ["Properties Bar", "layout_editor_properties_bar.htm", "11"],
   ["Statusbar", "layout_editor_statusbar.htm", "11"],
   ["Toolbar", "layout_editor_toolbar.htm", "11"],
   ["Toolbox", "layout_editor_toolbox.htm", "11"]
  ],
  ["Calendar Object", "layout_editor_calendar.htm", "11"],
  ["Calendar Notes Object", "layout_editor_calendar_notes.htm", "11"],
  ["Effects", "layout_editor_effects.htm", "11"]
 ],
 ["Find Wallpapers", "find_wallpapers.htm", "1",
  ["Find And Replace", "find_and_replace.htm", "11"],
  ["Find Duplicate Images", "find_duplicates.htm", "11"],
  ["Find Non Existing Images", "find_non_existing.htm", "11"]
 ],
 ["Credits", "Credits.htm", "1",
  ["Credits", "Credits.htm", "11"],
  ["AGG", "License_AGG.htm", "11"],
  ["BCMenu", "License_BCMenu.htm", "11"],
  ["ColourPopup", "License_ColourPopup.htm", "11"],
  ["CrashRpt", "License_Crashrpt.htm", "11"],
  ["IJG (jpeg library)", "License_IJG.htm", "11"],
  ["Jasper", "License_Jasper.htm", "11"],
  ["JpegFile", "License_JpegFile.htm", "11"],
  ["libexif", "License_libexif.htm", "11"],
  ["Libpng", "License_libpng.htm", "11"],
  ["Libtiff", "License_libtiff.htm", "11"],
  ["Mersenne Twister", "License_mersenne.htm", "11"],
  ["zib", "License_zlib.htm", "11"]
 ],
 ["Freeware Limitations", "freeware_version.htm", "11"],
 ["Trial Limitations", "trial.htm", "11"],
 ["Contact Information", "contactinfo.htm", "25"],
 ["License Agreement", "license_full_version.htm", "11"],
 ["License Agreement (Freeware version)", "license_freeware_version.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;
}


