rem: gEndTime = gEndTime.getInTimezone(datetime.timezone); 
add: gEndTimezone = datetime.timezone; 
context: function editStartTimezone(){  var tzStart = document.getElementById("timezone-starttime");  if(tzStart.hasAttribute("disabled"))    return;  var args = new Object();  args.time = gStartTime;  args.onOk = function(datetime) {    var equalTimezones = false;    if(gStartTime && gEndTime) {      if(gStartTime.timezone == gEndTime.timezone) {        equalTimezones = true;      }    }    gStartTime = datetime;    if(equalTimezones)      gEndTime = gEndTime.getInTimezone(datetime.timezone);    updateDateTime();  };  // open the dialog modally  openDialog("chrome://calendar/content/sun-calendar-event-dialog-timezone.xul", "_blank", "chrome,titlebar,modal,resizable", args);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e88c5e5790ad7e031eea31fbbc337d708405a073/sun-calendar-event-dialog.js/buggy/calendar/prototypes/wcap/sun-calendar-event-dialog.js