//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", "Please select from", "", 1); //HEADER OPTION
addList("First-Select", "Pet Food", "", "PetFood");
addList("First-Select", "Pet Litters", "", "PetLitter");


addOption("PetFood", "Now Select food type", "", 1); //HEADER OPTION
addList("PetFood", "Dog Food", "", "DogFood");
addList("PetFood", "Cat Food", "", "CatFood");
addList("PetFood", "Wild Bird Food", "", "BirdFood"); //END OF THIS NODE

addOption("DogFood", "Now Select brand", "", 1); //HEADER OPTION
addOption("DogFood", "Lomond Valley", "Dog Food - Lomond Valley");
addOption("DogFood", "Wafcol", "Dog Food - Wafcol");
addOption("DogFood", "Burns", "Dog Food - Burns");
addOption("DogFood", "Beta", "Dog Food - Beta");
addOption("DogFood", "Hills", "Dog Food - Hills");
addOption("DogFood", "Eukanuba","Dog Food - Eukanuba");
addOption("DogFood", "Iams", "Dog Food - Iams");
addOption("DogFood", "Royal Canin", "Dog Food - Royal Canin");
addOption("DogFood", "Gilpa", "Dog Food - Gilpa");
addOption("DogFood", "Wilsons", "Dog Food - Wilsons");
addOption("DogFood", "Vitalin", "Dog Food - Vitalin");
addOption("DogFood", "Bakers", "Dog Food - Bakers");
addOption("DogFood", "Omega", "Dog Food - Omega");
addOption("DogFood", "Skinners", "Dog Food - Skinners");
addOption("DogFood", "Chudleys", "Dog Food - Chudleys");
addOption("DogFood", "James Wellbeloved", "Dog Food - James Wellbeloved");
addOption("DogFood", "Other Brand", "Dog Food - Other Brand");

addOption("CatFood", "Now select brand", "", 1); //HEADER OPTION
addOption("CatFood", "Iams", "Cat Food - Iams");
addOption("CatFood", "Hills", "Cat Food - Hills");
addOption("CatFood", "James Wellbeloved", "Cat Food - James Wellbeloved");
addOption("CatFood", "Omega", "Cat Food - Omega");
addOption("CatFood", "Other Brand", "Cat Food - Other Brand");

addOption("BirdFood", "Now select brand", "", 1); //HEADER OPTION
addOption("BirdFood", "High Energy Supreme", "Bird Food - High Energy Supreme");
addOption("BirdFood", "Standard Wild Bird", "Bird Food - Standard Wild Bird Food");
addOption("BirdFood", "Sunflower Hearts", "Bird Food - Sunflower Hearts");
addOption("BirdFood", "Nyler Seed", "Bird Food - Nyler Seed");
addOption("BirdFood", "Peanuts (Grade 1)", "Bird Food - Peanuts (Grade 1)");
addOption("BirdFood", "Robin and Songbird Mix", "Bird Food - Robin and Songbird Mix");
addOption("BirdFood", "Black Sunflower Seeds", "Bird Food - Black Sunflower Seeds");
addOption("BirdFood", "Other Brand", "Bird Food - Other Brand");

addOption("PetLitter", "Select Litter", "", 1); //HEADER OPTION
addList("PetLitter", "Cat Litter", "", "CatLitter");

addOption("CatLitter", "Now select a brand", "", 1); //HEADER OPTION
addOption("CatLitter", "Mayfield", "Cat Litter - Mayfield");
addOption("CatLitter", "Catsan", "Cat Litter - Catsan");
addOption("CatLitter", "Sophisticat", "Cat Litter - Sophisticat");
addOption("CatLitter", "Smart Cat", "Cat Litter - Smart Cat");
addOption("CatLitter", "Worlds Best", "Cat Litter - Worlds Best");
addOption("CatLitter", "Premium Choice", "Cat Litter - Premium Choice");
addOption("CatLitter", "Tidy Cat", "Cat Litter - Tidy Cat");
addOption("CatLitter", "Other Brand", "Cat Litter - Other Brand");

