var TITEMS = [ 
 ["Welcome to Instant Demo", "source/help/help_welcome.htm", "17"],
 ["How to Use Help", "source/help/help_help.htm", "11"],
 ["Recording", "source/help/help_recorder.htm", "1",
  ["Recording an Instant Demo", "source/help/help_tutorial1.htm", "11"],
  ["Screen Capture Modes", "source/help/help_fullscreen.htm", "11"],
  ["TrakMouse (Zoom and Pan)", "source/help/help_pan.htm", "11"],
  ["Capturing video", "source/help/help_capture_video.htm", "11"],
  ["More options...", "source/help/help_cap_more_options.htm", "1",
   ["Record Sound", "source/help/help_cap_sound.htm", "1",
    ["Recording quality", "source/help/help_rec_freq_rate.htm", "11"],
    ["Recording Device", "source/help/help_rec_device.htm", "11"],
    ["Test Recording", "source/help/help_rec_test.htm", "11"],
    ["Recorded Sound Monitor", "source/help/help_recording_level_monitor.htm", "11"],
    ["Display Sound Monitor", "source/help/help_rec_show_monitor.htm", "11"],
    ["Device Settings", "source/help/help_rec_settings.htm", "11"],
    ["Normalize sound", "source/help/help_rec_normal.htm", "11"],
    ["Remove noise", "source/help/help_rec_noise.htm", "11"]
   ],
   ["Record Mouse", "source/help/help_cap_capture.htm", "11"],
   ["Smooth Movement", "source/help/help_cap_smooth.htm", "11"],
   ["Capture Rate", "source/help/help_cap_slider.htm", "11"],
   ["Mouse Capture Rate", "source/help/help_cap_mouse.htm", "11"],
   ["Screen Capture Rate", "source/help/help_cap_screen.htm", "11"],
   ["Follow Active Window", "source/help/help_active_window.htm", "11"],
   ["Record transparent windows", "source/help/help_special_effects.htm", "11"],
   ["Capture video hardware", "source/help/help_cap_video.htm", "11"],
   ["Extra Compression on Raw Video", "source/help/help_extra_compression.htm", "11"],
   ["Video Location", "source/help/help_cap_temp_video.htm", "11"]
  ],
  ["Record Pause Hotkey", "source/help/help_pause_hotkey.htm", "11"],
  ["Insert Chapter Hotkey", "source/help/help_chapter_hotkey.htm", "11"],
  ["Single Frame Screen Capture", "source/help/help_screen_capture.htm", "11"],
  ["Hiding the Stop Sign Icon", "source/help/help_hide_stop_sign.htm", "11"],
  ["Combining movies", "source/help/help_combine.htm", "11"],
  ["Maximum recording times", "source/help/help_how_big.htm", "11"],
  ["Importing video (AVI)", "source/help/help_import_avi.htm", "11"]
 ],
 ["Editing", "source/help/help_movie_editor.htm", "1",
  ["Movie Scrollbar", "source/help/help_scrollbar.htm", "11"],
  ["Preview Window", "source/help/help_preview_window.htm", "11"],
  ["Talk Bubble Editor", "source/help/help_talkbox_editor.htm", "11"],
  ["Studio Window", "source/help/help_studio.htm", "11"],
  ["Multiple Languages", "source/help/help_talkbox_language.htm", "11"],
  ["Text to Speech", "source/help/help_edit_speech.htm", "11"],
  ["Editing the Recorded Mouse", "source/help/help_edit_mouse.htm", "11"],
  ["Chapters", "source/help/help_chapter.htm", "11"],
  ["Zoom and Pan", "source/help/help_zoom.htm", "11"],
  ["TrakMouse", "source/help/help_trakmouse.htm", "11"],
  ["Standard Style", "source/help/help_style.htm", "1",
   ["Talk Bubble", "source/help/help_style_talk.htm", "11"],
   ["Talk Bubble Font", "source/help/help_style_talk_font.htm", "11"],
   ["Talk Bubble Color", "source/help/help_style_talk_panel.htm", "11"],
   ["Hotspot", "source/help/help_style_hotspot.htm", "11"],
   ["Hotspot Color", "source/help/help_style_hotspot_color.htm", "11"],
   ["Hotspot Settings", "source/help/help_style_hotspot_more.htm", "1",
    ["Hotspot Position", "source/help/help_hotspot_position.htm", "11"],
    ["Show Mouse", "source/help/help_hotspot_show_mouse.htm", "11"],
    ["Hotspot Thickness", "source/help/help_hotspot_thickness.htm", "11"]
   ],
   ["Restore", "source/help/help_style_restore.htm", "11"]
  ],
  ["Professional Style", "source/help/help_style_advanced.htm", "1",
   ["Talk Bubble", "source/help/help_style_pro_bubble.htm", "1",
    ["Add navigation control", "source/help/help_style_talk_bubble_navigation.htm", "11"],
    ["Show when mouse over Hotspot", "source/help/help_style_bubble_mouse_over.htm", "11"],
    ["Show until frame", "source/help/help_style_bubble_show_until.htm", "11"],
    ["Speech", "source/help/help_edit_speech.htm", "11"],
    ["Advanced", "source/help/help_advanced_talk_bubble.htm", "11"]
   ],
   ["Hotspot", "source/help/help_style_pro_hotspot.htm", "1",
    ["Ignore Click", "source/help/help_style_pro_ignore_click.htm", "11"],
    ["Go To Frame", "source/help/help_style_hotspot_goto.htm", "11"],
    ["URL", "source/help/help_style_hotspot_url.htm", "11"],
    ["Animate On Mouse Over", "source/help/help_style_hotspot_animate.htm", "11"],
    ["Show Until Frame", "source/help/help_style_hotspot_show_until.htm", "11"],
    ["Image Hotspot", "source/help/help_hotspot_style_image.htm", "1",
     ["Select Image", "source/help/help_hotspot_image.htm", "11"],
     ["Image Size", "source/help/help_hotspot_size.htm", "11"],
     ["Fade in/out", "source/help/help_hotspot_fade.htm", "11"]
    ],
    ["Flash Movie Hotspot", "source/help/help_hotspot_style_flash.htm", "1",
     ["URL", "source/help/help_hotspot_flash.htm", "11"],
     ["Scale", "source/help/help_hotspot_scale.htm", "11"]
    ]
   ],
   ["Frame Effects", "source/help/help_style_pro_frame.htm", "1",
    ["Effects", "source/help/help_style_frame_effects.htm", "11"],
    ["Color", "source/help/help_style_effects_color.htm", "11"],
    ["More..", "source/help/help_style_effects_more.htm", "1",
     ["Effect Duration", "source/help/help_duration_duration.htm", "11"],
     ["Zoom Effect Settings", "source/help/help_style_zoom_options.htm", "11"]
    ],
    ["Go To Frame", "source/help/help_style_frame_goto.htm", "11"],
    ["Linear Play", "source/help/help_style_linear_play.htm", "11"],
    ["URL", "source/help/help_style_frame_url.htm", "11"]
   ]
  ],
  ["Sound", "source/help/help_sound.htm", "1",
   ["Volume settings...", "source/help/help_sound_quality.htm", "1",
    ["Play sound", "source/help/help_sound_play_sound.htm", "11"],
    ["Sound Profile", "source/help/help_sound_noise_profile.htm", "11"],
    ["Volume", "source/help/help_sound_volume.htm", "11"],
    ["Automatic Gain", "source/help/help_sound_automatic_gain.htm", "11"],
    ["Background", "source/help/help_sound_background_volume.htm", "11"],
    ["Noise", "source/help/help_sound_remove_noise.htm", "11"],
    ["Silence", "source/help/help_sound_silence.htm", "11"]
   ],
   ["Record Sound", "source/help/help_sound_record.htm", "11"],
   ["Settings...", "source/help/help_sound_options.htm", "11"],
   ["Single Frame", "source/help/help_sound_single_frame.htm", "11"],
   ["Background", "source/help/help_sound_background.htm", "11"],
   ["Nominated Sound File", "source/help/help_sound_edit.htm", "11"],
   ["Synchronize sound", "source/help/help_sound_sync.htm", "11"],
   ["Sound Search", "source/help/help_sound_search.htm", "11"]
  ],
  ["Delete", "source/help/help_delete.htm", "11"],
  ["Hotspot", "source/help/help_hotspot.htm", "11"],
  ["Delay", "source/help/help_delay.htm", "11"],
  ["Size", "source/help/help_size.htm", "11"],
  ["Preview", "source/help/help_preview_button.htm", "11"],
  ["Create", "source/help/help_create.htm", "11"],
  ["Show", "source/help/help_view.htm", "11"],
  ["Publish", "source/help/help_publish.htm", "11"],
  ["Save", "source/help/help_save.htm", "11"],
  ["Exit", "source/help/help_exit.htm", "11"]
 ],
 ["Creating", "source/help/help_create_tips.htm", "1",
  ["Optimize Instant Demo", "source/help/help_create_optimize.htm", "1",
   ["Small File Size", "source/help/help_create_small_file.htm", "11"],
   ["Appearance", "source/help/help_create_quality.htm", "11"],
   ["Custom", "source/help/help_create_custom.htm", "1",
    ["Color Quality", "source/help/help_custom_colors.htm", "11"],
    ["JPEG Picture Quality", "source/help/help_custom_jpeg.htm", "11"]
   ]
  ],
  ["Create Adobe Flash", "source/help/help_create_swf.htm", "1",
   ["Html", null, "1",
    ["Create Web Page", "source/help/help_create_htm.htm", "11"]
   ],
   ["Controls", null, "1",
    ["Include playback controls", "source/help/help_create_playback.htm", "11"],
    ["Playback control style", "source/help/help_swf_playback_style.htm", "11"],
    ["Control color scheme", "source/help/help_create_scheme.htm", "11"],
    ["Playback control preview", "source/help/help_create_control_preview.htm", "11"],
    ["Playback control options", "source/help/help_create_playback_options.htm", "11"],
    ["Playback control colors", "source/help/help_create_colors.htm", "11"]
   ],
   ["Sound", null, "1",
    ["Add Mouse Click Sound", "source/help/help_swf_mouse_sound.htm", "11"],
    ["Add Keyboard Sound", "source/help/help_swf_keyboard_sound.htm", "11"],
    ["Sound Effects Volume", "source/help/help_swf_volume.htm", "11"],
    ["Sound Encoding", "source/help/help_swf_sound_encoding.htm", "11"],
    ["MP3 Licensing", "source/help/help_mp3_licensing.htm", "11"]
   ],
   ["Effects", null, "1",
    ["Fade in annotated text", "source/help/help_swf_fade.htm", "11"],
    ["Speak annotated text", "source/help/help_swf_speak.htm", "11"],
    ["Fade-in at Start", "source/help/help_swf_fade_in.htm", "11"],
    ["Fade-out at End", "source/help/help_swf_fade_out.htm", "11"],
    ["Zoom-in at Start", "source/help/help_swf_zoom_in.htm", "11"],
    ["Zoom-out at End", "source/help/help_swf_zoom_out.htm", "11"],
    ["Controls at top", "source/help/help_swf_at_top.htm", "11"],
    ["Play Button at Start", "source/help/help_swf_button_at_start.htm", "11"],
    ["Loop Movie", "source/help/help_swf_loop.htm", "11"],
    ["Web Page Colors", "source/help/help_swf_background.htm", "11"],
    ["Add Chapter Index", "source/help/help_swf_include_index.htm", "11"]
   ],
   ["Mouse", null, "1",
    ["Display Mouse", "source/help/help_swf_mouse.htm", "11"],
    ["Highlight Mouse", "source/help/help_swf_mouse_highlight.htm", "11"],
    ["Mouse Shadow", "source/help/help_swf_mouse_shadow.htm", "11"],
    ["Show Hidden Mouse Activity", "source/help/help_swf_mouse_show_hidden.htm", "11"],
    ["Animate Mouse Clicks", "source/help/help_swf_click.htm", "11"],
    ["Mouse Click Style", "source/help/help_click_colors.htm", "11"]
   ],
   ["Scorm", null, "1",
    ["SCORM 1.2 Resource", "source/help/help_scorm_create.htm", "11"],
    ["Resource Identifier", "source/help/help_scorm_resource_id.htm", "11"],
    ["Resource version", "source/help/help_scorm_version.htm", "11"],
    ["Create PIF / ZIP", "source/help/help_scorm_pif.htm", "11"]
   ],
   ["Advanced", "source/help/help_swf_advanced.htm", "1",
    ["Flash frame rate", "source/help/help_swf_frame_rate.htm", "11"],
    ["Text display rate", "source/help/help_swf_display_rate.htm", "11"],
    ["Flash 6.0 Compression", "source/help/help_custom_compresion.htm", "11"],
    ["Information Panel", "source/help/help_swf_info.htm", "11"],
    ["Show 'info' button", "source/help/help_swf_showinfo.htm", "11"]
   ]
  ],
  ["Create AVI", "source/help/help_create_avi.htm", "1",
   ["Video", null, "1",
    ["Video Compression", "source/help/help_avi_compression.htm", "11"],
    ["Video Settings", "source/help/help_avi_settings.htm", "11"]
   ],
   ["Sound", null, "1",
    ["Add Mouse Click Sound", "source/help/help_avi_mouse_sound.htm", "11"],
    ["Add Keyboard Sound", "source/help/help_avi_keyboard_sound.htm", "11"],
    ["Sound Effects Volume", "source/help/help_avi_volume.htm", "11"],
    ["Sound Encoding", "source/help/help_avi_sound_encoding.htm", "11"]
   ],
   ["Effects", "source/help/help_avi_effects.htm", "1"],
   ["Mouse", "source/help/help_avi_mouse.htm", "1"],
   ["Scorm", "source/help/help_avi_scorm.htm", "1"]
  ],
  ["Optional output", null, "1",
   ["Create Executable", "source/help/help_create_exe.htm", "11"],
   ["Executable options", "source/help/help_create_exe_options.htm", "11"]
  ]
 ],
 ["Advanced Configuration", "source/help/help_advanced_intro.htm", "1",
  ["Advanced Chapter Settings", "source/help/help_chapter_advanced.htm", "11"],
  ["Advanced Options", "source/help/help_advanced_config.htm", "11"],
  ["Programmatic Control", "source/help/help_advanced_idremote.htm", "11"]
 ],
 ["How to...", "source/help/help_howto_editing.htm", "1",
  ["Record ALL sound on your computer", "source/help/help_record_all_sound.htm", "11"],
  ["Capture DVD video", "source/help/help_capture_video.htm", "11"],
  ["Edit a frame image", "source/help/help_howto_edit_frame_image.htm", "11"],
  ["Permanently remove deleted frames", "source/help/help_howto_remove_deleted_frames.htm", "11"],
  ["Insert a duplicate frame", "source/help/help_howto_insert_duplicate_frame.htm", "11"],
  ["Change the screen size of your movie", "source/help/help_howto_resize_movie.htm", "11"],
  ["Combine multiple demonstrations", "source/help/help_howto_combine.htm", "11"],
  ["Add a chapter index", "source/help/help_howto_add_chapters.htm", "11"]
 ],
 ["Tutorials", "source/help/help_tutorials.htm", "1",
  ["Tutorial 1 - Record an Instant Demo", "source/help/help_tutorial1.htm", "11"],
  ["Tutorial 2 - Add Annotated Text", "source/help/help_tutorial2.htm", "11"],
  ["Tutorial 3 - Navigating with the scrollbar", "source/help/help_tutorial3.htm", "11"],
  ["Tutorial 4 - Deleting Frames", "source/help/help_tutorial4.htm", "11"],
  ["Tutorial 5 - Placing Mouse Hotspots", "source/help/help_tutorial5.htm", "11"],
  ["Tutorial 6 - Editing a Frame Image", "source/help/help_tutoria6.htm", "11"],
  ["Tutorial 7 - Add sound to your demo", "source/help/help_tutorial7.htm", "11"],
  ["Tutorial 8 - Add multiple text - Professional Version", "source/help/help_tutorial8.htm", "11"],
  ["Tutorial 9 - Add multiple hotspots - Professional Version", "source/help/help_tutorial9.htm", "11"],
  ["Tutorial 10 - Editing the Recorded Mouse", "source/help/help_tutorial10.htm", "11"],
  ["Tutorial 11 - Editing the delay for multiple frames", "source/help/help_tutorial11.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;
}


