rem: swapElementClass: function (element, fromClass, toClass) { /***  If fromClass is set on element, replace it with toClass.  This will not disturb other classes on that element.  ***/ var obj = MochiKit.DOM.getElement(element); var res = MochiKit.DOM.removeElementClass(obj, fromClass); if (res) { MochiKit.DOM.addElementClass(obj, toClass); } return res; }, 
add: },swapElementClass:function(_383,_384,_385){ var obj=MochiKit.DOM.getElement(_383); var res=MochiKit.DOM.removeElementClass(obj,_384); if(res){ MochiKit.DOM.addElementClass(obj,_385); } return res; },hasElementClass:function(_386,_387){ 
context:     swapElementClass: function (element, fromClass, toClass) {        /***            If fromClass is set on element, replace it with toClass.  This            will not disturb other classes on that element.        ***/        var obj = MochiKit.DOM.getElement(element);        var res = MochiKit.DOM.removeElementClass(obj, fromClass);        if (res) {            MochiKit.DOM.addElementClass(obj, toClass);        }        return res;    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js