(function() { $(function() { var d = setInterval(function() { var title = $.trim($(".p_breadcrumb .p_breadcrumbItem:eq(2) span").text()); if(title != "") { $(".p_loopitem .s_title a:contains("+title+")").parents(".p_loopitem").addClass("click"); } },500); }); })(); $(".procateLink").find("a").each(function() { (function(a) { var href = a.attr("href"); var sub = $("