add: var regionSelectorElement = document.getElementById("tzRegionSelect"); dojo.event.connect(regionSelectorElement, "onchange", this.handleRegionChanged);   
context:     this.setEventListeners = function() {        var inputs = document.getElementsByTagName('input');        var descrTxt = document.getElementById('eventdescr');        var allDayCheck = document.getElementById('eventallday');        var form = Cal.calForm.form;        // Add dummy function event listener so form doesn't        // submit on Enter keypress in Safari        form.onsubmit = function() { return false; };        // Cal selector        if (form.calSelectElem) {            form.calSelectElem.onchange = function() {                f = Cal.goSelCal; Cal.showMaskDelayNav(f); };        }        // All text inputs        for (var i=0; i < inputs.length; i++) {            if (inputs[i].className == 'inputText') {                inputs[i].onfocus = function() { Cal.calForm.detailTextInputHasFocus = true; };                inputs[i].onblur = function() { Cal.calForm.detailTextInputHasFocus = false; };            }        }        // Recurrence        form.recurrence.onchange = Cal.calForm.setRecurEnd;        form.recurend.onclick = Cal.calForm.emptyTextInput;        // Description textarea        descrTxt.onfocus = function() {            Cal.calForm.detailTextInputHasFocus = true;            Cal.calForm.textAreaHasFocus = true;        };        descrTxt.onblur = function() {            Cal.calForm.detailTextInputHasFocus = false;            Cal.calForm.textAreaHasFocus = false;        };        // All-day event / normal event toggling        allDayCheck.onclick = function() { Cal.calForm.toggleBlockType() };        descrTxt = null; // Set DOM-node-ref to null to avoid IE memleak    };
meta: 1859	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1859/c3e5e6f1f8e78ed449ab7d6f3129600d666325a8/cal_form.js/buggy/src/webapp/js/cosmo/ui/cal_form.js