//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 an item", "", 1); //HEADER OPTION
addList("First-Select", "Wedding", "", "Wedding");
addList("First-Select", "Legacy Books", "", "Legacy");
//addList("First-Select", "Corporate Books", "", "Corporate");
addList("First-Select", "Other Products", "", "Other");

addList("Wedding", "Select an item", "", 1); //HEADER OPTION
addOption("Wedding", "Storybook Albums", "Wedding - Storybook Albums");
addOption("Wedding", "Party Favors", "Wedding - Party Favors");
addOption("Wedding", "Table Favors", "Wedding - Table Favors");
addOption("Wedding", "Thank You Favors", "Wedding - Thank You Favors"); //END OF THIS NODE

addList("Legacy", "Select an item", "", 1); //HEADER OPTION
addOption("Legacy", "Life Story Books", "Legacy - Life Story Books");
addOption("Legacy", "Memorial Books", "Legacy - Memorial Books");

//addList("Framed", "Select an item", "", 1); //HEADER OPTION
//addOption("Corporate", "Corporate Book", "Corporate Book");
//addOption("Framed", "Framed Fictional", "Framed - Framed Fictional");

addList("Other", "Select an item", "", 1); //HEADER OPTION
addOption("Other", "Anniversaries", "Other - Anniversaries");
addOption("Other", "Baby Books", "Other - Baby Books");
addOption("Other", "Travel Adventures", "Other - Travel Adventures");
addOption("Other", "Pet Stories", "Other - Pet Stories");
addOption("Other", "Writing Services", "Other - Writing Services");



