//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 Country", "", 1); //HEADER OPTION
addList("First-Select", "Australia", "", "Australia");
addList("First-Select", "New Zealand", "", "NZ");

addOption("Australia", "Select State", "", 1); //HEADER OPTION
addList("Australia", "NSW", "", "NSW");
addList("Australia", "QLD", "", "QLD");
//END OF THIS NODE

addOption("NSW", "Select City", "", 1); //HEADER OPTION
addOption("NSW", "CBD", "CBD_NSW");
addOption("NSW", "North Sydney", "North_Sydney");
addOption("NSW", "St Leonards", "St_Leonards");
addOption("NSW", "Chatswood", "Chatswood");
addOption("NSW", "Rhodes", "Rhodes");

addOption("QLD", "Select City", "", 1); //HEADER OPTION
addOption("QLD", "CBD", "CBD_QLD");
addOption("QLD", "Brisbane - North", "Brisbane_North");

addOption("NZ", "Select State", "", 1); //HEADER OPTION
addList("NZ", "North Island", "", "NorthIsland");
addList("NZ", "South Island", "", "SouthIsland");

addOption("NorthIsland", "Select City", "", 1); //HEADER OPTION
addOption("NorthIsland", "Wellington", "Wellington");

addOption("SouthIsland", "Select City", "", 1); //HEADER OPTION
addOption("SouthIsland", "Christchurch", "Christchurch");