//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 a Community Type", "", 1); //HEADER OPTION
addList("First-Select", "Retirement Communities", "", "Retirement Communities");
addList("First-Select", "Long-Term Care Homes", "", "Long-Term Care Homes");




addOption("Retirement Communities", "Select a Province", "", 1); //HEADER OPTION
addOption("Retirement Communities", "Alberta", "http://www.diversicare.ca/home/search.php?prov=al&ty=2"); //END OF THIS NODE
addOption("Retirement Communities", "British Columbia", "http://www.diversicare.ca/home/search.php?prov=bc&ty=2"); //END OF THIS NODE
addOption("Retirement Communities", "Ontario", "http://www.diversicare.ca/home/search.php?prov=on&ty=2"); //END OF THIS NODE
addOption("Retirement Communities", "Saskatchewan", "http://www.diversicare.ca/home/search.php?prov=sask&ty=2"); //END OF THIS NODE




addOption("Long-Term Care Homes", "Select a Province", "", 1); //HEADER OPTION
addOption("Long-Term Care Homes", "Ontario", "http://www.diversicare.ca/home/search.php?prov=on&ty=1"); //END OF THIS NODE


