//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 addListGroup("location_id", "location_ids"); addOption("location_ids", "Select a studio...", "", "", 1); //Empty starter option addList("location_ids", "Causeway Bay", 4, "weeks_4"); addList("location_ids", "Central", 3, "weeks_3"); addList("location_ids", "Langham Place", 9, "weeks_9"); addList("location_ids", "TaiKoo Place", 12, "weeks_12"); addList("location_ids", "Tsim Sha Tsui", 5, "weeks_5"); addList("location_ids", "Ngee Ann City", 6, "weeks_6"); addList("location_ids", "Pure Tower", 8, "weeks_8"); addList("location_ids", "Raffles Place", 11, "weeks_11"); addList("weeks_4", "8 March 2010", "2010-03-08"); addList("weeks_4", "15 March 2010", "2010-03-15"); addList("weeks_3", "8 March 2010", "2010-03-08"); addList("weeks_3", "15 March 2010", "2010-03-15"); addList("weeks_9", "8 March 2010", "2010-03-08"); addList("weeks_9", "15 March 2010", "2010-03-15"); addList("weeks_12", "8 March 2010", "2010-03-08"); addList("weeks_12", "15 March 2010", "2010-03-15"); addList("weeks_5", "8 March 2010", "2010-03-08"); addList("weeks_5", "15 March 2010", "2010-03-15"); addList("weeks_6", "8 March 2010", "2010-03-08"); addList("weeks_6", "15 March 2010", "2010-03-15"); addList("weeks_8", "8 March 2010", "2010-03-08"); addList("weeks_8", "15 March 2010", "2010-03-15"); addList("weeks_11", "8 March 2010", "2010-03-08"); addList("weeks_11", "15 March 2010", "2010-03-15");