rem: util.Dom.batch(el, f, util.Dom, true); }, 
add: if ( !this.hasClass(el, oldClassName) ) { this.addClass(el, newClassName); return; }  el['className'] = el['className'].replace(re, ' ' + newClassName + ' ');  if ( this.hasClass(el, oldClassName) ) { this.replaceClass(el, oldClassName, newClassName); } };  Y.Dom.batch(el, f, Y.Dom, true); }, 
context:       replaceClass: function(el, oldClassName, newClassName) {         if (oldClassName === newClassName) { // avoid infinite loop            return false;         };         var re = new RegExp('(?:^|\\s+)' + oldClassName + '(?:\\s+|$)', 'g');         var f = function(el) {            if ( !this.hasClass(el, oldClassName) ) {               this.addClass(el, newClassName); // just add it if nothing to replace               return; // note return            }            el['className'] = el['className'].replace(re, ' ' + newClassName + ' ');            if ( this.hasClass(el, oldClassName) ) { // in case of multiple adjacent               this.replaceClass(el, oldClassName, newClassName);            }         };         util.Dom.batch(el, f, util.Dom, true);      },
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dom.js/clean/www/resources/yui/dom/dom.js