$(document).ready(function(){$("ul.tabs").children().each(function(){$(this).removeClass("tab-on")});var b=window.location.toString().substring(window.location.toString().lastIndexOf("/")),a=$('ul.tabs a[href$="'+b+'"]');if(a.length==0&&window.location.toString().indexOf("admin")>0)a=$('ul.tabs a[href*="/admin/"]');a.parent().addClass("tab-on")})
