rem: document.getElementById("alarm-details").setAttribute("hidden", true);  
context: function updateAlarm(){    var alarmMenu = document.getElementById("item-alarm");    var alarmItem = alarmMenu.selectedItem;    var alarmItemValue = alarmItem.getAttribute("value");    switch (alarmItemValue) {    case "custom":        /* restore old values if they're around */        setAlarmFields(alarmItem);                document.getElementById("alarm-details").removeAttribute("hidden");        break;    default:        document.getElementById("alarm-details").setAttribute("hidden", true);        var customItem = document.getElementById("alarm-custom-menuitem");        if (prevAlarmItem == customItem) {            customItem.setAttribute("length", getElementValue("alarm-length-field"));            customItem.setAttribute("unit", getElementValue("alarm-length-units"));            customItem.setAttribute("relation", getElementValue("alarm-trigger-relation"));        }        setAlarmFields(alarmItem);        break;    }    prevAlarmItem = alarmItem;    updateAccept();    this.sizeToContent();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e9549122489e5a09f5fa7909e23236cc3d8cc212/calendar-event-dialog.js/clean/calendar/base/content/calendar-event-dialog.js