//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", "Product Category", "", 1); //HEADER OPTION
addList("First-Select", "Components", "", "Components");
addList("First-Select", "Devices", "Devices", "Devices");
addList("First-Select", "Circuit Card Assy", "Circuit Card Assy", "Circuit Card Assy");
addList("First-Select", "Subsystems", "Subsystems", "Subsystems");


addOption("Components", "Select Product", "", 1); //HEADER OPTION
addList("Components", "ALL", "", "Components-ALL");

addList("Components", "Adapters", "", "Components-Adapters");
addList("Components", "Amplifiers", "Amplifiers", "Components-Amplifiers");
addList("Components", "Analog Attenuators", "", "Components-Analog Attenuators");
addList("Components", "Bias Tees", "Bias Tees", "Components-Bias Tees");
addList("Components", "Coaxial Terminations", "Coaxial Terminations", "Components-Coaxial Terminations");
addList("Components", "DC-Blocks", "DC-Blocks", "Components-DC Blocks");
addList("Components", "Filters/Multiplexers", "", "Components-Filters/Multiplexers");
addList("Components", "Fixed Attenuators", "", "Components-Fixed Attenuators");
addList("Components", "Gain Equalizers", "", "Components-Gain Equalizers");
addList("Components", "Modulator Drivers", "Modulator Drivers", "Components-Modulator Drivers");
addList("Components", "Open/Short Circuits", "", "Components-Open/Short Circuits");
addList("Components", "Power Dividers", "", "Components-Power Dividers");
addList("Components", "Precision Terminations", "Precision Terminations", "Components-Precision Terminations");
addList("Components", "Space Grd Attenuators", "Space Grd Attenuators", "Components-Space Grd Attenuators");
addList("Components", "Step Attenuators", "", "Components-Step Attenuators");
addList("Components", "Switches/Pin Diode", "", "Components-Switches/Pin Diode");
addList("Components", "Vector Modulators", "", "Components-Vector Modulators");

//END OF THIS NODE

addOption("Components-ALL", "Select Prod/Business Unit", "", 1); //HEADER OPTION
addOption("Components-ALL", "Adapters_Inmet", "http://www.Aeroflex-Inmet.com/imprdadp.htm");
addOption("Components-ALL", "Amplifiers_Inmet", "http://www.Aeroflex-Inmet.com/imprdEQU.htm");
addOption("Components-ALL", "Amplifiers_Weinschel", "http://www.Aeroflex-weinschel.com");
addOption("Components-ALL", "Amplifiers_Plainview", "http://Ams.Aeroflex.com/ProdFamilyPages/BBandfamily.cfm");
addOption("Components-ALL", "Analog Attenuators_Weinschel", "http://www.Aeroflex-Weinschel.com");
addOption("Components-ALL", "Bias Tees_Inmet", "http://www.Aeroflex-Inmet.com/ImprdBias_Tees.htm");
addOption("Components-ALL", "Coaxial Terminations_Inmet", "http://www.Aeroflex-Inmet.com/imprdtrm.htm");
addOption("Components-ALL", "DC-Blocks_Inmet", "http://www.Aeroflex-Inmet.com/imprdDCB.htm");
addOption("Components-ALL", "Filters/Multiplexers_Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-ALL", "Fixed Attenuators_Inmet", "http://www.Aeroflex-Inmet.com/imprdatt.htm");
addOption("Components-ALL", "Gain Equalizers_Inmet", "http://www.Aeroflex-Inmet.com/imprdEQU.htm");
addOption("Components-ALL", "Gain Equalizers_KDI-Resistor", "http://www.Aeroflex-KDI-RP.com");
addOption("Components-ALL", "Modulator Drivers_Plainview", "http://Ams.Aeroflex.com/ProdFamilyPages/BBandfamily.cfm");
addOption("Components-ALL", "Open/Short Circuits__Inmet", "http://www.Aeroflex-Inmet.com/imprdadp.htm");
addOption("Components-ALL", "Power Dividers_Weinschel", "http://www.Aeroflex-Weinschel.com");
addOption("Components-ALL", "Power Dividers_Inmet", "http://www.Aeroflex-Inmet.com/Imprdmisc.htm");
addOption("Components-ALL", "Precision Terminations_Weinschel", "http://www.Aeroflex-Weinschel.com");
addOption("Components-ALL", "Space Grd Attenuators_Weinschel", "http://www.Aeroflex-Weinschel.com");
addOption("Components-ALL", "Step Attenuators_Weinschel", "http://www.Aeroflex-Weinschel.com");
addOption("Components-ALL", "Switches/Pin Diode_Weinschel", "http://www.Aeroflex-Weinschel.com");
addOption("Components-ALL", "Vector Modulators_Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-Fixed Attenuators", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Fixed Attenuators", "Inmet", "http://www.Aeroflex-Inmet.com/imprdatt.htm");

addOption("Components-Adapters", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Adapters", "Inmet", "http://www.Aeroflex-Inmet.com/imprdadp.htm");

addOption("Components-Coaxial Terminations", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Coaxial Terminations", "Inmet", "http://www.Aeroflex-Inmet.com/imprdtrm.htm");

addOption("Components-Analog Attenuators", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Analog Attenuators", "Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-Step Attenuators", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Step Attenuators", "Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-Power Dividers", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Power Dividers", "Weinschel", "http://www.Aeroflex-Weinschel.com");
addOption("Components-Power Dividers", "Inmet", "http://www.Aeroflex-Inmet.com/Imprdmisc.htm");

addOption("Components-Precision Terminations", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Precision Terminations", "Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-Vector Modulators", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Vector Modulators", "Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-Filters/Multiplexers", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Filters/Multiplexers", "Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-Space Grd Attenuators", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Space Grd Attenuators", "Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-Switches/Pin Diode", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Switches/Pin Diode", "Weinschel", "http://www.Aeroflex-Weinschel.com");

addOption("Components-Open/Short Circuits", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Open/Short Circuits", "Inmet", "http://www.Aeroflex-Inmet.com/imprdMisc.htm");

addOption("Components-Gain Equalizers", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Gain Equalizers", "Inmet", "http://www.Aeroflex-Inmet.com/imprdequ.htm");
addOption("Components-Gain Equalizers", "KDI-Resistor", "http://www.Aeroflex-KDI-RP.com");

addOption("Components-DC Blocks", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-DC Blocks", "Inmet", "http://www.Aeroflex-Inmet.com/imprddcb.htm");

addOption("Components-Amplifiers", "Select Business Unit", "");
addOption("Components-Amplifiers", "Inmet", "http://www.Aeroflex-Inmet.com");
addOption("Components-Amplifiers", "Weinschel", "http://www.Aeroflex-weinschel.com");
addOption("Components-Amplifiers", "Plainview", "http://Ams.Aeroflex.com/ProdFamilyPages/BBandfamily.cfm");

addOption("Components-Bias Tees", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Bias Tees", "Inmet", "http://www.Aeroflex-Inmet.com/ImprdBias_Tees.htm");

addOption("Components-Modulator Drivers", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Components-Modulator Drivers", "Plainview", "http://Ams.Aeroflex.com/ProdFamilyPages/BBandfamily.cfm");

addOption("Devices", "Select Product", "", 1); //HEADER OPTION
addList("Devices", "ALL", "", "Devices-ALL");
addList("Devices", "Attenuators", "", "Devices-Attenuators");
addList("Devices", "InGaP HBT Amps", "", "Devices-InGaP HBT Amps");
addList("Devices", "Metal Capacitors", "", "Devices-Metal Capacitors");
addList("Devices", "Microprocessors", "", "Devices-Microprocessors");
addList("Devices", "Pin Diodes", "", "Devices-Pin Diodes");
addList("Devices", "Resistors", "", "Devices-Resistors");
addList("Devices", "Silicon Diodes", "", "Devices-Silicon Diodes");
addList("Devices", "Step Diodes", "", "Devices-Step Diodes");
addList("Devices", "Terminations", "", "Devices-Terminations");
addList("Devices", "Transceivers", "", "Devices-Transceivers");


addOption("Devices-ALL", "Select Prod/Business Unit", "", 1); //HEADER OPTION
addOption("Devices-ALL", "Terminations_Aeroflex-KDI-RP", "http://www.Aeroflex-KDI-RP.com");
addOption("Devices-ALL", "Transceivers_Aeroflex-Avionics", "http://www.Aeroflex.com/Avionics");
addOption("Devices-ALL", "Microprocessors_Aeroflex-Avionics", "http://www.Aeroflex.com/LEON");
addOption("Devices-ALL", "Attenuators_Aeroflex-KDI-RP", "http://www.Aeroflex-KDI-RP.com");
addOption("Devices-ALL", "Resistors_Aeroflex-KDI-RP", "http://www.Aeroflex-KDI-RP.com");
addOption("Devices-ALL", "Silicon Diodes_Aeroflex-Metelics", "http://www.Aeroflex-Metelics.com");
addOption("Devices-ALL", "Pin Diodes_Aeroflex-Metelics", "http://www.Aeroflex-Metelics.com");
addOption("Devices-ALL", "Step Diodes_Aeroflex-Metelics", "http://www.Aeroflex-Metelics.com");
addOption("Devices-ALL", "Metal Capacitors_Aeroflex-Metelics", "http://www.Aeroflex-Metelics.com");
addOption("Devices-ALL", "InGaP HBT Amps_Aeroflex-Metelics", "http://www.Aeroflex-Metelics.com");

addOption("Devices-Terminations", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Terminations", "KDI-Resistor", "http://www.Aeroflex-KDI-RP.com");

addOption("Devices-Transceivers", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Transceivers", "Avionics", "http://www.Aeroflex.com/Avionics");

addOption("Devices-Microprocessors", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Microprocessors", "Avionics", "http://www.Aeroflex.com/LEON");

addOption("Devices-Attenuators", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Attenuators", "KDI-Resistor", "http://www.Aeroflex-KDI-RP.com");

addOption("Devices-Resistors", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Resistors", "KDI-Resistor", "http://www.Aeroflex-KDI-RP.com");

addOption("Devices-Silicon Diodes", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Silicon Diodes", "Metelics", "http://www.Aeroflex-Metelics.com");

addOption("Devices-Pin Diodes", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Pin Diodes", "Metelics", "http://www.Aeroflex-Metelics.com");

addOption("Devices-Step Diodes", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Step Diodes", "Metelics", "http://www.Aeroflex-Metelics.com");

addOption("Devices-Metal Capacitors", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-Metal Capacitors", "Metelics", "http://www.Aeroflex-Metelics.com");

addOption("Devices-InGaP HBT Amps", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Devices-InGaP HBT Amps", "Metelics", "http://www.Aeroflex-Metelics.com");

addOption("Circuit Card Assy", "Select Product", "", 1); //HEADER OPTION
addList("Circuit Card Assy", "Assemblies", "", "Circuit Card Assy-Assemblies");

addOption("Circuit Card Assy-Assemblies", "Select Business Unit", "", 1); //HEADER OPTION
addOption("Circuit Card Assy-Assemblies", "Aeroflex_CCA", "http://www.Aeroflex.com/CCA");



