//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("chainedmenu2", "First-Select");

addOption("First-Select", "Select a Continent", "", 1); //HEADER OPTION
addList("First-Select", "Africa", "", "africa");
addList("First-Select", "Americas", "", "americas");
addList("First-Select", "Asia", "", "asia");
addList("First-Select", "Australasia", "", "australasia");
addList("First-Select", "Europe", "", "europe");

addOption("africa", "Select a Country", "", 1); //HEADER OPTION
addList("africa", "Ethiopia", "#ethiopia");
addList("africa", "Madagascar", "#madagascar");
addList("africa", "Nigeria", "#nigeria"); //END OF THIS NODE

addOption("americas", "Select a Country", "", 1); //HEADER OPTION
addList("americas", "Brazil", "#brazil");
addList("americas", "Canada", "#canada"); 
addList("americas", "Chile", "#chile");
addList("americas", "Cuba", "#cuba"); 
addList("americas", "El Salvador", "#elsalvador");
addList("americas", "Guatemala", "#guatemala"); 
addList("americas", "Mexico", "#mexico"); 
addList("americas", "Panama", "#panama");  
addList("americas", "United States", "#us"); //END OF THIS NODE

addOption("asia", "Select a Country", "", 1); //HEADER OPTION
addList("asia", "China", "#china");
addList("asia", "India", "#india");
addList("asia", "Indonesia", "#indonesia");
addList("asia", "Japan", "#japan");
addList("asia", "Korea", "#korea");
addList("asia", "Philippines", "#philippines");
addList("asia", "Sri Lanka", "#srilanka"); //END OF THIS NODE

addOption("australasia", "Select a Country", "", 1); //HEADER OPTION
addList("australasia", "New Zealand", "#newzealand"); //END OF THIS NODE

addOption("europe", "Select a Country", "", 1); //HEADER OPTION
addList("europe", "Austria", "#austria");
addList("europe", "Belgium", "#belgium");
addList("europe", "Croatia", "#croatia");
addList("europe", "England", "#england");
addList("europe", "France", "#france");
addList("europe", "Germany", "#germany");
addList("europe", "Greece", "#greece");
addList("europe", "Hungary", "#hungary");
addList("europe", "Ireland", "#ireland");
addList("europe", "Italy", "#italy");
addList("europe", "The Netherlands", "#netherlands");
addList("europe", "Poland", "#poland");
addList("europe", "Portugal", "#portugal");
addList("europe", "Romania", "#romania");
addList("europe", "Slovenia", "#slovenia");
addList("europe", "Spain", "#spain");
addList("europe", "Turkey", "#turkey"); //END OF THIS NODE

