rem: if (relevant) ORBEON.util.Dom.removeClass(element, "xforms-disabled") 
add: if (relevant) ORBEON.util.Dom.removeClass(element, "xforms-disabled"); 
context: function xformsUpdateStyleRelevantReadonly(element, relevant, readonly, required, valid) {    if (xformsIsDefined(relevant)) {        if (relevant) ORBEON.util.Dom.removeClass(element, "xforms-disabled")        else ORBEON.util.Dom.addClass(element, "xforms-disabled");    }    if (xformsIsDefined(readonly)) {        if (ORBEON.util.Dom.hasClass(element, "xforms-input")) {            // XForms input            // Display value            var displayValue = element.firstChild;            while (displayValue.nodeType != ELEMENT_TYPE) displayValue = displayValue.nextSibling;            if (readonly) ORBEON.util.Dom.addClass(displayValue, "xforms-readonly");            else ORBEON.util.Dom.removeClass(displayValue, "xforms-readonly");            // Text field            var textField = displayValue.nextSibling;            while (textField.nodeType != ELEMENT_TYPE) textField = textField.nextSibling;            if (readonly) textField.setAttribute("disabled", "disabled");            else textField.removeAttribute("disabled");            // Calendar picker            var showCalendar = textField.nextSibling;            while (showCalendar.nodeType != ELEMENT_TYPE) showCalendar = showCalendar.nextSibling;            if (readonly) ORBEON.util.Dom.addClass(showCalendar, "xforms-showcalendar-readonly");            else ORBEON.util.Dom.removeClass(showCalendar, "xforms-showcalendar-readonly");        } else if (ORBEON.util.Dom.hasClass(element, "xforms-output") || ORBEON.util.Dom.hasClass(element, "xforms-group")) {            // XForms output and group            if (readonly) ORBEON.util.Dom.addClass(element, "xforms-readonly");            else ORBEON.util.Dom.removeClass(element, "xforms-readonly");        } else if (ORBEON.util.Dom.hasClass(element, "xforms-select1-full") || ORBEON.util.Dom.hasClass(element, "xforms-select-full")) {            // XForms radio buttons            for (var spanIndex = 0; spanIndex < element.childNodes.length; spanIndex++) {                var span = element.childNodes[spanIndex];                var input = span.firstChild;                xformsUpdateReadonlyFormElement(input, readonly);            }        } else {            // Other controls            xformsUpdateReadonlyFormElement(element, readonly);        }    }    if (xformsIsDefined(required)) {        var classes = element.className.split(" ");        if (required) {            ORBEON.util.Dom.addClass(element, "xforms-required");            if (element.value == "") {                ORBEON.util.Dom.addClass(element, "xforms-required-empty");                ORBEON.util.Dom.removeClass(element, "xforms-required-filled");            } else {                ORBEON.util.Dom.addClass(element, "xforms-required-filled");                ORBEON.util.Dom.removeClass(element, "xforms-required-empty");            }        } else {            ORBEON.util.Dom.removeClass(element, "xforms-required");            ORBEON.util.Dom.removeClass(element, "xforms-required-filled");            ORBEON.util.Dom.removeClass(element, "xforms-required-empty");        }    }    if (xformsIsDefined(valid)) {        if (valid) ORBEON.util.Dom.removeClass(element, "xforms-invalid")        else ORBEON.util.Dom.addClass(element, "xforms-invalid");    }}
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7801/c54876604b4e6e85f4e26367534e5e46bf67fc78/xforms-style.js/clean/src/examples/web/config/theme/javascript/xforms-style.js