rem: element = $(element); if (!element) return; var a = element.className.split(' '); for (var i = 0; i < a.length; i++) { if (a[i] == className) return true; } return false; 
add: if (!(element = $(element))) return; return Element.classNames(element).include(className); 
context:   hasClassName: function(element, className) {    element = $(element);    if (!element)      return;    var a = element.className.split(' ');    for (var i = 0; i < a.length; i++) {      if (a[i] == className)        return true;    }    return false;  },
meta: 1448	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1448/7d101d58400acaff232091485c8e140f0a37cbaf/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js