rem: var menuItem = document.getElementById('menu-options-timezone'); 
add: var menuItem = document.getElementById('options-timezone-menuitem'); 
context: function editAttendees() {    var savedWindow = window;    var calendar = document.getElementById("item-calendar")                           .selectedItem.calendar;    var callback = function(attendees, organizer, startTime, endTime) {        savedWindow.attendees = attendees;        if (organizer) {            // In case we didn't have an organizer object before we            // added attendees to our event we take the one created            // by the 'invite attendee'-dialog.            if (!savedWindow.organizer) {                savedWindow.organizer = organizer.clone();            }            // The other case is that we already had an organizer object            // before we went throught the 'invite attendee'-dialog. In that            // case make sure we don't carry over attributes that have been            // set to their default values by the dialog but don't actually            // exist in the original organizer object.            if (!savedWindow.organizer.id) {                organizer.id = null;            }            if (!savedWindow.organizer.role) {                organizer.role = null;            }            if (!savedWindow.organizer.participationStatus) {                organizer.participationStatus = null;            }            if (!savedWindow.organizer.commonName) {                organizer.commonName = null;            }            savedWindow.organizer = organizer;        }        var duration = endTime.subtractDate(startTime);        startTime = startTime.clone();        endTime = endTime.clone();        var kDefaultTimezone = calendarDefaultTimezone();        gStartTimezone = startTime.timezone;        gEndTimezone = endTime.timezone;        gStartTime = startTime.getInTimezone(kDefaultTimezone);        gEndTime = endTime.getInTimezone(kDefaultTimezone);        gItemDuration = duration;        updateAttendees();        updateDateTime();        if (isAllDay != gStartTime.isDate){            setShowTimeAs(gStartTime.isDate)        }    };    var startTime = gStartTime.getInTimezone(gStartTimezone);    var endTime = gEndTime.getInTimezone(gEndTimezone);    var isAllDay = getElementValue("event-all-day", "checked");    if (isAllDay) {        startTime.isDate = true;        endTime.isDate = true;        endTime.day += 1;    } else {        startTime.isDate = false;        endTime.isDate = false;    }    var menuItem = document.getElementById('menu-options-timezone');    var displayTimezone = menuItem.getAttribute('checked') == 'true';    var args = new Object();    args.startTime = startTime;    args.endTime = endTime;    args.displayTimezone = displayTimezone;    args.attendees = window.attendees;    args.organizer = window.organizer && window.organizer.clone();    args.calendar = calendar;    args.item = window.calendarItem;    args.onOk = callback;    args.fbWrapper = window.fbWrapper;    // open the dialog modally    openDialog(        "chrome://calendar/content/sun-calendar-event-dialog-attendees.xul",        "_blank",        "chrome,titlebar,modal,resizable",        args);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/4460dd354b16dd97a7194df73ce288b0c71ba919/sun-calendar-event-dialog.js/clean/calendar/prototypes/wcap/sun-calendar-event-dialog.js