add: var Id = getArrayId( Event )  gAllEvents.splice( Id, 1 );  
context: function snoozeAlarm( Event ){   var OuterBox = document.getElementById( Event.id );      var SnoozeInteger = OuterBox.getElementsByAttribute( "name", "alarm-length-field" )[0].value;   SnoozeInteger = parseInt( SnoozeInteger );   var SnoozeUnits = document.getElementsByAttribute( "name", "alarm-length-units" )[0].value;   var Now = new Date();   Now = Now.getTime();   var TimeToNextAlarm;      switch (SnoozeUnits )   {      case "minutes":         TimeToNextAlarm = 1000 * 60 * SnoozeInteger;         break;      case "hours":         TimeToNextAlarm = 1000 * 60 * 60 * SnoozeInteger;         break;      case "days":         TimeToNextAlarm = 1000 * 60 * 60 * 24 * SnoozeInteger;         break;   }      var MSOfNextAlarm = Now + TimeToNextAlarm; //10 seconds.      var DateObjOfNextAlarm = new Date( MSOfNextAlarm );      Event.setSnoozeTime( DateObjOfNextAlarm );      var calendarEventService = opener.gEventSource;      gICalLib = calendarEventService.getICalLib();   gICalLib.modifyEvent( Event );   buildEventBoxes();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/594528f2496c802ef9846819111800a7efcb353e/alertDialog.js/clean/calendar/resources/content/alertDialog.js