<script type='text/javascript'> // by Matre (c) (r) (tm) 2011 jQuery(function ($) { $("ul.tabs a").each(function () { if (this.href == location.href) $(this).replaceWith($(this).children().addClass("str")); }); }); </script>