context: function updateTitle(){    // XXX make this use string bundles    var isNew = window.calendarItem.isMutable;    if (isEvent(window.calendarItem)) {        if (isNew)            document.title = "New Event";        else            document.title = "Edit Event";    } else if (isToDo(window.calendarItem)) {        if (isNew)            document.title = "New Task";        else            document.title = "Edit Task";            }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/39272c93714b51d2f102a2446d3e51875f049591/calendar-event-dialog.js/buggy/calendar/base/content/calendar-event-dialog.js