//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", "Delaware", "locations/delaware.html", "Delaware");
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("Delaware", "Select a City", "", 1); //HEADER OPTION
addOption("Delaware", "New Castle", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03204&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", "Baltimore/Essex Area", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03488&brandInfo=SE");
addList("Maryland", "College Park/Wash DC Area", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03469");
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", "Chesapeake/Churchland Blvd.", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03857&brandInfo=SE");
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", "Danville", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03795&brandInfo=SE");
addOption("Virginia", "Franklin", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03801&brandInfo=SE");
addOption("Virginia", "Hampton", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03775&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", "Richmond/Chamberlayne Rd.", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03822");
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", "Elkins", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=03280");
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("West Virginia", "Wheeling", "http://www.super8.com/Super8/control/Booking/property_info?propertyId=11943");

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