rem: if (elementClassName.length == 0) return false; if (elementClassName == className || elementClassName.match(new RegExp("(^|\\s)" + className + "(\\s|$)"))) return true; return false; 
add: return (elementClassName.length > 0 && (elementClassName == className || elementClassName.match(new RegExp("(^|\\s)" + className + "(\\s|$)")))); 
context:   hasClassName: function(element, className) {    if (!(element = $(element))) return;    var elementClassName = element.className;    if (elementClassName.length == 0) return false;    if (elementClassName == className ||        elementClassName.match(new RegExp("(^|\\s)" + className + "(\\s|$)")))      return true;    return false;  },
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/2d4247a14ff4ce25ad80cbc65b787dfde7ddb16e/prototype.js/buggy/typo3/contrib/prototype/prototype.js