rem:  duration.minutes = 5; 
add: duration.minutes = event.detail; duration.normalize(); 
context: function onSnoozeAlarm(event){  // i hate xbl..  var alarmWidget = event.target;  var alarmService = Components.classes["@mozilla.org/calendar/alarm-service;1"].getService(Components.interfaces.calIAlarmService);    var duration = Components.classes["@mozilla.org/calendar/duration;1"]                 .createInstance(Components.interfaces.calIDuration);  //XXX figure out a nice UI way to offer other length options  duration.minutes = 5;  alarmService.snoozeEvent(alarmWidget.item, duration);  var parent = alarmWidget.parentNode;  parent.removeChild(alarmWidget);  if (!parent.hasChildNodes()) {    // If this was the last alarm, close the window.    window.close();  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7f4c0bd7828bdc701a79838ace6546bbe8786364/calendar-alarm-dialog.js/clean/calendar/base/content/calendar-alarm-dialog.js