rem:    if (allDay || gIsReadOnly) { tzStart.setAttribute("disabled", "true"); tzEnd.setAttribute("disabled", "true"); tzStart.removeAttribute("class"); tzEnd.removeAttribute("class"); } else { tzStart.removeAttribute("disabled"); tzEnd.removeAttribute("disabled"); tzStart.setAttribute("class", "text-link"); tzEnd.setAttribute("class", "text-link"); }  
context: function updateAllDay() {    if (gIgnoreUpdate) {        return;    }    if (!isEvent(window.calendarItem)) {        return;    }    var allDay = getElementValue("event-all-day", "checked");    setElementValue("event-starttime", allDay, "timepickerdisabled");    setElementValue("event-endtime", allDay, "timepickerdisabled");    var tzStart = document.getElementById("timezone-starttime");    var tzEnd = document.getElementById("timezone-endtime");    setShowTimeAs(allDay);    gStartTime.isDate = allDay;    gEndTime.isDate = allDay;    // disable the timezone links if 'allday' is checked OR the    // calendar of this item is read-only. in any other case we    // enable the links.    if (allDay || gIsReadOnly) {        tzStart.setAttribute("disabled", "true");        tzEnd.setAttribute("disabled", "true");        tzStart.removeAttribute("class");        tzEnd.removeAttribute("class");    } else {        tzStart.removeAttribute("disabled");        tzEnd.removeAttribute("disabled");        tzStart.setAttribute("class", "text-link");        tzEnd.setAttribute("class", "text-link");    }    updateDateTime();    updateRepeatDetails();    updateAccept();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/abce62b95b304e22cbb42ace8cf0660f82408135/sun-calendar-event-dialog.js/clean/calendar/prototypes/wcap/sun-calendar-event-dialog.js