//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 an item", "", 1); //HEADER OPTION
addList("First-Select", "Around Kenfig", "", "Webmaster");
addList("First-Select", "British Army", "", "News");
addList("First-Select", "RAF", "", "Cars");

addOption("Webmaster", "Select an item", "", 1); //HEADER OPTION
addList("Webmaster", "Your Stories", "", "Webmaster-JavaScript");
addList("Webmaster", "RAF base", "", "Webmaster-PHP");
addList("Webmaster", "POW Camp", "", "Webmaster-POW");
addOption("Webmaster", "", "Webmaster-POW"); //END OF THIS NODE

addOption("Webmaster-JavaScript", "Select an item", "", 1); //HEADER OPTION
addOption("Webmaster-JavaScript", "War Years", "yourstories.html");
addOption("Webmaster-JavaScript", "", "");
addOption("Webmaster-JavaScript", "", "");

addOption("Webmaster-PHP", "Select an item", "", 1); //HEADER OPTION
addOption("Webmaster-PHP", "RAF Stormy Down", "rafstormydown.html");
addOption("Webmaster-PHP", "", "");




addOption("News", "Select an item", "", 1); //HEADER OPTION
addList("News", "Porthcawl", "", "News-General");
addList("News", "", "", "News-Tech");

addOption("News-General", "Select an item", "", 0); //HEADER OPTION
addOption("News-General", "Home Guard", "homeguard.html");
addOption("News-General", "Royal Observer Corps", "royalobservercorps.html");
addOption("News-General", "15th Battalion Welch Regiment", "15_battalion_welch_regiment.html");
addOption("News-General", "49th West Riding Regiment", "49_west_riding_recon_regiment.html");
addOption("News-General", "5th Battalion West Yorks Regiment", "5_battalion_west_yorks_regiment.html");
addOption("News-General", "4th Monmouthshire Battalion", "4_monmouth_battalion.html");


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", "Air Sea Rescue", "", "Cars-Regular");
addList("Cars", "Sports Cars", "", "Cars-Sports");

addOption("Cars-Regular", "Select an item", "", 1); //HEADER OPTION
addOption("Cars-Regular", "Porthcawl Harbour", "raf_airsearescue_porthcawl.html");
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");

