//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=1 //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 State", "", 1); //HEADER OPTION
addList("First-Select", "Alaska", "locations/alaska.html", "Alaska");
addList("First-Select", "Kentucky", "locations/kentucky.html", "Kentucky");
addList("First-Select", "Maryland", "locations/maryland.html", "Maryland");
addList("First-Select", "Minnesota", "locations/minnesota.html", "Minnesota");
addList("First-Select", "North Carolina", "locations/ncarolina.html", "North Carolina");
addList("First-Select", "South Dakota", "locations/southdakota.html", "South Dakota");
addList("First-Select", "Virginia", "locations/virginia.html", "Virginia");
addList("First-Select", "West Virginia", "locations/westvirginia.html", "West Virginia");
addList("First-Select", "Wyoming", "locations/wyoming.html", "Wyoming");

addOption("Alaska", "Select a City", "", 1); //HEADER OPTION
addOption("Alaska", "Sitka", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03097&brandInfo=SE");

addOption("Kentucky", "Select a City", "", 1); //HEADER OPTION
addOption("Kentucky", "Louisa", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=08502&brandInfo=SE");

addOption("Maryland", "Select a City", "", 1); //HEADER OPTION
addList("Maryland", "Lexington Park/California Area", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03516");
addList("Maryland", "Thurmont", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03527");

addOption("Minnesota", "Select a City", "", 1); //HEADER OPTION
addOption("Minnesota", "Bloomington", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03634&brandInfo=SE");

addOption("North Carolina", "Select a City", "", 1); //HEADER OPTION
addOption("North Carolina", "Mount Airy", "http://www.ichotelsgroup.com/h/d/ex/1/en/hotel/zefma?rpb=hotel&crUrl=/h/d/ex/1/en/hotelsearchresults");

addOption("South Dakota", "Select a City", "", 1); //HEADER OPTION
addList("South Dakota", "Brookings", "locations/southdakotabrookings.html");
addList("South Dakota", "Rapid City", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03587&brandInfo=SE");

addOption("Virginia", "Select an City", "", 1); //HEADER OPTION
addOption("Virginia", "Christiansburg/Blacksburg Area", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03813&brandInfo=SE");
addOption("Virginia", "Richlands/Claypool Hill Area", "locations/virginiaclayhill.html");
addOption("Virginia", "Franklin", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03801&brandInfo=SE");
addOption("Virginia", "Lebanon", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=11944&brandInfo=SE");
addOption("Virginia", "Lexington", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03809&brandInfo=SE");
addOption("Virginia", "Newport News/Jefferson Ave.", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03786&brandInfo=SE");
addOption("Virginia", "Norton", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03783&brandInfo=SE");
addOption("Virginia", "Radford", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03785&brandInfo=SE");
addOption("Virginia", "Roanoke", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03781");
addOption("Virginia", "Rocky Mount", "http://www.hiexpress.com/h/d/ex/1/en/hotel/rcmva?&cm_mmc=mdpr-_-googlemaps-_-ex-_-rcmva&dp=true");
addOption("Virginia", "South Boston", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03823");
addOption("Virginia", "Tappahannock", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03797&brandInfo=SE");

addOption("West Virginia", "Select a City", "", 1); //HEADER OPTION
addOption("West Virginia", "Dunbar", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03281&brandInfo=SE");
addOption("West Virginia", "Lewisburg", "locations/westvirginialewisburg.html");
addOption("West Virginia", "Ripley", "locations/westvirginiaripley.html");
addOption("West Virginia", "Summersville", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03289");
addOption("West Virginia", "Weston", "locations/westvirginiaweston.html");

addOption("Wyoming", "Select a City", "", 1); //HEADER OPTION
addOption("Wyoming", "Cheyenne", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03241&brandInfo=SE");

