rem: hideElement("alarm-length-field"); hideElement("alarm-length-units"); hideElement("alarm-box-email"); 
add: disableElement("alarm-length-field"); disableElement("alarm-length-units"); disableElement("alarm-email-field-label"); disableElement("alarm-email-field"); 
context: function processAlarmType(){    var alarmMenu = document.getElementById("alarm-type");    if( alarmMenu.selectedItem ) {        debug("processAlarmType: " + alarmMenu.selectedItem.value );        switch( alarmMenu.selectedItem.value ) {        case "none":            hideElement("alarm-length-field");            hideElement("alarm-length-units");            hideElement("alarm-box-email");            break;        //case "popupAndSound":        case "popup":            showElement("alarm-length-field");            showElement("alarm-length-units");            hideElement("alarm-box-email");            break;        case "email":            showElement("alarm-length-field");            showElement("alarm-length-units");            showElement("alarm-box-email");            break;        }        // Make the window big enough for all the fields and widgets        window.sizeToContent();    } else        dump("processAlarmType: no alarmMenu.selectedItem!\n");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6fddcdd59677883e5ab1fea72f354baca52b0ac1/eventDialog.js/clean/calendar/resources/content/eventDialog.js