//var hide_empty_list=true; //uncomment this line to hide empty selection lists
var disable_empty_list=true; //uncomment this line to disable empty selection lists

var onclickaction="goto" //set to "alert" or "goto". Former is for debugging purposes, to tell you the value of the final selected list that will be used as the destination URL. Set to "goto" when below configuration is all set up as desired. 

var newwindow=0 //Open links in new window or not? 1=yes, 0=no.

/////DEFINE YOUR MENU LISTS and ITEMS below/////////////////

addListGroup("chainedmenu", "First-Select");

addOption("First-Select", "Please select a type", "", 1); //HEADER OPTION
addList("First-Select", "Imports", "", "Imports");
addList("First-Select", "European", "", "European");
addList("First-Select", "Domestic", "", "Domestic");


////////////////////////////////////////[ IMPORTS ]////////////////////////////////////////

addOption("Imports", "Please select a make", "", 1); //HEADER OPTION
addList("Imports", "Acura", "", "Acura");
addList("Imports", "Honda", "", "Honda");
addList("Imports", "Infiniti", "", "Infiniti");
addList("Imports", "Lexus", "", "Lexus");
addList("Imports", "Hyundai", "", "Hyundai");
addList("Imports", "Mazda", "", "Mazda");
addList("Imports", "Mitsubishi", "", "Mitsubishi");
addList("Imports", "Nissan", "", "Nissan");
addList("Imports", "Scion", "", "Scion");
addList("Imports", "Subaru", "", "Subaru");
addList("Imports", "Toyota", "", "Toyota");


////////////////////////////////////////[ EUROPEAN ]////////////////////////////////////////

addOption("European", "Please select a make", "", 1); //HEADER OPTION
addList("European", "Audi", "", "Audi");
addList("European", "BMW", "", "BMW");
addList("European", "Ferrari", "", "Ferrari");
addList("European", "Lamborghini", "", "Lamborghini");
addList("European", "Lotus", "", "Lotus");
addList("European", "Mercedes", "", "Mercedes");
addList("European", "Porsche", "", "Porsche");


////////////////////////////////////////[ DOMESTIC ]////////////////////////////////////////

addOption("Domestic", "Please select a make", "", 1); //HEADER OPTION
addList("Domestic", "Chevy", "", "Chevy");
addList("Domestic", "Corvette", "", "Corvette");
addList("Domestic", "Dodge", "", "Dodge");
addList("Domestic", "Ford", "", "Ford");
addList("Domestic", "Pontiac", "", "Pontiac");


////////////////////( ACURA )////////////////////

addOption("Acura", "Select a model", "", 1); //HEADER OPTION
addOption("Acura", "Integra DC2", "/category-s/536.htm");
addOption("Acura", "NSX", "/category-s/535.htm");
addOption("Acura", "RSX", "/category-s/534.htm");


////////////////////( HONDA )////////////////////

addOption("Honda", "Select a model", "", 1); //HEADER OPTION
addList("Honda", "Civic", "", "Honda-Civic");
addOption("Honda", "S2000", "/category-s/537.htm");

addOption("Honda-Civic", "Select a submodel", "", 1); //HEADER OPTION
addOption("Honda-Civic", "EG", "/category-s/926.htm");
addOption("Honda-Civic", "EK", "/category-s/925.htm");
addOption("Honda-Civic", "EP", "/category-s/924.htm");


////////////////////( HYUNDAI )////////////////////

addOption("Hyundai", "Select a model", "", 1); //HEADER OPTION
addOption("Hyundai", "Genesis Coupe", "/category-s/922.htm");
addOption("Hyundai", "Genesis Sedan", "/category-s/545.htm");


////////////////////( INFINITI )////////////////////

addOption("Infiniti", "Select a model", "", 1); //HEADER OPTION
addList("Infiniti", "G", "", "Infiniti-G");
addList("Infiniti", "M", "", "Infiniti-M");

addOption("Infiniti-G", "Select a submodel", "", 1); //HEADER OPTION
addOption("Infiniti-G", "G35", "/category-s/752.htm");
addOption("Infiniti-G", "G37", "/category-s/751.htm");

addOption("Infiniti-M", "Select a submodel", "", 1); //HEADER OPTION
addOption("Infiniti-M", "M45 Y33", "/category-s/754.htm");
addOption("Infiniti-M", "M35/45 Y34", "/category-s/753.htm");


////////////////////( LEXUS )////////////////////

addOption("Lexus", "Select a model", "", 1); //HEADER OPTION
addList("Lexus", "IS", "", "Lexus-IS");
addList("Lexus", "GS", "", "Lexus-GS");
addList("Lexus", "LS", "", "Lexus-LS");

addOption("Lexus-IS", "Select a submodel", "", 1); //HEADER OPTION
addOption("Lexus-IS", "IS 300", "/category-s/641.htm");
addOption("Lexus-IS", "IS 250/350", "/category-s/640.htm");

addOption("Lexus-GS", "Select a submodel", "", 1); //HEADER OPTION
addOption("Lexus-GS", "GS 300/400", "/category-s/645.htm");
addOption("Lexus-GS", "GS 430", "/category-s/643.htm");
addOption("Lexus-GS", "GS 350/450", "/category-s/642.htm");

addOption("Lexus-LS", "Select a submodel", "", 1); //HEADER OPTION
addOption("Lexus-LS", "LS 400", "/category-s/648.htm");
addOption("Lexus-LS", "LS 430", "/category-s/647.htm");
addOption("Lexus-LS", "LS 460", "/category-s/646.htm");


////////////////////( MAZDA )////////////////////

addOption("Mazda", "Select a model", "", 1); //HEADER OPTION
addList("Mazda", "RX7", "", "Mazda-RX7");
addList("Mazda", "RX8", "", "Mazda-RX8");
addList("Mazda", "Miata", "", "Mazda-Miata");
addList("Mazda", "Mazda 3", "", "Mazda-Mazda 3");
addList("Mazda", "Mazda 6", "", "Mazda-Mazda 6");

addOption("Mazda-RX7", "Select a submodel", "", 1); //HEADER OPTION
addOption("Mazda-RX7", "FC3S", "/category-s/650.htm");
addOption("Mazda-RX7", "FD3S", "/category-s/649.htm");

addOption("Mazda-Miata", "Select a submodel", "", 1); //HEADER OPTION
addOption("Mazda-Miata", "NA6/NA8CE", "/category-s/653.htm");
addOption("Mazda-Miata", "NB", "/category-s/652.htm");
addOption("Mazda-Miata", "NC", "/category-s/651.htm");

addOption("Mazda-Mazda 3", "Select a submodel", "", 1); //HEADER OPTION
addOption("Mazda-Mazda 3", "Mazdaspeed 3", "/category-s/703.htm");

addOption("Mazda-Mazda 6", "Select a submodel", "", 1); //HEADER OPTION
addOption("Mazda-Mazda 6", "Mazdaspeed 6", "/category-s/705.htm");


////////////////////( MITSUBISHI )////////////////////

addOption("Mitsubishi", "Select a model", "", 1); //HEADER OPTION
addList("Mitsubishi", "Lancer Evolution", "", "Mitsubishi-Lancer Evolution");

addOption("Mitsubishi-Lancer Evolution", "Select a submodel", "", 1); //HEADER OPTION
addOption("Mitsubishi-Lancer Evolution", "EVO 8/9", "/category-s/665.htm");
addOption("Mitsubishi-Lancer Evolution", "EVO X", "/category-s/664.htm");


////////////////////( NISSAN )////////////////////

addOption("Nissan", "Select a model", "", 1); //HEADER OPTION
addList("Nissan", "Z", "", "Nissan-Z");
addList("Nissan", "240SX", "", "Nissan-240SX");
addOption("Nissan", "Skyline R35", "/category-s/556.htm");

addOption("Nissan-Z", "Select a submodel", "", 1); //HEADER OPTION
addOption("Nissan-Z", " Z32 300ZX", "/category-s/655.htm");
addOption("Nissan-Z", " Z33 350Z", "/category-s/654.htm");
addOption("Nissan-Z", " Z34 370Z", "/category-s/706.htm");

addOption("Nissan-240SX", "Select a submodel", "", 1); //HEADER OPTION
addOption("Nissan-240SX", "S13", "/category-s/659.htm");
addOption("Nissan-240SX", "S14", "/category-s/657.htm");
addOption("Nissan-240SX", "S15", "/category-s/656.htm");


////////////////////( SCION )////////////////////

addOption("Scion", "Select a model", "", 1); //HEADER OPTION
addOption("Scion", "XA", "/category-s/562.htm");
addOption("Scion", "XB", "/category-s/561.htm");
addOption("Scion", "TC", "/category-s/560.htm");
addOption("Scion", "XD", "/category-s/559.htm");


////////////////////( SUBARU )/////////////////////

addOption("Subaru", "Select a model", "", 1); //HEADER OPTION
addList("Subaru", "Impreza", "", "Subaru-Impreza");
addList("Subaru", "Legacy", "", "Subaru-Legacy");

addOption("Subaru-Impreza", "Select a submodel", "", 1); //HEADER OPTION
addOption("Subaru-Impreza", "GC", "/category-s/668.htm");
addOption("Subaru-Impreza", "GD", "/category-s/667.htm");
addOption("Subaru-Impreza", "GR", "/category-s/666.htm");

addOption("Subaru-Legacy", "Select a submodel", "", 1); //HEADER OPTION
addOption("Subaru-Legacy", "BP5", "/category-s/755.htm");


////////////////////( TOYOTA )////////////////////

addOption("Toyota", "Select a model", "", 1); //HEADER OPTION
addList("Toyota", "Supra", "", "Toyota-Supra");
addOption("Toyota", "AE86", "/category-s/564.htm");
addOption("Toyota", "MR2", "/category-s/563.htm");

addOption("Toyota-Supra", "Select a submodel", "", 1); //HEADER OPTION
addOption("Toyota-Supra", "MK3", "/category-s/663.htm");
addOption("Toyota-Supra", "MK4", "/category-s/662.htm");


////////////////////( AUDI )////////////////////

addOption("Audi", "Select a model", "", 1); //HEADER OPTION
addOption("Audi", "A3", "/category-s/946.htm");
addOption("Audi", "A4", "/category-s/945.htm");
addOption("Audi", "A5", "/category-s/944.htm");
addOption("Audi", "A8", "/category-s/943.htm");
addOption("Audi", "R8", "/category-s/942.htm");
addOption("Audi", "TT", "/category-s/941.htm");
addOption("Audi", "Q7", "/category-s/939.htm");


////////////////////( BMW )////////////////////

addOption("BMW", "Select a model", "", 1); //HEADER OPTION
addList("BMW", "3 Series", "", "BMW-3 Series");
addList("BMW", "5 Series", "", "BMW-5 Series");
addList("BMW", "6 Series", "", "BMW-6 Series");

addOption("BMW-3 Series", "Select a submodel", "", 1); //HEADER OPTION
addOption("BMW-3 Series", "E36", "/category-s/949.htm");
addOption("BMW-3 Series", "E46", "/category-s/948.htm");
addOption("BMW-3 Series", "E92", "/category-s/947.htm");

addOption("BMW-5 Series", "Select a submodel", "", 1); //HEADER OPTION
addOption("BMW-5 Series", "E39", "/category-s/951.htm");
addOption("BMW-5 Series", "E60", "/category-s/950.htm");

addOption("BMW-6 Series", "Select a submodel", "", 1); //HEADER OPTION
addOption("BMW-6 Series", "E63", "/category-s/952.htm");


////////////////////( FERRARI )////////////////////

addOption("Ferrari", "Select a model", "", 1); //HEADER OPTION
addOption("Ferrari", "F430 Spider", "/category-s/772.htm");
addOption("Ferrari", "430 Scuderia", "/category-s/771.htm");
addOption("Ferrari", "Scuderia Spider 16M", "/category-s/770.htm");
addOption("Ferrari", "599 GTB", "/category-s/775.htm");
addOption("Ferrari", "Ferrari California", "/category-s/774.htm");
addOption("Ferrari", "612 Scaglietti", "/category-s/776.htm");


////////////////////( LAMBORGHINI )////////////////////

addOption("Lamborghini", "Select a model", "", 1); //HEADER OPTION
addOption("Lamborghini", "LP560", "/category-s/938.htm");
addOption("Lamborghini", "Gallardo", "/category-s/769.htm");
addOption("Lamborghini", "Murcielago", "/category-s/767.htm");


////////////////////( LOTUS )////////////////////

addOption("Lotus", "Select a model", "", 1); //HEADER OPTION
addOption("Lotus", "Elise", "/category-s/762.htm");
addOption("Lotus", "Exige", "/category-s/761.htm");


////////////////////( MERCEDES )////////////////////

addOption("Mercedes", "Select a model", "", 1); //HEADER OPTION
addList("Mercedes", "C Class", "", "Mercedes-C Class");
addList("Mercedes", "E Class", "", "Mercedes-E Class");
addList("Mercedes", "S Class", "", "Mercedes-S Class");
addOption("Mercedes", "CLS", "/category-s/768.htm");

addOption("Mercedes-C Class", "Select a submodel", "", 1); //HEADER OPTION
addOption("Mercedes-C Class", "W203", "/category-s/960.htm");
addOption("Mercedes-C Class", "W204", "/category-s/936.htm");

addOption("Mercedes-E Class", "Select a submodel", "", 1); //HEADER OPTION
addOption("Mercedes-E Class", "W211", "/category-s/957.htm");
addOption("Mercedes-E Class", "W212", "/category-s/955.htm");

addOption("Mercedes-S Class", "Select a submodel", "", 1); //HEADER OPTION
addOption("Mercedes-S Class", "W220", "/category-s/961.htm");
addOption("Mercedes-S Class", "W221", "/category-s/956.htm");


////////////////////( PORSCHE )////////////////////

addOption("Porsche", "Select a model", "", 1); //HEADER OPTION
addOption("Porsche", "Cayman", "/category-s/738.htm");
addOption("Porsche", "Boxster", "/category-s/737.htm");
addOption("Porsche", "Carrera 993", "/category-s/736.htm");
addOption("Porsche", "Carrera 996", "/category-s/735.htm");
addOption("Porsche", "Carrera 997", "/category-s/734.htm");
addOption("Porsche", "Cayenne", "/category-s/733.htm");


////////////////////( CHEVY )////////////////////

addOption("Chevy", "Select a model", "", 1); //HEADER OPTION
addOption("Chevy", "2010 Camaro", "/category-s/710.htm");


////////////////////( CORVETTE )////////////////////

addOption("Corvette", "Select a model", "", 1); //HEADER OPTION
addOption("Corvette", "C5", "/category-s/715.htm");
addOption("Corvette", "C6", "/category-s/714.htm");


////////////////////( DODGE )////////////////////

addOption("Dodge", "Select a model", "", 1); //HEADER OPTION
addOption("Dodge", "Charger", "/category-s/712.htm");
addOption("Dodge", "Challenger", "/category-s/711.htm");


////////////////////( FORD )////////////////////

addOption("Ford", "Select a model", "", 1); //HEADER OPTION
addOption("Ford", "FOX", "/category-s/709.htm");
addOption("Ford", "SN-95", "/category-s/708.htm");
addOption("Ford", "S-197", "/category-s/707.htm");


////////////////////( PONTIAC )////////////////////

addOption("Pontiac", "Select a model", "", 1); //HEADER OPTION
addOption("Pontiac", "G5", "/category-s/717.htm");
addOption("Pontiac", "GTO", "/category-s/716.htm");