var TITEMS = [ 
 ["Welcome", "welcome.htm", "11"],
 ["Introduction", "introduction.htm", "1",
  ["What is a VCM?", "introduction_what_is_a_vcm.htm", "11"],
  ["What is VCM Suite?", "introduction_what_is_vcmsuite.htm", "11"],
  ["What's New in Version 2?", "introduction_whats_new.htm", "11"],
  ["User License Agreement", "introduction_user_license_agreement.htm", "11"],
  ["Acknowledgments", "introduction_acknowledgments.htm", "11"],
  ["System Requirements", "introduction_system_requirements.htm", "11"],
  ["License Information", "introduction_license_info.htm", "11"],
  ["Contacting Customer Support", "introduction_customersupport.htm", "11"],
  ["Troubleshooting", "introduction_troubleshooting.htm", "11"],
  ["Warranty", "introduction_warranty.htm", "11"],
  ["Copyright", "introduction_copyright.htm", "11"]
 ],
 ["Getting Started", "getting_started.htm", "1",
  ["Installing the Software", "getting_started_installation.htm", "11"],
  ["Connecting to the Vehicle", "getting_started_connecting_to_the_vehicle.htm", "11"],
  ["Reading the VCM", "getting_started_reading_the_vcm.htm", "11"],
  ["Editing the VCM", "getting_started_editing_the_vcm.htm", "11"],
  ["Writing the VCM", "getting_started_writing_the_vcm.htm", "11"],
  ["Scanning the Vehicle", "getting_started_scanning_the_vehicle.htm", "11"],
  ["Demos", "getting_started_demos.htm", "11"],
  ["Firmware Update", "getting_started_firmware_update.htm", "11"]
 ],
 ["Working with VCM Editor", "vcm_editor.htm", "1",
  ["Options", "vcm_editor_options.htm", "11"],
  ["Edit Menu", "vcm_editor_edit_menu.htm", "1",
   ["Calibration Details", "vcm_editor_edit_menu_cal_details.htm", "11"],
   ["Change Log", "vcm_editor_edit_menu_change_log.htm", "11"],
   ["History Log", "vcm_editor_edit_menu_history_log.htm", "11"],
   ["Import Changes", "vcm_editor_edit_menu_import_changes.htm", "11"],
   ["Export Changes", "vcm_editor_edit_menu_export_changes.htm", "11"]
  ],
  ["Favorites", "vcm_editor_favorites.htm", "11"],
  ["Compare", "vcm_editor_compare.htm", "11"],
  ["Flash Menu", "vcm_editor_flash_menu.htm", "1",
   ["Read VCM", "vcm_editor_flash_menu_read.htm", "11"],
   ["Write VCM", "vcm_editor_flash_menu_write.htm", "11"],
   ["Change VIN", "vcm_editor_flash_menu_change_vin.htm", "11"],
   ["Relink VATS", "vcm_editor_flash_menu_relink_vats.htm", "11"],
   ["License Activation", "vcm_editor_flash_license_activation.htm", "11"],
   ["Credit FAQ", "vcm_editor_flash_credit_faq.htm", "11"]
  ],
  ["Nagivation", "vcm_editor_navigation.htm", "1",
   ["Tab Style Navigation", "vcm_editor_navigation_tab.htm", "11"],
   ["Tree Style Navigation", "vcm_editor_navigation_tree.htm", "11"]
  ],
  ["Parameters - GM", "vcm_editor_parameters_gm.htm", "1",
   ["Operating System", "vcm_editor_parameters_gm_os.htm", "11"],
   ["Engine", "vcm_editor_parameters_gm_eng.htm", "1",
    ["General", "vcm_editor_parameters_gm_eng_general.htm", "11"],
    ["Idle", "vcm_editor_parameters_gm_eng_idle.htm", "1",
     ["Idle RPM", "vcm_editor_parameters_gm_eng_idle_rpm.htm", "11"],
     ["Idle Airflow", "vcm_editor_parameters_gm_eng_idle_airflow.htm", "11"]
    ],
    ["Airflow", "vcm_editor_parameters_gm_eng_airflow.htm", "1",
     ["General Airflow", "vcm_editor_parameters_gm_eng_airflow_general.htm", "11"],
     ["Dynamic Airflow", "vcm_editor_parameters_gm_eng_airflow_dynamic.htm", "11"],
     ["Speed Density", "vcm_editor_parameters_gm_eng_airflow_sd.htm", "11"]
    ],
    ["Fuel Control", "vcm_editor_parameters_gm_eng_fuel.htm", "1",
     ["General Fuel", "vcm_editor_parameters_gm_eng_fuel_general.htm", "11"],
     ["Fuel Cutoff, DFCO", "vcm_editor_parameters_gm_eng_fuel_cutoff.htm", "11"],
     ["Open &amp; Closed Loop", "vcm_editor_parameters_gm_eng_fuel_loop.htm", "11"],
     ["Power Enrich", "vcm_editor_parameters_gm_eng_fuel_pe.htm", "11"],
     ["Accel Enrich", "vcm_editor_parameters_gm_eng_fuel_ae.htm", "11"],
     ["COT, Lean Cruise", "vcm_editor_parameters_gm_eng_fuel_cot.htm", "11"],
     ["Transient Fuel", "vcm_editor_parameters_gm_eng_fuel_transient.htm", "11"],
     ["Diesel", "vcm_editor_parameters_gm_eng_fuel_diesel.htm", "11"]
    ],
    ["Spark Control", "vcm_editor_parameters_gm_eng_spark.htm", "1",
     ["Advance", "vcm_editor_parameters_gm_eng_spark_advance.htm", "11"],
     ["Retard", "vcm_editor_parameters_gm_eng_spark_retard.htm", "11"],
     ["Dwell", "vcm_editor_parameters_gm_eng_spark_dwell.htm", "11"],
     ["Knock Sensors", "vcm_editor_parameters_gm_eng_spark_knocksensors.htm", "11"]
    ],
    ["Torque Management", "vcm_editor_parameters_gm_eng_tm.htm", "1",
     ["General", "vcm_editor_parameters_gm_eng_tm_general.htm", "11"],
     ["Engine Torque", "vcm_editor_parameters_gm_eng_tm_engine.htm", "11"],
     ["Abuse", "vcm_editor_parameters_gm_eng_tm_abuse.htm", "11"],
     ["Supercharger", "vcm_editor_parameters_gm_eng_tm_supercharger.htm", "11"],
     ["Turbocharger", "vcm_editor_parameters_gm_eng_tm_turbocharger.htm", "11"]
    ]
   ],
   ["Engine Diagnostics", "vcm_editor_parameters_gm_engdiag.htm", "1",
    ["General", "vcm_editor_parameters_gm_engdiag_general.htm", "11"],
    ["Airflow", "vcm_editor_parameters_gm_engdiag_airflow.htm", "11"],
    ["Misfire", "vcm_editor_parameters_gm_engdiag_misfire.htm", "11"],
    ["DTCs", "vcm_editor_parameters_gm_engdiag_dtc.htm", "11"]
   ],
   ["Transmission", "vcm_editor_parameters_gm_trans.htm", "1",
    ["Auto Shift Speed", "vcm_editor_parameters_gm_trans_shiftspeed.htm", "11"],
    ["Auto Shift Properties", "vcm_editor_parameters_gm_trans_shiftprop.htm", "11"],
    ["Auto General Pressure", "vcm_editor_parameters_gm_trans_pressure.htm", "11"],
    ["Auto TCC", "vcm_editor_parameters_gm_trans_tcc.htm", "11"],
    ["Manual CAGS", "vcm_editor_parameters_gm_trans_cags.htm", "11"],
    ["Torque Management", "vcm_editor_parameters_gm_trans_tm.htm", "11"]
   ],
   ["Transmission Diagnostics", "vcm_editor_parameters_gm_transdiag.htm", "11"],
   ["Fuel System", "vcm_editor_parameters_gm_fuelsys.htm", "11"],
   ["System", "vcm_editor_parameters_gm_system.htm", "1",
    ["General", "vcm_editor_parameters_gm_system_general.htm", "11"],
    ["Fans", "vcm_editor_parameters_gm_system_fans.htm", "11"],
    ["AC", "vcm_editor_parameters_gm_system_ac.htm", "11"]
   ],
   ["Speedometer", "vcm_editor_parameters_gm_speedo.htm", "1",
    ["Speedometer", "vcm_editor_parameters_gm_speedo_speedometer.htm", "11"],
    ["Speed Limiter", "vcm_editor_parameters_gm_speedo_speedlimiter.htm", "11"]
   ]
  ],
  ["Parameters - Ford", "vcm_editor_parameters_ford.htm", "1",
   ["Operating System", "vcm_editor_parameters_ford_os.htm", "11"],
   ["Engine", "vcm_editor_parameters_ford_eng.htm", "1",
    ["General", "vcm_editor_parameters_ford_eng_general.htm", "11"],
    ["Idle", "vcm_editor_parameters_ford_eng_idle.htm", "11"],
    ["Airflow", "vcm_editor_parameters_ford_eng_airflow.htm", "1",
     ["General Airflow", "vcm_editor_parameters_ford_eng_airflow_general.htm", "11"],
     ["Eletronic Throttle", "vcm_editor_parameters_ford_eng_airflow_etc.htm", "11"]
    ],
    ["Fuel Control", "vcm_editor_parameters_ford_eng_fuel.htm", "1",
     ["General Fuel", "vcm_editor_parameters_ford_eng_fuel_general.htm", "11"],
     ["Fuel Cutoff, DFCO", "vcm_editor_parameters_ford_eng_fuel_cutoff.htm", "11"],
     ["Open &amp; Closed Loop", "vcm_editor_parameters_ford_eng_fuel_loop.htm", "11"]
    ],
    ["Spark Control", "vcm_editor_parameters_ford_eng_spark.htm", "1",
     ["Advance", "vcm_editor_parameters_ford_eng_spark_advance.htm", "11"],
     ["Retard", "vcm_editor_parameters_ford_eng_spark_retard.htm", "11"],
     ["Knock Sensors", "vcm_editor_parameters_ford_eng_spark_knocksensors.htm", "11"]
    ],
    ["Torque Management", "vcm_editor_parameters_ford_eng_tm.htm", "11"]
   ],
   ["Engine Diagnostics", "vcm_editor_parameters_ford_engdiag.htm", "1",
    ["General", "vcm_editor_parameters_ford_engdiag_general.htm", "11"],
    ["Airflow", "vcm_editor_parameters_ford_engdiag_airflow.htm", "11"],
    ["OBD, Misfire", "vcm_editor_parameters_ford_engdiag_misfire.htm", "11"],
    ["DTCs", "vcm_editor_parameters_ford_engdiag_dtc.htm", "11"]
   ],
   ["Transmission", "vcm_editor_parameters_ford_trans.htm", "1",
    ["General", "vcm_editor_parameters_ford_trans_general.htm", "11"],
    ["Auto Shift Speed", "vcm_editor_parameters_ford_trans_shiftspeed.htm", "11"],
    ["Shift Properties", "vcm_editor_parameters_ford_trans_shiftprop.htm", "11"],
    ["Auto TCC", "vcm_editor_parameters_ford_trans_tcc.htm", "11"],
    ["Manual", "vcm_editor_parameters_ford_trans_manual.htm", "11"],
    ["Torque Management", "vcm_editor_parameters_ford_trans_tm.htm", "11"]
   ],
   ["Transmission Diagnostics", "vcm_editor_parameters_ford_transdiag.htm", "11"],
   ["Fuel System", "vcm_editor_parameters_ford_fuelsys.htm", "11"],
   ["System", "vcm_editor_parameters_ford_system.htm", "1",
    ["General", "vcm_editor_parameters_ford_system_general.htm", "11"],
    ["Fans", "vcm_editor_parameters_ford_system_fans.htm", "11"],
    ["AC", "vcm_editor_parameters_ford_system_ac.htm", "11"]
   ],
   ["Speedometer", "vcm_editor_parameters_ford_speedo.htm", "1",
    ["Speedometer", "vcm_editor_parameters_ford_speedo_speedometer.htm", "11"],
    ["Speed Limiter", "vcm_editor_parameters_ford_speedo_speedlimiter.htm", "11"]
   ]
  ],
  ["Parameters - Dodge", "vcm_editor_parameters_dodge.htm", "11"],
  ["Table Editor", "vcm_editor_table_editor.htm", "11"],
  ["Tuning How To Section", "vcm_editor_tuning_how_to.htm", "1",
   ["Basics", "vcm_editor_tuning_how_to_basics.htm", "1",
    ["Rear Gear/Tire Ratio", "vcm_editor_tuning_how_to_basics_gear_tire.htm", "11"],
    ["Shift Points", "vcm_editor_tuning_how_to_basics_shift_points.htm", "11"],
    ["Timing Advance", "vcm_editor_tuning_how_to_basics_advance.htm", "11"],
    ["Air/Fuel Ratio", "vcm_editor_tuning_how_to_basics_afr.htm", "11"],
    ["Injectors", "vcm_editor_tuning_how_to_basics_injectors.htm", "11"],
    ["RPM Limiters", "vcm_editor_tuning_how_to_basics_rpm_limiters.htm", "11"]
   ],
   ["Advanced", "vcm_editor_tuning_how_to_advanced.htm", "1",
    ["Volumetric Efficiency", "vcm_editor_tuning_how_to_advanced_ve.htm", "11"]
   ],
   ["User Submitted", "vcm_editor_tuning_how_to_user.htm", "1",
    ["Speed Density", "vcm_editor_tuning_how_to_user_sd.htm", "11"]
   ]
  ],
  ["Real Time Tuning", "vcm_editor_rtt.htm", "1",
   ["Using RTT", "vcm_editor_rtt_using.htm", "11"],
   ["Examples", "vcm_editor_rtt_examples.htm", "1",
    ["Idle", "vcm_editor_rtt_examples_idle.htm", "11"],
    ["Volumetric Efficiency", "vcm_editor_rtt_examples_ve.htm", "11"]
   ]
  ]
 ],
 ["Working with VCM Scanner", "vcm_scanner.htm", "1",
  ["Options", "vcm_scanner_options.htm", "11"],
  ["Scan Menu", "vcm_scanner_scan_menu.htm", "11"],
  ["Displays", "vcm_scanner_displays.htm", "1",
   ["Table", "vcm_scanner_displays_table.htm", "11"],
   ["Gauge", "vcm_scanner_displays_gauge.htm", "11"],
   ["Chart", "vcm_scanner_displays_chart.htm", "11"],
   ["Histogram", "vcm_scanner_displays_histogram.htm", "11"],
   ["Status Bit", "vcm_scanner_displays_statusbit.htm", "11"],
   ["DTCs, Readiness States and Tests", "vcm_scanner_displays_dtc.htm", "11"],
   ["VCM Controls", "vcm_scanner_displays_vcmcontrols.htm", "11"]
  ],
  ["Enhanced IO", "vcm_scanner_eio.htm", "1",
   ["Connecting", "vcm_scanner_eio_connecting.htm", "11"],
   ["Configuration", "vcm_scanner_eio_configuration.htm", "11"],
   ["Standalone Data Logging", "vcm_scanner_eio_datalogging.htm", "11"],
   ["EIO How To Section", "vcm_scanner_eio_how_to.htm", "1",
    ["Install a LC1 Wideband O2", "vcm_scanner_eio_how_to_install_lc1.htm", "11"]
   ]
  ],
  ["Custom PIDs", "vcm_scanner_custom_pids.htm", "11"]
 ],
 ["Tips and Tricks", "tips_and_tricks.htm", "1",
  ["General", "tips_and_tricks_general.htm", "11"],
  ["VCM Editor", "tips_and_tricks_editor.htm", "11"],
  ["VCM Scanner", "tips_and_tricks_scanner.htm", "1",
   ["Converting MAP kPa to boost in PSI", "tips_and_tricks_scanner_convert_map_to_boost.htm", "11"],
   ["Negative to Positive Timing", "tips_and_tricks_scanner_negative_timing.htm", "11"]
  ]
 ],
 ["Online Resources", "online_resources.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;
}

