//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="alert" //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", "Select Class", "", 1); //HEADER OPTION
addList("First-Select", "Lamaze Class ($160)", "", "Lamaze");
addList("First-Select", "Infant Care Class ($60)", "", "Care");
addList("First-Select", "Infant Care plus CPR Class ($85)", "", "Safety");
addList("First-Select", "Breastfeeding Class ($60)", "", "Feeding");


addOption("Lamaze", "Select State", "", 1); //HEADER OPTION
addList("Lamaze", "Maryland", "", "Lamaze-Maryland");
addList("Lamaze", "Virginia", "", "Lamaze-Virginia");
addOption("Lamaze", "Washington DC", ".php?type=Lamaze&city=Washington&state=DC&title=Lamaze%20Classes%20in%20DC");

addOption("Lamaze-Maryland", "Select City", "", 1); //HEADER OPTION
addOption("Lamaze-Maryland", "Bethesda", ".php?type=Lamaze&city=Bethesda&state=MD");
addOption("Lamaze-Maryland", "Bowie", ".php?type=Lamaze&city=Bowie&state=MD");
addOption("Lamaze-Maryland", "Silver Spring", ".php?type=Lamaze&city=Silver_Spring&state=MD");

addOption("Lamaze-Virginia", "Select City", "", 1); //HEADER OPTION
addOption("Lamaze-Virginia", "Arlington", ".php?type=Lamaze&city=Arlington&state=VA");
addOption("Lamaze-Virginia", "Fairfax", ".php?type=Lamaze&city=Fairfax&state=VA");
addOption("Lamaze-Virginia", "Fairfax Station", ".php?type=Lamaze&city=Fairfax_Station&state=VA");
addOption("Lamaze-Virginia", "Springfield", ".php?type=Lamaze&city=Springfield&state=VA");

addOption("Care", "Select State", "", 1); //HEADER OPTION
addList("Care", "Maryland", "", "Care-Maryland");
addList("Care", "Virginia", "", "Care-Virginia");

addOption("Care-Maryland", "Select City", "", 1); //HEADER OPTION
addOption("Care-Maryland", "Bethesda", ".php?type=Baby_Care&city=Bethesda&state=MD");
addOption("Care-Maryland", "Bowie", ".php?type=Baby_Care&city=Bowie&state=MD");

addOption("Care-Virginia", "Select City", "", 1); //HEADER OPTION
addOption("Care-Virginia", "Fairfax", ".php?type=Baby_Care&city=Fairfax&state=VA");

addOption("Safety", "Select State", "", 1); //HEADER OPTION
addList("Safety", "Virginia", "", "Safety-Virginia");

addOption("Safety-Virginia", "Select City", "", 1); //HEADER OPTION
addOption("Safety-Virginia", "Springfield", ".php?type=Infant_Care_plus_CPR&city=Springfield&state=VA");

addOption("Feeding", "Select State", "", 1); //HEADER OPTION
addList("Feeding", "Maryland", "", "Feeding-Maryland");
addList("Feeding", "Virginia", "", "Feeding-Virginia");

addOption("Feeding-Maryland", "Select City", "", 1);
addOption("Feeding-Maryland", "Silver Spring", ".php?type=Breastfeeding&city=Silver_Spring&state=MD");

addOption("Feeding-Virginia", "Select City", "", 1);
addOption("Feeding-Virginia", "Burke", ".php?type=Breastfeeding&city=Burke&state=VA");
addOption("Feeding-Virginia", "Fair Oaks", ".php?type=Breastfeeding&city=Fair_Oaks&state=VA");
addOption("Feeding-Virginia", "Springfield", ".php?type=Breastfeeding&city=Springfield&state=VA");

addOption("Early", "Select State", "", 1); //HEADER OPTION
addList("Early", "Maryland", "", "Early-Maryland");

addOption("Early-Maryland", "Select City", "", 1);
addOption("Early-Maryland", "Bowie", ".php?type=Early_Pregnancy&city=Bowie&state=MD");



