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.

function getQueryString() {
	return "?email=" + document.listmenu0.email.value;
}

/////DEFINE YOUR MENU LISTS and ITEMS below/////////////////

addListGroup("chainedmenu", "First-Select");

addList("First-Select", "Australia", "", "australia");
addOption("First-Select", "Canada", "feedback_canada.htm");
addOption("First-Select", "Ireland", "feedback_ireland.htm");
addList("First-Select", "New Zealand", "", "new_zealand");
addOption("First-Select", "United Kingdom", "feedback_uk.htm");
addOption("First-Select", "United States", "feedback_usa.htm");
addOption("First-Select", "Other", "feedback_general.htm");

addOption("australia", "Select a Region", "", 1); //HEADER OPTION
addOption("australia", "New South Wales", "feedback_nsw.htm");
addOption("australia", "Victoria", "feedback_vic.htm");
addOption("australia", "Queensland", "feedback_qnslnd.htm"); 
addOption("australia", "South Australia", "feedback_sa.htm");
addOption("australia", "Western Australia", "feedback_wa.htm");
addOption("australia", "Tasmania", "feedback_tasmania.htm");//END OF THIS NODE

addOption("new_zealand", "Select a Region", "", 1); //HEADER OPTION
addOption("new_zealand", "Whangarei", "feedback_whangarei.htm");
addOption("new_zealand", "Auckland", "feedback_auckland.htm");
addOption("new_zealand", "Tauranga", "feedback_tauranga.htm");
addOption("new_zealand", "Hamilton", "feedback_hamilton.htm");
addOption("new_zealand", "Rotorua", "feedback_rotorua.htm");
addOption("new_zealand", "Taupo", "feedback_taupo.htm");
addOption("new_zealand", "Napier/Hastings", "feedback_napier.htm");
addOption("new_zealand", "New Plymouth", "feedback_newplymouth.htm");
addOption("new_zealand", "Wanganui", "feedback_wanganui.htm");
addOption("new_zealand", "Palmerston North", "feedback_palmerston.htm");
addOption("new_zealand", "Wellington", "feedback_wellington.htm");
addOption("new_zealand", "Nelson", "feedback_nelson.htm");
addOption("new_zealand", "Christchurch", "feedback_chch.htm");
addOption("new_zealand", "Dunedin", "feedback_dunedin.htm");
addOption("new_zealand", "Invercargill", "feedback_invercargill.htm");
addOption("new_zealand", "Queenstown", "feedback_queenstown.htm");


addListGroup("chainedmenu2", "First-Select");

addOption("First-Select", "Select a Country", "", 1); //HEADER OPTION
addOption("First-Select", "Afghanistan", "quote_general.htm");
addOption("First-Select", "Albania", "quote_general.htm");
addOption("First-Select", "Algeria", "quote_general.htm");
addOption("First-Select", "American Samoa", "quote_general.htm");
addOption("First-Select", "Andorra", "quote_general.htm");
addOption("First-Select", "Angola", "quote_general.htm");
addOption("First-Select", "Anguilla", "quote_general.htm");
addOption("First-Select", "Antarctica", "quote_general.htm");
addOption("First-Select", "Antigua and Barbuda", "quote_general.htm");
addOption("First-Select", "Argentina", "quote_general.htm");
addOption("First-Select", "Armenia", "quote_general.htm");
addOption("First-Select", "Aruba", "quote_general.htm");
addList("First-Select", "Australia", "", "australia");
addOption("First-Select", "Austria", "quote_general.htm");
addOption("First-Select", "Azerbaijan", "quote_general.htm");
addOption("First-Select", "Bahamas", "quote_general.htm");
addOption("First-Select", "Bahrain", "quote_general.htm");
addOption("First-Select", "Bangladesh", "quote_general.htm");
addOption("First-Select", "Barbados", "quote_general.htm");
addOption("First-Select", "Belarus", "quote_general.htm");
addOption("First-Select", "Belgium", "quote_general.htm");
addOption("First-Select", "Belize", "quote_general.htm");
addOption("First-Select", "Benin", "quote_general.htm");
addOption("First-Select", "Bermuda", "quote_general.htm");
addOption("First-Select", "Bhutan", "quote_general.htm");
addOption("First-Select", "Bolivia", "quote_general.htm");
addOption("First-Select", "Bosnia and Herzegovina", "quote_general.htm");
addOption("First-Select", "Botswana", "quote_general.htm");
addOption("First-Select", "Bouvet Island", "quote_general.htm");
addOption("First-Select", "Brazil", "quote_general.htm");
addOption("First-Select", "British Indian Ocean Territory", "quote_general.htm");
addOption("First-Select", "Brunei Darussalam", "quote_general.htm");
addOption("First-Select", "Bulgaria", "quote_general.htm");
addOption("First-Select", "Burkina Faso", "quote_general.htm");
addOption("First-Select", "Burundi", "quote_general.htm");
addOption("First-Select", "Cambodia", "quote_general.htm");
addOption("First-Select", "Cameroon", "quote_general.htm");
addOption("First-Select", "Canada", "quote_general.htm");
addOption("First-Select", "Cape Verde", "quote_general.htm");
addOption("First-Select", "Cayman Islands", "quote_general.htm");
addOption("First-Select", "Central African Republic", "quote_general.htm");
addOption("First-Select", "Chad", "quote_general.htm");
addOption("First-Select", "Chile", "quote_general.htm");
addOption("First-Select", "China", "quote_general.htm");
addOption("First-Select", "Christmas Island", "quote_general.htm");
addOption("First-Select", "Cocos Islands", "quote_general.htm");
addOption("First-Select", "Colombia", "quote_general.htm");
addOption("First-Select", "Comoros", "quote_general.htm");
addOption("First-Select", "Congo", "quote_general.htm");
addOption("First-Select", "Congo, Democratic Republic of the", "quote_general.htm");
addOption("First-Select", "Cook Islands", "quote_general.htm");
addOption("First-Select", "Costa Rica", "quote_general.htm");
addOption("First-Select", "Cote d'Ivoire", "quote_general.htm");
addOption("First-Select", "Croatia", "quote_general.htm");
addOption("First-Select", "Cuba", "quote_general.htm");
addOption("First-Select", "Cyprus", "quote_general.htm");
addOption("First-Select", "Czech Republic", "quote_general.htm");
addOption("First-Select", "Denmark", "quote_general.htm");
addOption("First-Select", "Djibouti", "quote_general.htm");
addOption("First-Select", "Dominica", "quote_general.htm");
addOption("First-Select", "Dominican Republic", "quote_general.htm");
addOption("First-Select", "Ecuador", "quote_general.htm");
addOption("First-Select", "Egypt", "quote_general.htm");
addOption("First-Select", "El Salvador", "quote_general.htm");
addOption("First-Select", "Equatorial Guinea", "quote_general.htm");
addOption("First-Select", "Eritrea", "quote_general.htm");
addOption("First-Select", "Ethiopia", "quote_general.htm");
addOption("First-Select", "Falkland Islands", "quote_general.htm");
addOption("First-Select", "Faroe Islands", "quote_general.htm");
addOption("First-Select", "Fiji", "quote_general.htm");
addOption("First-Select", "Finland", "quote_general.htm");
addOption("First-Select", "France", "quote_general.htm");
addOption("First-Select", "French Guiana", "quote_general.htm");
addOption("First-Select", "French Polynesia", "quote_general.htm");
addOption("First-Select", "Gabon", "quote_general.htm");
addOption("First-Select", "Gambia", "quote_general.htm");
addOption("First-Select", "Georgia", "quote_general.htm");
addOption("First-Select", "Germany", "quote_general.htm");
addOption("First-Select", "Ghana", "quote_general.htm");
addOption("First-Select", "Gibraltar", "quote_general.htm");
addOption("First-Select", "Greece", "quote_general.htm");
addOption("First-Select", "Greenland", "quote_general.htm");
addOption("First-Select", "Grenada", "quote_general.htm");
addOption("First-Select", "Guadeloupe", "quote_general.htm");
addOption("First-Select", "Guam", "quote_general.htm");
addOption("First-Select", "Guatemala", "quote_general.htm");
addOption("First-Select", "Guinea", "quote_general.htm");
addOption("First-Select", "Guinea-Bissau", "quote_general.htm");
addOption("First-Select", "Guyana", "quote_general.htm");
addOption("First-Select", "Haiti", "quote_general.htm");
addOption("First-Select", "Heard Island and McDonald Islands", "quote_general.htm");
addOption("First-Select", "Honduras", "quote_general.htm");
addOption("First-Select", "Hong Kong", "quote_general.htm");
addOption("First-Select", "Hungary", "quote_general.htm");
addOption("First-Select", "Iceland", "quote_general.htm");
addOption("First-Select", "India", "quote_general.htm");
addOption("First-Select", "Indonesia", "quote_general.htm");
addOption("First-Select", "Iran", "quote_general.htm");
addOption("First-Select", "Iraq", "quote_general.htm");
addOption("First-Select", "Ireland", "quote_general.htm");
addOption("First-Select", "Israel", "quote_general.htm");
addOption("First-Select", "Italy", "quote_general.htm");
addOption("First-Select", "Jamaica", "quote_general.htm");
addOption("First-Select", "Japan", "quote_general.htm");
addOption("First-Select", "Jordan", "quote_general.htm");
addOption("First-Select", "Kazakhstan", "quote_general.htm");
addOption("First-Select", "Kenya", "quote_general.htm");
addOption("First-Select", "Kiribati", "quote_general.htm");
addOption("First-Select", "Kuwait", "quote_general.htm");
addOption("First-Select", "Kyrgyzstan", "quote_general.htm");
addOption("First-Select", "Laos", "quote_general.htm");
addOption("First-Select", "Latvia", "quote_general.htm");
addOption("First-Select", "Lebanon", "quote_general.htm");
addOption("First-Select", "Lesotho", "quote_general.htm");
addOption("First-Select", "Liberia", "quote_general.htm");
addOption("First-Select", "Libya", "quote_general.htm");
addOption("First-Select", "Liechtenstein", "quote_general.htm");
addOption("First-Select", "Lithuania", "quote_general.htm");
addOption("First-Select", "Luxembourg", "quote_general.htm");
addOption("First-Select", "Macao", "quote_general.htm");
addOption("First-Select", "Macedonia", "quote_general.htm");
addOption("First-Select", "Madagascar", "quote_general.htm");
addOption("First-Select", "Malawi", "quote_general.htm");
addOption("First-Select", "Malaysia", "quote_general.htm");
addOption("First-Select", "Maldives", "quote_general.htm");
addOption("First-Select", "Mali", "quote_general.htm");
addOption("First-Select", "Malta", "quote_general.htm");
addOption("First-Select", "Marshall Islands", "quote_general.htm");
addOption("First-Select", "Martinique", "quote_general.htm");
addOption("First-Select", "Mauritania", "quote_general.htm");
addOption("First-Select", "Mauritius", "quote_general.htm");
addOption("First-Select", "Mayotte", "quote_general.htm");
addOption("First-Select", "Mexico", "quote_general.htm");
addOption("First-Select", "Micronesia", "quote_general.htm");
addOption("First-Select", "Moldova", "quote_general.htm");
addOption("First-Select", "Monaco", "quote_general.htm");
addOption("First-Select", "Mongolia", "quote_general.htm");
addOption("First-Select", "Montserrat", "quote_general.htm");
addOption("First-Select", "Morocco", "quote_general.htm");
addOption("First-Select", "Mozambique", "quote_general.htm");
addOption("First-Select", "Myanmar", "quote_general.htm");
addOption("First-Select", "Namibia", "quote_general.htm");
addOption("First-Select", "Nauru", "quote_general.htm");
addOption("First-Select", "Nepal", "quote_general.htm");
addOption("First-Select", "Netherlands", "quote_general.htm");
addOption("First-Select", "Netherlands Antilles", "quote_general.htm");
addOption("First-Select", "New Caledonia", "quote_general.htm");
addList("First-Select", "New Zealand", "", "new_zealand");
addOption("First-Select", "Nicaragua", "quote_general.htm");
addOption("First-Select", "Niger", "quote_general.htm");
addOption("First-Select", "Nigeria", "quote_general.htm");
addOption("First-Select", "Norfolk Island", "quote_general.htm");
addOption("First-Select", "North Korea", "quote_general.htm");
addOption("First-Select", "Norway", "quote_general.htm");
addOption("First-Select", "Oman", "quote_general.htm");
addOption("First-Select", "Pakistan", "quote_general.htm");
addOption("First-Select", "Palau", "quote_general.htm");
addOption("First-Select", "Palestinian Territory", "quote_general.htm");
addOption("First-Select", "Panama", "quote_general.htm");
addOption("First-Select", "Papua New Guinea", "quote_general.htm");
addOption("First-Select", "Paraguay", "quote_general.htm");
addOption("First-Select", "Peru", "quote_general.htm");
addOption("First-Select", "Philippines", "quote_general.htm");
addOption("First-Select", "Pitcairn", "quote_general.htm");
addOption("First-Select", "Poland", "quote_general.htm");
addOption("First-Select", "Portugal", "quote_general.htm");
addOption("First-Select", "Puerto Rico", "quote_general.htm");
addOption("First-Select", "Qatar", "quote_general.htm");
addOption("First-Select", "Romania", "quote_general.htm");
addOption("First-Select", "Russian Federation", "quote_general.htm");
addOption("First-Select", "Rwanda", "quote_general.htm");
addOption("First-Select", "Saint Helena", "quote_general.htm");
addOption("First-Select", "Saint Kitts and Nevis", "quote_general.htm");
addOption("First-Select", "Saint Lucia", "quote_general.htm");
addOption("First-Select", "Saint Pierre and Miquelon", "quote_general.htm");
addOption("First-Select", "Saint Vincent and the Grenadines", "quote_general.htm");
addOption("First-Select", "amoa", "quote_general.htm");
addOption("First-Select", "San Marino", "quote_general.htm");
addOption("First-Select", "Sao Tome and Principe", "quote_general.htm");
addOption("First-Select", "Saudi Arabia", "quote_general.htm");
addOption("First-Select", "Senegal", "quote_general.htm");
addOption("First-Select", "Serbia and Montenegro", "quote_general.htm");
addOption("First-Select", "Seychelles", "quote_general.htm");
addOption("First-Select", "Sierra Leone", "quote_general.htm");
addOption("First-Select", "Singapore", "quote_general.htm");
addOption("First-Select", "Slovakia", "quote_general.htm");
addOption("First-Select", "Slovenia", "quote_general.htm");
addOption("First-Select", "Solomon Islands", "quote_general.htm");
addOption("First-Select", "Somalia", "quote_general.htm");
addOption("First-Select", "South Africa", "quote_general.htm");
addOption("First-Select", "South Georgia", "quote_general.htm");
addOption("First-Select", "South Korea", "quote_general.htm");
addOption("First-Select", "Spain", "quote_general.htm");
addOption("First-Select", "Sri Lanka", "quote_general.htm");
addOption("First-Select", "Sudan", "quote_general.htm");
addOption("First-Select", "Suriname", "quote_general.htm");
addOption("First-Select", "Svalbard and Jan Mayen", "quote_general.htm");
addOption("First-Select", "Swaziland", "quote_general.htm");
addOption("First-Select", "Sweden", "quote_general.htm");
addOption("First-Select", "Switzerland", "quote_general.htm");
addOption("First-Select", "Syrian Arab Republic", "quote_general.htm");
addOption("First-Select", "Taiwan", "quote_general.htm");
addOption("First-Select", "Tajikistan", "quote_general.htm");
addOption("First-Select", "Tanzania", "quote_general.htm");
addOption("First-Select", "Thailand", "quote_general.htm");
addOption("First-Select", "Timor-Leste", "quote_general.htm");
addOption("First-Select", "Togo", "quote_general.htm");
addOption("First-Select", "Tokelau", "quote_general.htm");
addOption("First-Select", "Tonga", "quote_general.htm");
addOption("First-Select", "Trinidad and Tobago", "quote_general.htm");
addOption("First-Select", "Tunisia", "quote_general.htm");
addOption("First-Select", "Turkey", "quote_general.htm");
addOption("First-Select", "Turkmenistan", "quote_general.htm");
addOption("First-Select", "Tuvalu", "quote_general.htm");
addOption("First-Select", "Uganda", "quote_general.htm");
addOption("First-Select", "Ukraine", "quote_general.htm");
addOption("First-Select", "United Arab Emirates", "quote_general.htm");
addOption("First-Select", "United Kingdom", "quote_general.htm");
addOption("First-Select", "United States", "quote_general.htm");
addOption("First-Select", "United States Minor Outlying Islands", "quote_general.htm");
addOption("First-Select", "Uruguay", "quote_general.htm");
addOption("First-Select", "Uzbekistan", "quote_general.htm");
addOption("First-Select", "Vanuatu", "quote_general.htm");
addOption("First-Select", "Vatican City", "quote_general.htm");
addOption("First-Select", "Venezuela", "quote_general.htm");
addOption("First-Select", "Vietnam", "quote_general.htm");
addOption("First-Select", "Virgin Islands, British", "quote_general.htm");
addOption("First-Select", "Virgin Islands, U.S.", "quote_general.htm");
addOption("First-Select", "Wallis and Futuna", "quote_general.htm");
addOption("First-Select", "Western Sahara", "quote_general.htm");
addOption("First-Select", "Yemen", "quote_general.htm");
addOption("First-Select", "Zambia", "quote_general.htm");
addOption("First-Select", "Zimbabwe", "quote_general.htm");

addOption("australia", "Select a Region", "", 1); //HEADER OPTION
addOption("australia", "New South Wales", "quote_nsw.htm");
addOption("australia", "Victoria", "quote_vic.htm");
addOption("australia", "Queensland", "quote_qnslnd.htm"); 
addOption("australia", "South Australia", "quote_sa.htm");
addOption("australia", "Western Australia", "quote_wa.htm");
addOption("australia", "Tasmania", "quote_general.htm");//END OF THIS NODE

addOption("new_zealand", "Select a Region", "", 1); //HEADER OPTION
addOption("new_zealand", "Whangarei", "quote_whangarei.htm");
addOption("new_zealand", "Auckland", "quote_auckland.htm");
addOption("new_zealand", "Tauranga", "quote_tauranga.htm");
addOption("new_zealand", "Hamilton", "quote_hamilton.htm");
addOption("new_zealand", "Rotorua", "quote_rotorua.htm");
addOption("new_zealand", "Taupo", "quote_taupo.htm");
addOption("new_zealand", "Napier/Hastings", "quote_napier.htm");
addOption("new_zealand", "New Plymouth", "quote_newplymouth.htm");
addOption("new_zealand", "Wanganui", "quote_wanganui.htm");
addOption("new_zealand", "Palmerston North", "quote_palmerston.htm");
addOption("new_zealand", "Wellington", "quote_wellington.htm");
addOption("new_zealand", "Nelson", "quote_nelson.htm");
addOption("new_zealand", "Christchurch", "quote_chch.htm");
addOption("new_zealand", "Dunedin", "quote_dunedin.htm");
addOption("new_zealand", "Invercargill", "quote_invercargill.htm");
addOption("new_zealand", "Queenstown", "quote_queenstown.htm");