args.item = window.calendarItem; 
function editAttendees(){  var savedWindow = window;  var calendar = document.getElementById("item-calendar").selectedItem.calendar;    var callback = function(attendees,organizer,startTime,endTime) {    savedWindow.attendees = attendees;    savedWindow.organizer = organizer;    var duration = endTime.subtractDate(startTime);    startTime = startTime.clone();    endTime = endTime.clone();    endTime.normalize();    startTime.normalize();    var kDefaultTimezone = calendarDefaultTimezone();    gStartTimezone = startTime.timezone;    gEndTimezone = endTime.timezone;    gStartTime = startTime.getInTimezone(kDefaultTimezone);    gEndTime = endTime.getInTimezone(kDefaultTimezone);    gItemDuration = duration;    updateAttendees();    updateDateTime();  };  var startTime = gStartTime.getInTimezone(gStartTimezone);  var endTime = gEndTime.getInTimezone(gEndTimezone);  var isAllDay = getElementValue("event-all-day", "checked");  if (isAllDay) {    startTime.isDate = true;    startTime.normalize();    endTime.isDate = true;    endTime.day += 1;    endTime.normalize();  } 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;  args.calendar = calendar;  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);}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/1a240a4cb2ccad8965aa17a000d98f60ed7a1fef/sun-calendar-event-dialog.js/clean/calendar/prototypes/wcap/sun-calendar-event-dialog.js