var TITEMS = [ 
 ["Welcome to Ozone", "pages/common_welcome.htm", "11"],
 ["What is Ozone?", "pages/common_what_is.htm", "11"],
 ["Changes from Ozone 2 to Ozone 3", "pages/common_changes.htm", "11"],
 ["Mastering Modules", "pages/modules.htm", "1",
  ["Standard Module Controls", "pages/modules_standard_controls.htm", "11"],
  ["Using Multiband Modules", "pages/mod_using_multiband_modules.htm", "11"],
  ["Paragraphic EQ", "pages/modules_paragraphic_eq.htm", "11"],
  ["Matching EQ", "pages/modules_matching_eq.htm", "11"],
  ["Mastering Reverb", "pages/modules_reverb.htm", "11"],
  ["Multiband Harmonic Exciter", "pages/mod_harmonic_exciter.htm", "11"],
  ["Multiband Dynamics", "pages/modules_multiband_dynamics.htm", "11"],
  ["Multiband Stereo Imaging", "pages/mod_stereo_imaging.htm", "11"],
  ["Loudness Maximizer", "pages/modules_loudness_maximizer.htm", "11"],
  ["Dithering", "pages/modules_dithering.htm", "11"]
 ],
 ["Mastering Meters", "pages/meters.htm", "1",
  ["Spectrum", "pages/meters_spectrum.htm", "11"],
  ["Correlation Meter", "pages/meters_correlation.htm", "11"],
  ["Vectorscope", "pages/meters_vectorscope.htm", "11"],
  ["Dynamics Meters", "pages/meters_dynamics.htm", "11"],
  ["Input and Output Meters", "pages/meters_i_o.htm", "11"],
  ["Dithering Meters", "pages/meters_dithering.htm", "11"]
 ],
 ["Options", "pages/options.htm", "1",
  ["General Options", "pages/options_general.htm", "11"],
  ["Spectrum Options", "pages/options_spectrum.htm", "11"],
  ["I/O Options", "pages/options_i_o.htm", "11"],
  ["Meter Options", "pages/options_meter.htm", "11"],
  ["EQ/Reverb/Crossover Options", "pages/options_eq_reverb_xover.htm", "11"]
 ],
 ["General Functions", "pages/general.htm", "1",
  ["Setting the Order of the Mastering Modules", "pages/general_filter_graph.htm", "11"],
  ["Input and Output Gain", "pages/general_i_o_gain.htm", "11"],
  ["Undo and History Comparisons", "pages/general_undo.htm", "11"],
  ["Auto-Normalize Function", "pages/general_auto_normalize.htm", "11"],
  ["Gain When Bypassed Function", "pages/general_gain_when_bypassed.htm", "11"],
  ["Buffer Size Viewer", "pages/general_buffer_size_viewer.htm", "11"]
 ],
 ["Preset System", "pages/presets.htm", "1",
  ["Selecting Presets", "pages/presets_selecting.htm", "11"],
  ["Adding and Removing Presets", "pages/presets_adding_and_removing.htm", "11"],
  ["Changing Where Presets Are Stored", "pages/presets_folder.htm", "11"],
  ["Selectively Loading Modules from Presets", "pages/presets_loading.htm", "11"],
  ["Preset Module Reference", "pages/presets_module_reference.htm", "11"]
 ],
 ["Automation", "pages/common_automation.htm", "11"],
 ["CPU Optimization", "pages/common_cpu_optimization.htm", "11"],
 ["Buffer Sizes", "pages/common_buffer_sizes.htm", "11"],
 ["Shortcut Keys and Mouse Support", "pages/common_shortcuts.htm", "11"],
 ["Additional Support", "pages/common_additional_support.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;
}


