rem: element = $(element); if (!element) return; var newClassName = ''; var a = element.className.split(' '); for (var i = 0; i < a.length; i++) { if (a[i] != className) { if (i > 0) newClassName += ' '; newClassName += a[i]; } } element.className = newClassName; 
add: if (!(element = $(element))) return; return Element.classNames(element).remove(className); 
context:   removeClassName: function(element, className) {    element = $(element);    if (!element)      return;    var newClassName = '';    var a = element.className.split(' ');    for (var i = 0; i < a.length; i++) {      if (a[i] != className) {        if (i > 0)          newClassName += ' ';        newClassName += a[i];      }    }    element.className = newClassName;  },
meta: 3903	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3903/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/clean/railties/html/javascripts/prototype.js