//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");

addOption("First-Select", "-- Please Select --", "", 1); //HEADER OPTION
addList("First-Select", "Albania", "", "Albania");
addList("First-Select", "Albania", "", "Albania");
addList("First-Select", "Anguilla", "", "Anguilla");
addList("First-Select", "Antigua &amp; Barbuda", "", "Antigua &amp; Barbuda");
addList("First-Select", "Argentina", "", "Argentina");
addList("First-Select", "Armenia", "", "Armenia");
addList("First-Select", "Australia", "", "Australia");
addList("First-Select", "Austria", "", "Austria");
addList("First-Select", "Azerbejan", "", "Azerbejan");
addList("First-Select", "Bahamas", "", "Bahamas");
addList("First-Select", "Bahrain", "", "Bahrain");
addList("First-Select", "Barbados", "", "Barbados");
      
            addList("First-Select", "Belarus", "" , "Belarus");
            addList("First-Select", "Belgium", "" , "Belgium");
            addList("First-Select", "Belize", "" , "Belize");
            addList("First-Select", "Benin", "" , "Benin");
            addList("First-Select", "Bermuda", "" , "Bermuda");
            addList("First-Select", "Bolivia", "" , "Bolivia");
            addList("First-Select", "Bosnia", "" , "Bosnia");
            addList("First-Select", "Brazil","" , "Brazil");
            addList("First-Select", "British Virgin Islands", "" , "British Virgin Islands");
            addList("First-Select", "Bulgaria", "" , "Bulgaria");
            addList("First-Select", "Burkina Faso", "" , "Burkina Faso");
            addList("First-Select", "Burundi", "" , "Burundi");
            addList("First-Select", "Cameroon", "" , "Cameroon");
            addList("First-Select", "Canada", "" , "Canada");
            addList("First-Select", "Cayman Islands", "" , "Cayman Islands");
            addList("First-Select", "Central African Republic", "" , "Central African Republic");
            addList("First-Select", "Chile", "" , "Chile");
            addList("First-Select", "China", "" , "China");
            addList("First-Select", "Colombia", "" , "Colombia");
            addList("First-Select", "Congo", "" , "Congo");
            addList("First-Select", "Costa Rica", "" , "Costa Rica");
            addList("First-Select", "Croatia", "" , "Croatia");
            addList("First-Select", "Cyprus", "" , "Cyprus");
            addList("First-Select", "Czech Republic", "" , "Czech Republic");
            addList("First-Select", "Denmark", "" , "Denmark");
            addList("First-Select", "Djibouti", "" , "Djibouti");
            addList("First-Select", "Dominica", "" , "Dominica");
            addList("First-Select", "Dominican Republic", "" , "Dominican Republic");
            addList("First-Select", "Ecuador", "" , "Ecuador");
            addList("First-Select", "Egypt", "" , "Egypt");
            addList("First-Select", "El Salvador", "" , "El Salvador");
            addList("First-Select", "Estonia", "" , "Estonia");
            addList("First-Select", "Finland", "" , "Finland");
            addList("First-Select", "France", "" , "France");
            addList("First-Select", "French Guyana", "" , "French Guyana");
            addList("First-Select", "Gabon", "" , "Gabon");
            addList("First-Select", "Georgia", "" , "Georgia");
            addList("First-Select", "Germany", "" , "Germany");
            addList("First-Select", "Greece", "" , "Greece");
            addList("First-Select", "Grenada", "" , "Grenada");
            addList("First-Select", "Guadaloupe", "" , "Guadaloupe");
            addList("First-Select", "Guatemala", "" , "Guatemala");
            addList("First-Select", "Guinea", "" , "Guinea");
            addList("First-Select", "Guinea Equatoriale", "" , "Guinea Equatoriale");
            addList("First-Select", "Guinea-Bissau", "" , "Guinea-Bissau");
            addList("First-Select", "Guyana", "" , "Guyana");
            addList("First-Select", "Haiti", "" , "Haiti");
            addList("First-Select", "Honduras", "" , "Honduras");
            addList("First-Select", "Hong Kong", "" , "Hong Kong");
            addList("First-Select", "Hungary", "" , "Hungary");
            addList("First-Select", "Iceland", "" , "Iceland");
            addList("First-Select", "India", "" , "India");
            addList("First-Select", "Indonesia", "" , "Indonesia");
            addList("First-Select", "Iraq", "" , "Iraq");
            addList("First-Select", "Ireland", "" , "Ireland");
            addList("First-Select", "Israel", "" , "Israel");
            addList("First-Select", "Italy", "" , "Italy");
            addList("First-Select", "Ivory Coast", "" , "Ivory Coast");
            addList("First-Select", "Jamaica", "" , "Jamaica");
            addList("First-Select", "Japan", "" , "Japan");
            addList("First-Select", "Jordan", "" , "Jordan");
            addList("First-Select", "Kazakhstan", "" , "Kazakhstan");
            addList("First-Select", "Kenya", "" , "Kenya");
            addList("First-Select", "Korea", "" , "Korea");
            addList("First-Select", "Kosovo", "" , "Kosovo");
            addList("First-Select", "Krygyzstan", "" , "Krygyzstan");
            addList("First-Select", "Kuwait", "" , "Kuwait");
            addList("First-Select", "Latvia", "" , "Latvia");
            addList("First-Select", "Lebanon", "" , "Lebanon");
            addList("First-Select", "Liechtenstein", "" , "Liechtenstein");
            addList("First-Select", "Lithuania", "" , "Lithuania");
            addList("First-Select", "Luxembourg", "" , "Luxembourg");
            addList("First-Select", "Macedonia", "" , "Macedonia");
            addList("First-Select", "Madagascar", "" , "Madagascar");
            addList("First-Select", "Malaysia", "" , "Malaysia");
            addList("First-Select", "Mali", "" , "Mali");
            addList("First-Select", "Malta", "" , "Malta");
            addList("First-Select", "Martinique", "" , "Martinique");
            addList("First-Select", "Mauritania", "" , "Mauritania");
            addList("First-Select", "Mauritius", "" , "Mauritius");
            addList("First-Select", "Mexico", "" , "Mexico");
            addList("First-Select", "Moldova", "" , "Moldova");
            addList("First-Select", "Morocco", "" , "Morocco");
            addList("First-Select", "Netherlands", "" , "Netherlands");
            addList("First-Select", "New Zealand", "" , "New Zealand");
            addList("First-Select", "Niger", "" , "Niger");
            addList("First-Select", "Nicaragua", "" , "Nicaragua");
            addList("First-Select", "Norway", "" , "Norway");
            addList("First-Select", "Pakistan", "" , "Pakistan");
            addList("First-Select", "Panama", "" , "Panama");
            addList("First-Select", "Peru", "" , "Peru");
            addList("First-Select", "Philippines", "" , "Philippines");
            addList("First-Select", "Poland", "" , "Poland");
            addList("First-Select", "Portugal", "" , "Portugal");
            addList("First-Select", "Puerto Rico", "" , "Puerto Rico");
            addList("First-Select", "Qatar", "" , "Qatar");
            addList("First-Select", "Romania", "" , "Romania");
            addList("First-Select", "Russia", "" , "Russia");
            addList("First-Select", "Rwanda", "" , "Rwanda");
            addList("First-Select", "Saudi Arabia", "" , "Saudi Arabia");
            addList("First-Select", "Serbia", "" , "Serbia");
            addList("First-Select", "Singapore", "" , "Singapore");
            addList("First-Select", "Slovakia", "" , "Slovakia");
            addList("First-Select", "Slovenia", "" , "Slovenia");
            addList("First-Select", "South Africa", "" , "South Africa");
            addList("First-Select", "Spain", "" , "Spain");
            addList("First-Select", "Sri Lanka", "" , "Sri Lanka");
            addList("First-Select", "St. Kitts &amp; Nevis", "" , "St. Kitts &amp; Nevis");
            addList("First-Select", "St. Lucia", "" , "St. Lucia");
            addList("First-Select", "St. Martin", "" , "St. Martin");
            addList("First-Select", "Sudan", "" , "Sudan");
            addList("First-Select", "Suriname", "" , "Suriname");
            addList("First-Select", "Sweden", "" , "Sweden");
            addList("First-Select", "Switzerland", "" , "Switzerland");
           addList("First-Select", "Taiwan", "" , "Taiwan");
           addList("First-Select", "Tajikistan", "" , "Tajikistan");
           addList("First-Select", "Tasmania", "" , "Tasmania");
           addList("First-Select", "Tchad", "" , "Tchad");
            addList("First-Select", "Thailand", "" , "Thailand");
            addList("First-Select", "Togo", "" , "Togo");
            addList("First-Select", "Trinidad &amp; Tobago", "" , "Trinidad &amp; Tobago");
            addList("First-Select", "Tunisie", "" , "Tunisie");
           addList("First-Select", "Turkey", "" , "Turkey");
           addList("First-Select", "Turks &amp; Caicos Islands", "" , "Turks &amp; Caicos Islands");
            addList("First-Select", "Turkmenistan", "" , "Turkmenistan");
            addList("First-Select", "US Virgin Islands", "" , "US Virgin Islands");
           addList("First-Select", "Ukraine", "" , "Ukraine");
            addList("First-Select", "United Arab Emirates", "" , "United Arab Emirates");
            addList("First-Select", "United Kingdom", "" , "United Kingdom");
            addList("First-Select", "USA", "" , "USA");
            addList("First-Select", "Uruguay", "" , "Uruguay");
            addList("First-Select", "Uzbekistan", "" , "Uzbekistan");
           addList("First-Select", "Venezuela", "" , "Venezuela");
           addList("First-Select", "Vietnam", "" , "Vietnam");
            addList("First-Select", "Zimbabwe", "" , "Zimbabwe");
          addList("First-Select", "Other", "" , "Other");

addOption("USA", "-- Please Select --", "", 1); //HEADER OPTION
addOption("USA", "Alabama", "", "Alabama");
addOption("USA", "Alaska", "", "Alaska");
addOption("USA", "American Samoa", "American Samoa"); //END OF THIS NODE
addOption("USA", "Arizona", "", "Arizona");
addOption("USA", "Arkansas", "", "Arkansas");
addOption("USA", "California", "California"); //END OF THIS NODE
addOption("USA", "Colorado", "", "Colorado");
addOption("USA", "Connecticut", "", "Connecticut");
addOption("USA", "Delaware", "Delaware"); //END OF THIS NODE
addOption("USA", "District of Columbia", "", "District of Columbia");
addOption("USA", "Florida", "", "Florida");
addOption("USA", "Georgia", "Georgia"); //END OF THIS NODE
addOption("USA", "Guam", "", "Guam");
addOption("USA", "Hawaii", "", "Hawaii");
addOption("USA", "Idaho", "Idaho"); //END OF THIS NODE
addOption("USA", "Illinois", "", "Illinois");
addOption("USA", "Indiana", "", "Indiana");
addOption("USA", "Iowa", "Iowa"); //END OF THIS NODE
addOption("USA", "Kansas", "", "Kansas");
addOption("USA", "Kentucky", "", "Kentucky");
addOption("USA", "Louisiana", "Louisiana"); //END OF THIS NODE
addOption("USA", "Maine", "", "Maine");
addOption("USA", "Maryland", "", "Maryland");
addOption("USA", "Michigan", "Michigan"); //END OF THIS NODE
addOption("USA", "Minnesota", "", "Minnesota");
addOption("USA", "Mississippi", "", "Mississippi");
addOption("USA", "Missouri", "Missouri"); //END OF THIS NODE
addOption("USA", "Montana", "", "Montana");
addOption("USA", "Nebraska", "", "Nebraska");
addOption("USA", "Nevada", "Nevada"); //END OF THIS NODE
addOption("USA", "New Hampshire", "", "New Hampshire");
addOption("USA", "New Jersey", "", "New Jersey");
addOption("USA", "New Mexico", "New Mexico"); //END OF THIS NODE
addOption("USA", "New York", "", "New York");
addOption("USA", "North Carolina", "", "North Carolina");
addOption("USA", "North Dakota", "North Dakota"); //END OF THIS NODE
addOption("USA", "Northern Marianas Islands", "", "Northern Marianas Islands");
addOption("USA", "Ohio", "", "Ohio");
addOption("USA", "Oklahoma", "Oklahoma"); //END OF THIS NODE
addOption("USA", "Oregon", "", "Oregon");
addOption("USA", "Pennsylvania", "", "Pennsylvania");
addOption("USA", "Puerto Rico", "Puerto Rico"); //END OF THIS NODE
addOption("USA", "Rhode Island", "", "Rhode Island");
addOption("USA", "South Carolina", "", "South Carolina");
addOption("USA", "South Dakota", "South Dakota"); //END OF THIS NODE
addOption("USA", "Tennessee", "", "Tennessee");
addOption("USA", "Texas", "", "Texas");
addOption("USA", "Utah", "Utah"); //END OF THIS NODE
addOption("USA", "Vermont", "", "Vermont");
addOption("USA", "Virginia", "", "Virginia");
addOption("USA", "Virgin Islands", "Virgin Islands"); //END OF THIS NODE
addOption("USA", "Washington", "", "Washington");
addOption("USA", "West Virginia", "", "West Virginia");
addOption("USA", "Wisconsin", "Wisconsin"); //END OF THIS NODE
addOption("USA", "Wyoming", "", "Wyoming"); //END OF THIS NODE


addOption("Albania","Other", "", "Other");
addOption("Albania","Other", "", "Other");
addOption("Anguilla","Other", "", "Other");
addOption("Antigua &amp; Barbuda","Other", "", "Other");
addOption("Argentina","Other", "", "Other");
addOption("Armenia","Other", "", "Other");
addOption("Australia","Other", "", "Other");
addOption("Austria","Other", "", "Other");
addOption("Azerbejan","Other", "", "Other");
addOption("Bahamas","Other", "", "Other");

addOption("Bahrain","Other", "", "Other");

addOption("Barbados","Other", "", "Other");
    
addOption("Belarus","Other", "", "Other");
addOption("Belgium","Other", "", "Other");
addOption("Belize","Other", "", "Other");
addOption("Benin","Other", "", "Other");
addOption("Bermuda","Other", "", "Other");
addOption("Bolivia","Other", "", "Other");
            addOption("Bosnia","Other", "", "Other");
            addOption("Brazil", "Other", "", "Other");
            addOption("British Virgin Islands","Other", "", "Other");
            addOption("Bulgaria","Other", "", "Other");
            addOption("Burkina Faso","Other", "", "Other");
            addOption("Burundi","Other", "", "Other");
            addOption("Cameroon","Other", "", "Other");
            addOption("Canada","Other", "", "Other");
            addOption("Cayman Islands","Other", "", "Other");
            addOption("Central African Republic","Other", "", "Other");
            addOption("Chile","Other", "", "Other");
            addOption("China","Other", "", "Other");
            addOption("Colombia","Other", "", "Other");
            addOption("Congo","Other", "", "Other");
            addOption("Costa Rica","Other", "", "Other");
            addOption("Croatia","Other", "", "Other");
            addOption("Cyprus","Other", "", "Other");
            addOption("Czech Republic","Other", "", "Other");
            addOption("Denmark","Other", "", "Other");
            addOption("Djibouti","Other", "", "Other");
            addOption("Dominica","Other", "", "Other");
            addOption("Dominican Republic","Other", "", "Other");
            addOption("Ecuador","Other", "", "Other");
            addOption("Egypt","Other", "", "Other");
            addOption("El Salvador","Otherr", "", "Other");
            addOption("Estonia","Other", "", "Other");
            addOption("Finland","Other", "", "Other");
            addOption("France","Other", "", "Other");
            addOption("French Guyana","Other", "", "Other");
addOption("Gabon","Other", "", "Other");
addOption("Georgia","Other", "", "Other");
addOption("Germany","Other", "", "Other");
addOption("Greece","Other", "", "Other");
addOption("Grenada","Other", "", "Other");
addOption("Guadaloupe","Other", "", "Other");
addOption("Guatemala","Other", "", "Other");
addOption("Guinea","Other", "", "Other");
addOption("Guinea Equatoriale","Other", "", "Other");
addOption("Guinea-Bissau","Other", "", "Other");
addOption("Guyana","Other", "", "Other");
addOption("Haiti","Other", "", "Other");
            addOption("Honduras","Other", "", "Other");
            addOption("Hong Kong","Other", "", "Other");
            addOption("Hungary","Other", "", "Other");
            addOption("Iceland","Other", "", "Other");
            addOption("India","Other", "", "Other");
            addOption("Indonesia","Other", "", "Other");
            addOption("Iraq","Other", "", "Other");
            addOption("Ireland","Other", "", "Other");
            addOption("Israel","Other", "", "Other");
            addOption("Italy","Other", "", "Other");
            addOption("Ivory Coast","Other", "", "Other");
            addOption("Jamaica","Other", "", "Other");
            addOption("Japan","Other", "", "Other");
            addOption("Jordan","Other", "", "Other");
            addOption("Kazakhstan","Other", "", "Other");
            addOption("Kenya","Other", "", "Other");
            addOption("Korea","Other", "", "Other");
            addOption("Kosovo","Other", "", "Other");
            addOption("Krygyzstan","Others", "", "Other");
            addOption("Kuwait","Other", "", "Other");
            addOption("Latvia","Other", "", "Other");
            addOption("Lebanon","Other", "", "Other");
            addOption("Liechtenstein","Other", "", "Other");
            addOption("Lithuania","Other", "", "Other");
            addOption("Luxembourg","Other", "", "Other");
            addOption("Macedonia","Other", "", "Other");
            addOption("Madagascar","Other", "", "Other");
            addOption("Malaysia","Other", "", "Other");
            addOption("Mali","Other", "", "Other");
            addOption("Malta","Other", "", "Other");
            addOption("Martinique","Other", "", "Other");
            addOption("Mauritania","Other", "", "Other");
            addOption("Mauritius","Other", "", "Other");
            addOption("Mexico","Other", "", "Other");
            addOption("Moldova","Other", "", "Other");
            addOption("Morocco","Other", "", "Other");
            addOption("Netherlands","Other", "", "Other");
            addOption("New Zealand","Other", "", "Other");
            addOption("Niger","Other", "", "Other");
            addOption("Nicaragua","Other", "", "Other");
            addOption("Norway","Other", "", "Other");
            addOption("Pakistan","Other", "", "Other");
            addOption("Panama","Other", "", "Other");
            addOption("Peru","Other", "", "Other");
            addOption("Philippines","Other", "", "Other");
addOption("Poland","Other", "", "Other");
addOption("Portugal","Other", "", "Other");
addOption("Puerto Rico","Other", "", "Other");
addOption("Qatar","Other", "", "Other");
addOption("Romania","Other", "", "Other");
addOption("Russia","Other", "", "Other");
addOption("Rwanda","Other", "", "Other");
addOption("Saudi Arabia","Other", "", "Other");
addOption("Serbia","Other", "", "Other");
addOption("Singapore","Other", "", "Other");
addOption("Slovakia","Other", "", "Other");
addOption("Slovenia","Other", "", "Other");
addOption("South Africa","Other", "", "Other");
addOption("Spain","Other", "", "Other");
addOption("Sri Lanka","Other", "", "Other");
addOption("St. Kitts &amp; Nevis","Other", "", "Other");
addOption("St. Lucia","Other", "", "Other");
addOption("St. Martin","Other", "", "Other");
addOption("Sudan","Other", "", "Other");
addOption("Suriname","Other", "", "Other");
addOption("Sweden","Other", "", "Other");
addOption("Switzerland","Other", "", "Other");
addOption("Taiwan","Other", "", "Other");
addOption("Tajikistan","Other", "", "Other");
addOption("Tasmania","Other", "", "Other");
addOption("Tchad","Other", "", "Other");
addOption("Thailand","Other", "", "Other");
addOption("Togo","Other", "", "Other");
addOption("Trinidad &amp; Tobago","Other", "", "Other");
addOption("Tunisie","Other", "", "Other");
addOption("Turkey","Other", "", "Other");
addOption("Turks &amp; Caicos Islands","Other", "", "Other");
addOption("Turkmenistan","Other", "", "Other");
addOption("US Virgin Islands","Other", "", "Other");
addOption("Ukraine","Other", "", "Other");
addOption("United Arab Emirates","Other", "", "Other");
addOption("United Kingdom","Other", "", "Other");
addOption("Uruguay","Other", "", "Other");
addOption("Uzbekistan","Other", "", "Other");
addOption("Venezuela","Other", "", "Other");
addOption("Vietnam","Other", "", "Other");
addOption("Zimbabwe","Other", "", "Other");