!function(i){i(document).on("metaslider/initialized",function(s,e){if(i(e).closest(".metaslider.ms-theme-radix").length){var a=i(e),l=i(e).closest(".metaslider.ms-theme-radix"),n=a.find(".caption");n.length&&l.addClass("ms-has-caption"),l.addClass("ms-loaded")}i(window).trigger("resize")}),i(window).on("load resize",function(s){i(".metaslider").each(function(s){var e=i(this).outerWidth();e<600?i(this).addClass("ms-is-small"):i(this).removeClass("ms-is-small")})}),i(window).on("load",function(){(function(){if(i(".metaslider.ms-theme-radix.has-dots-nav").find("ul.rslides").length){var s=i("ul.rslides_tabs li").length;i("ul.rslides_tabs").append('<li class="rslides-slide-count"></li>'),i("ul.rslides_tabs li").hide().filter(".rslides_here").show(),i("li.rslides-slide-count").append("/ "+s).show()}})(),function(){if(i(".metaslider.ms-theme-radix.has-dots-nav").find("div.nivo-controlNav").length){var s=i("div.nivo-controlNav a").length;i("div.nivo-controlNav").append('<a class="nivo-slide-count"></a>'),i("div.nivo-controlNav a").hide().filter(".active").show(),i("a.nivo-slide-count").append("/ "+s).show()}}()})}(jQuery);