$(function() { var blocked_tags = ($.cookie("ui-blocked-tags") || $.cookie("blocked-tags") || "").split(" "); var themecheck = $(".thumb[data-tags]").parent().attr('class'); var needs_refresh = false; for(i=0; i