text: var tools=function(){var a={};return a.addClass=function(a,s){var e=s.className;-1===e.indexOf(a)&&(""!==e&&(a=" "+a),s.className=e+a)},a.removeClass=function(a,s){var e=s.className,n=new RegExp("\\s?\\b"+a+"\\b","g");e=e.replace(n,""),s.className=e},a}();