//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");

//////PROVINCES///////

addOption("First-Select", "Select a Province", "", 1); //HEADER OPTION
addList("First-Select", "Leinster", "leinster", "Leinster");
addList("First-Select", "Munster", "munster", "Munster");
addList("First-Select", "Ulster", "ulster", "Ulster");
addList("First-Select", "Connacht", "connacht", "Connacht");


//////CITIES///////


addOption("Leinster", "Select a city", "", 1); //HEADER OPTION
addList("Leinster", "Dublin", "dublin", "Dublin");
addList("Leinster", "Drogheda", "drogheda", "Drogheda");
addList("Leinster", "Wexford", "wexford", "Wexford");
addList("Leinster", "Wicklow", "wicklow", "Wicklow");

addOption("Dublin", "Select a hotel", "", 1); //HEADER OPTION
addOption("Dublin", "BW Academy Plaza Hotel", "dublin/best-western-academy-plaza-hotel");
addOption("Dublin", "BW Ashling Hotel", "dublin/best-western-ashling-hotel");
addOption("Dublin", "BW Sheldon Park Hotel", "dublin/best-western-sheldon-park-hotel");
addOption("Dublin", "BW Dublin Skylon Hotel", "dublin/best-western-dublin-skylon-hotel");
addOption("Drogheda", "Select a hotel", "", 1); //HEADER OPTION
addOption("Drogheda", "BW Boyne Valley Hotel", "drogheda/best-western-boyne-valley-hotel");
addOption("Wexford", "Select a hotel", "", 1); //HEADER OPTION
addOption("Wexford", "BW Hotel Rosslare", "wexford/best-western-hotel-rosslare");
addOption("Wicklow", "Select a hotel", "", 1); //HEADER OPTION
addOption("Wicklow", "BW Esplanade Hotel", "wicklow/best-western-esplanade-hotel");

addOption("Munster", "Select a city", "", 1); //HEADER OPTION
addList("Munster", "Cork", "cork", "Cork");
addList("Munster", "Limerick", "limerick", "Limerick");
addList("Munster", "Killarney", "killarney", "Killarney");

addOption("Cork", "Select a hotel", "", 1); //HEADER OPTION
addOption("Cork", "BW Montenotte Hotel", "cork/best-western-montenotte-hotel");
addOption("Limerick", "Select a hotel", "", 1); //HEADER OPTION
addOption("Limerick", "BW Pery's Hotel", "limerick/best-western-perys-hotel");
addOption("Killarney", "Select a hotel", "", 1); //HEADER OPTION
addOption("Killarney", "BW Eviston House Hotel", "killarney/best-western-eviston-house-hotel");


addOption("Ulster", "Select a city", "", 1); //HEADER OPTION
addList("Ulster", "Antrim", "antrim", "Antrim");
addList("Ulster", "Derry", "derry", "Derry");
addList("Ulster", "Donegal", "donegal", "Donegal");

addOption("Antrim", "Select a hotel", "", 1); //HEADER OPTION
addOption("Antrim", "BW Magherabuoy House Hotel", "antrim/best-western-magherabuoy-house-hotel");
addOption("Derry", "Select a hotel", "", 1); //HEADER OPTION
addOption("Derry", "BW White Horse Hotel", "derry/best-western-white-horse-hotel");
addOption("Donegal", "Select a hotel", "", 1); //HEADER OPTION
addOption("Donegal", "BW Milford Inn Hotel", "donegal/best-western-milford-inn-hotel");

addOption("Connacht", "Select a city", "", 1); //HEADER OPTION
addList("Connacht", "Galway", "galway", "Galway");
addList("Connacht", "Sligo", "sligo", "Sligo");

addOption("Galway", "Select a hotel", "", 1); //HEADER OPTION
addOption("Galway", "BW Flannery's Hotel", "galway/best-western-flannerys-hotel");
addOption("Sligo", "Select a hotel", "", 1); //HEADER OPTION
addOption("Sligo", "BW Sligo Southern Hotel", "sligo/best-western-sligo-southern-hotel");















