//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");

addList("First-Select", "MALAYSIA", "", "my"); //HEADER OPTION
addList("First-Select", "-- Kuala Lumpur", "", "kl");
addList("First-Select", "-- Damai Laut, Perak", "", "pk");
addList("First-Select", "-- Kuantan, Pahang", "", "ph");
addList("First-Select", "-- Sungai Petani, Kedah", "", "kd");
addList("First-Select", "-- Sandakan, Sabah", "", "sk");
addList("First-Select", "AUSTRALIA", "", "gl");
addList("First-Select", "-- Sydney", "", "gl");

addOption("my", "Please choose one", "", 1); //HEADER OPTION
addList("my", "Swiss-Garden Hotel & Residences Kuala Lumpur", "", "sghkl");
addList("my", "Swiss-Garden Golf Resort & Spa Damai Laut", "", "sgrdl");
addList("my", "Swiss-Garden Resort & Spa Kuantan", "", "sgrk");
addList("my", "Swiss-Inn Kuala Lumpur", "", "sikl");
addList("my", "Swiss-Inn Sungai Petani", "", "sisp");
addList("my", "Swiss-Inn Waterfront Sandakan", "", "siws");
addList("my", "Damai Laut Golf & Country Club", "", "dlgcc");

addOption("kl", "Please choose one", "", 1); //HEADER OPTION
addList("kl", "Swiss-Garden Hotel & Residences Kuala Lumpur", "", "sghkl");
addList("kl", "Swiss-Inn Kuala Lumpur", "", "sikl");

addOption("sghkl", "Please choose one", "", 1); //HEADER OPTION
addOption("sghkl", "Room Promotion", "hotels/sghkl/sghkl_promotion.php?back=1");
addOption("sghkl", "Food Promotion", "hotels/sghkl/sghkl_restaurants.php?back=1");
addOption("sghkl", "Spa / Activities", "hotels/sghkl/sghkl_samsara.php?back=1");

addOption("sikl", "Please choose one", "", 1); //HEADER OPTION
addOption("sikl", "Room Promotion", "hotels/sikl/sikl_promotion.php?back=1");

addOption("pk", "Select choose one", "", 1); //HEADER OPTION
addList("pk", "Swiss-Garden Golf Resort & Spa Damai Laut", "", "sgrdl");
addList("pk", "Damai Laut Golf & Country Club", "", "dlgcc");

addOption("sgrdl", "Please choose one", "", 1); //HEADER OPTION
addOption("sgrdl", "Room Promotion", "hotels/sgrdl/sgrdl_promotion.php?back=1");
addOption("sgrdl", "Food Promotion", "hotels/sgrdl/sgrdl_restaurants.php?back=1");
addOption("sgrdl", "Spa / Activities", "hotels/sgrdl/sgrdl_activities.php?back=1");
addOption("sgrdl", "Golf", "hotels/dlgcc/index.php");

addOption("dlgcc", "Please choose one", "", 1); //HEADER OPTION
addOption("dlgcc", "Golf Promotion", "hotels/dlgcc/dlgcc_promotion.php?back=1");

addOption("ph", "Please choose one", "", 1); //HEADER OPTION
addList("ph", "Swiss-Garden Resort & Spa Kuantan", "", "sgrk");

addOption("sgrk", "Please choose one", "", 1); //HEADER OPTION
addOption("sgrk", "Room Promotion", "hotels/sgrk/sgrk_promotion.php?back=1");
addOption("sgrk", "Spa / Activities", "hotels/sgrk/sgrk_activities.php?back=1");

addOption("kd", "Please choose one", "", 1); //HEADER OPTION
addList("kd", "Swiss-Inn Sungai Petani", "", "sisp");

addOption("sisp", "Please choose one", "", 1); //HEADER OPTION
addOption("sisp", "Room Promotion", "hotels/sisp/sisp_promotion.php?back=1");
addOption("sisp", "Food Promotion", "hotels/sisp/sisp_restaurants.php?back=1");

addList("sk", "Swiss-Inn Waterfront Sandakan", "", "siws");

addOption("siws", "Please choose one", "", 1); //HEADER OPTION
addOption("siws", "Overview", "hotels/siws/index.php");

addOption("gl", "Please choose one", "", 1); //HEADER OPTION
addList("gl", "Garden-Lodge Sydney", "", "gls");

addOption("gls", "Please choose one", "", 1); //HEADER OPTION
addOption("gls", "Room Promotion", "hotels/gl/index.php");