//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 state", "", 1); //HEADER OPTION FOR ALL STATES
addList("First-Select", "Australian Capital Territory", "http://www.ezipark.com/parkingwithus/new_south_wales_act.html", "ACT");
addList("First-Select", "New South Wales", "http://www.ezipark.com/parkingwithus/new_south_wales_act.html", "NSW");
addList("First-Select", "Northern Territory", "http://www.ezipark.com/parkingwithus/northern_territory.html", "NT");
addList("First-Select", "Queensland", "http:/www.ezipark.com/parkingwithus/queensland.html", "QLD");
addList("First-Select", "South Australia", "http://www.ezipark.com/parkingwithus/south_australia.html", "SA");
addList("First-Select", "Tasmania", "http://www.ezipark.com/parkingwithus/tasmania.html", "TAS");
addList("First-Select", "Victoria", "http://www.ezipark.com/parkingwithus/victoria.html", "VIC");
addList("First-Select", "Western Australia", "http://www.ezipark.com/parkingwithus/western_australia.html", "WA");
addList("First-Select", "New Zealand", "http://www.ezipark.com/parkingwithus/new_zealand.html", "NZ");

addOption("ACT", "Select a suburb", "", 1); // STATE: ACT
addList("ACT", "Barton", "http://www.ezipark.com/parkingwithus/act/barton.html", "ACT-Barton");
addList("ACT", "Woden", "http://www.ezipark.com/parkingwithus/act/woden.html", "ACT-Woden");

addOption("QLD", "Select a suburb", "", 1); // STATE: ACT
addList("QLD", "Rockhampton", "http://www.ezipark.com/parkingwithus/qld/rockhampton.html", "QLD-Rockhampton");

addOption("QLD-Rockhampton", "Select a car park", "", 1); //SUBURB: QLD-Rockhampton
addList("QLD-Rockhampton", "Rockhampton Airport", "http://www.ezipark.com/parkingwithus/qld/rockhampton/rockhampton_airport.html");

addOption("NSW", "Select a suburb", "", 1); // STATE: NEW SOUTH WALES
addList("NSW", "Chatswood", "http://www.ezipark.com/parkingwithus/nsw/chatswood.html", "NSW-Chatswood");
addList("NSW", "Macquarie Park", "http://www.ezipark.com/parkingwithus/nsw/macquarie_park.html", "NSW-Macquarie Park");
addList("NSW", "Northern Beaches", "http://www.ezipark.com/parkingwithus/nsw/northern_beaches.html", "NSW-North-Beach");
addList("NSW", "Randwick", "http://www.ezipark.com/parkingwithus/nsw/randwick.html", "NSW-Randwick");
addList("NSW", "Sydney", "http://www.ezipark.com/parkingwithus/nsw/sydney.html", "NSW-Sydney");

addOption("ACT-Barton", "Select a street", "", 1); //SUBURB: ACT-BARTON
addList("ACT-Barton", "Barton", "http://www.ezipark.com/parkingwithus/act/barton/barton.html");

addOption("ACT-Woden", "Select a street", "", 1); //SUBURB: ACT-WODEN
addList("ACT-Woden", "Woden Green", "http://www.ezipark.com/parkingwithus/act/woden/woden_green.html");

addOption("NSW-Sydney", "Select a street", "", 1); //SUBURB: SYDNEY
addList("NSW-Sydney", "Pitt Street", "http://www.ezipark.com/parkingwithus/nsw/sydney/pitt_street.html");

addOption("NSW-Randwick", "Select a street", "", 1); //SUBURB: RANDWICK
addList("NSW-Randwick", "The Spot", "http://www.ezipark.com/parkingwithus/nsw/randwick/the_spot.html");
addList("NSW-Randwick", "Royal Randwick", "http://www.ezipark.com/parkingwithus/nsw/randwick/royal_randwick.html");

addOption("NSW-Macquarie Park", "Select a street", "", 1); //SUBURB: MACQUARIE PARK
addList("NSW-Macquarie Park", "Macquarie Centre", "http://www.ezipark.com/parkingwithus/nsw/macquarie_park/macquarie_centre.html");

addOption("NSW-North-Beach", "Select a street", "", 1); //SUBURB: NOTHERN BEACHES
addList("NSW-North-Beach", "Balgowlah", "http://www.ezipark.com/parkingwithus/nsw/nth_beaches/balgowlah.html");
addList("NSW-North-Beach", "Cammeray", "http://www.ezipark.com/parkingwithus/nsw/nth_beaches/cammeray.html");

addOption("NSW-Chatswood", "Select a street", "", 1); //SUBURB: CHATSWOOD
addList("NSW-Chatswood", "Zenith Centre", "http://www.ezipark.com/parkingwithus/nsw/chatswood/zenith_centre.html");


addOption("SA", "Select a suburb", "", 1); // STATE: SOUTH AUSTRALIA
addList("SA", "Adelaide", "http://www.ezipark.com/parkingwithus/sa/adelaide.html", "SA-Adelaide");
addList("SA", "Ashford", "http://www.ezipark.com/parkingwithus/sa/ashford.html", "SA-Ashford");
addList("SA", "Glenelg", "http://www.ezipark.com/parkingwithus/sa/glenelg.html", "SA-Glenelg");
addList("SA", "Modbury", "http://www.ezipark.com/parkingwithus/sa/modbury.html", "SA-Modbury");
addList("SA", "Noarlunga", "http://www.ezipark.com/parkingwithus/sa/noarlunga.html", "SA-Noarlunga");

addOption("SA-Adelaide", "Select a street", "", 1); //SUBURB: ADELAIDE
addList("SA-Adelaide", "Bent Street", "http://www.ezipark.com/parkingwithus/sa/adelaide/bent_street.html");
addList("SA-Adelaide", "CBC", "http://www.ezipark.com/parkingwithus/sa/adelaide/cbc.html");
addList("SA-Adelaide", "Flinderslink", "http://www.ezipark.com/parkingwithus/sa/adelaide/flinderslink.html");
addList("SA-Adelaide", "Frome Street", "http://www.ezipark.com/parkingwithus/sa/adelaide/frome_street.html");
addList("SA-Adelaide", "Royal Adelaide Hospital", "http://www.ezipark.com/parkingwithus/sa/adelaide/royal_adelaide_hospital.html");
addList("SA-Adelaide", "Union Street", "http://www.ezipark.com/parkingwithus/sa/adelaide/union_street.html");

addOption("SA-Ashford", "Select a street", "", 1);
addList("SA-Ashford", "Ashford Hospital", "http://www.ezipark.com/parkingwithus/sa/ashford/ashford_hospital.html");

addOption("SA-Glenelg", "Select a street", "", 1);
addList("SA-Glenelg", "Beachouse", "http://www.ezipark.com/parkingwithus/sa/glenelg/beachouse.html");
addList("SA-Glenelg", "Marina", "http://www.ezipark.com/parkingwithus/sa/glenelg/marina.html");

addOption("SA-Modbury", "Select a street", "", 1);
addList("SA-Modbury", "Modbury", "http://www.ezipark.com/parkingwithus/sa/modbury/modbury.html");

addOption("SA-Noarlunga", "Select a street", "", 1);
addList("SA-Noarlunga", "Noarlunga", "http://www.ezipark.com/parkingwithus/sa/noarlunga/noarlunga.html");