rem: TimeToNextAlarm = 1000 * 60 * 60 * SnoozeInteger; 
add: TimeToNextAlarm = parseInt( kDate_MillisecondsInHour * snoozeLength ); 
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 );   var Id = getArrayId( Event )   gAllEvents.splice( Id, 1 );   buildEventBoxes();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/65266c6d255d3d4b2f6726b7e838c6c7cd4ba0c5/alertDialog.js/clean/calendar/resources/content/alertDialog.js