add: checkSelectedException(); 
context: function removeSelectedException(){    var exceptionList = document.getElementById("recurrence-exceptions-listbox");    var item = exceptionList.selectedItem;    var addedRecently = false;    for (var ii in window.addedExceptions) {        if (window.addedExceptions[ii].compare(item.date) == 0) {            window.addedExceptions.splice(ii, 1);            addedRecently = true;            break;        }    }    if (!addedRecently) {        window.removedExceptions.push(item.date);    }    exceptionList.removeItemAt(exceptionList.getIndexOfItem(item));}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/34bbdb243e728093a9d0cd8d950ea7959961d0ec/calendar-recurrence-dialog.js/buggy/calendar/base/content/calendar-recurrence-dialog.js