//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", "Select A Client", "", 1); //HEADER OPTION
addList("First-Select", "Coast Guard", "", "Coast-Guard"); //Option 1 Level 1 [webmaster]
addList("First-Select", "Navy", "", "Navy");  //Option 2 Level 1 [news]
addList("First-Select", "Other", "", "Other");  //Option 3 Level 1 [cars]

addOption("Coast-Guard", "Select An Item", "", 1); //HEADER OPTION
addList("Coast-Guard", "USCGC Buckthorne", "", "buckthorne");
addList("Coast-Guard", "USCGC Tampa [WMEC-902]", "", "tampa902");
addList("Coast-Guard", "", "", "");
addList("Coast-Guard", "", "", "");
addList("Coast-Guard", "", "", "");
addList("Coast-Guard", "USCGC Wrangell", "", "Wrangell");
addOption("Coast-Guard", "All USCG Jobs", "#"); //END OF THIS NODE [Does not allow a 3rd option]

addOption("tampa902", "Select The Job Type", "", 1); //HEADER OPTION
addOption("tampa902", "All Work", "http://salmiandcompany.com/?s=USCGC+Tampa");
addOption("tampa902", "Engine", "http://salmiandcompany.com/?s=USCGC+Tampa+Engine");
addOption("tampa902", "Exhaust", "http://salmiandcompany.com/?s=USCGC+Tampa+Exhaust");
addOption("tampa902", "Insulation", "http://salmiandcompany.com/?s=USCGC+Tampa+Insulation");
addOption("tampa902", "Preservation", "http://salmiandcompany.com/?s=USCGC+Tampa+Preservation");

addOption("Wrangell", "Select The Job Type", "", 1); //HEADER OPTION
addOption("Wrangell", "Engine", "http://salmiandcompany.com/?s=USCGC+Wrangell+Engine");
addOption("Wrangell", "Exhaust", "http://salmiandcompany.com/?s=USCGC+Wrangell+Exhaust");
addOption("Wrangell", "Preservation", "http://salmiandcompany.com/?s=USCGC+Wrangell+Preservation");
addOption("Wrangell", "Decking", "http://salmiandcompany.com/?s=USCGC+Wrangell+Decking");
addOption("Wrangell", "Tanks", "http://salmiandcompany.com/?s=USCGC+Wrangell+Tanks");
addOption("Wrangell", "Braising", "http://salmiandcompany.com/?s=USCGC+Wrangell+Braising");
addOption("Wrangell", "Welding", "http://salmiandcompany.com/?s=USCGC+Wrangell+Welding");
addOption("Wrangell", "Lagging", "http://salmiandcompany.com/?s=USCGC+Wrangell+Lagging");

addOption("Wrangell", "JavaScript Reference", "http://www.javascriptkit.com/jsref/");

addOption("Webmaster-PHP", "Select an item", "", 1); //HEADER OPTION
addOption("Webmaster-PHP", "PHP.net", "http://www.php.net");
addOption("Webmaster-PHP", "mySQL", "http://www.mysql.com");

addOption("News", "Select an item", "", 1); //HEADER OPTION
addList("News", "General News", "", "News-General");
addList("News", "Tech News", "", "News-Tech");

addOption("News-General", "Select an item", "", 1); //HEADER OPTION
addOption("News-General", "CNN", "http://www.cnn.com");
addOption("News-General", "MSNBC", "http://www.msnbc.com");
addOption("News-General", "BBC News", "http://news.bbc.co.uk");
addOption("News-General", "Fox News", "http://www.foxnews.com");

addOption("News-Tech", "Select an item", "", 1); //HEADER OPTION
addOption("News-Tech", "News.com", "http://www.news.com");
addOption("News-Tech", "Wired News", "http://www.wired.com");
addOption("News-Tech", "TheRegister", "http://www.theregister.com");

addOption("Cars", "Select an item", "", 1); //HEADER OPTION
addList("Cars", "Regular Cars", "", "Cars-Regular");
addList("Cars", "Sports Cars", "", "Cars-Sports");

addOption("Cars-Regular", "Select an item", "", 1); //HEADER OPTION
addOption("Cars-Regular", "Toyota", "http://www.toyota.com");
addOption("Cars-Regular", "Ford", "http://www.ford.com");
addOption("Cars-Regular", "Nissan", "http://www.nissanusa.com");
addOption("Cars-Regular", "BMW", "http://www.bmw.com");

addOption("Cars-Sports", "Select an item", "", 1); //HEADER OPTION
addOption("Cars-Sports", "Porsche", "http://www.www.porsche.com");
addOption("Cars-Sports", "Aston Martin", "http://www.astonmartin.com");
