function GetListCount() { var oListBox = document.getElementById("ListBoxReminderTimes") return oListBox.items.Count }