rem: setElementClass: function (element, className) { /***  Set the entire class attribute of an element to className.  ***/ var self = MochiKit.DOM; var obj = self.getElement(element); if (self.attributeArray.compliant) { obj.setAttribute("class", className); } else { obj.setAttribute("className", className); } }, 
add: },setElementClass:function(_373,_374){ var self=MochiKit.DOM; var obj=self.getElement(_373); if(self.attributeArray.compliant){ obj.setAttribute("class",_374); }else{ obj.setAttribute("className",_374); } },toggleElementClass:function(_375){ 
context:     setElementClass: function (element, className) {        /***            Set the entire class attribute of an element to className.        ***/        var self = MochiKit.DOM;        var obj = self.getElement(element);        if (self.attributeArray.compliant) {            obj.setAttribute("class", className);        } else {            obj.setAttribute("className", className);        }    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js