!function (e) { "use strict"; e((function () { e('[role="banner"]').on("click", ".close_product", (function () { e(this).closest("li").animate({ opacity: "0" }, (function () { e(this).slideUp(500) })) })), window.rmenu = function () { var t = e('nav[role="navigation"]'), i = e('[role="banner"]'), n = new Object; n.init = function () { n.checkWindowSize(), e(window).on("resize", n.checkWindowSize) }, n.checkWindowSize = function () { e(window).width() < 992 ? n.Activate() : n.Deactivate() }, n.Activate = function () { e("html").hasClass("md_touch") && i.off(".touch"), i.off("click").on("click.responsivemenu", "#menu_button", n.openClose), i.on("click.responsivemenu", ".main_menu li a", n.openCloseSubMenu), t.find(".touch_open_sub").removeClass("touch_open_sub").children("a").removeClass("prevented") }, n.Deactivate = function () { i.off(".responsivemenu"), t.removeAttr("style").find("li").removeClass("current_click").end().find(".sub_menu_wrap").removeAttr("style").end().find(".prevented").removeClass("prevented").end(), e("html").hasClass("md_touch") && i.off("click").on("click.touch", ".main_menu li a", n.touchOpenSubMenu) }, n.openClose = function () { e(this).toggleClass("active"), t.stop().slideToggle() }, n.openCloseSubMenu = function (t) { var i = e(this); i.next(".sub_menu_wrap").length && (i.parent().addClass("current_click").siblings().removeClass("current_click").children(":not(span,a)").slideUp(), i.next().stop().slideToggle(), i.parent().siblings().children("a").removeClass("prevented"), i.hasClass("prevented") ? i.removeClass("prevented") : (t.preventDefault(), i.addClass("prevented"))) }, n.touchOpenSubMenu = function (t) { var i = e(this); i.next(".sub_menu_wrap").length && (i.hasClass("prevented") ? i.removeClass("prevented") : (t.preventDefault(), i.addClass("prevented"))) }, n.init() }, rmenu(), window.search_holder = function () { var t = e(".search-holder"); t.length && t.searchClick() }, search_holder(), e("html").hasClass("ie9") && e("input[placeholder]").each((function () { e(this).val(e(this).attr("placeholder")); var t = e(this).val(); e(this).on("focus", (function () { e(this).val() === t && e(this).val("") })).on("blur", (function () { "" == e(this).val() && e(this).val(t) })) })); var t = e(".tabs"); t.length && t.tabs({ beforeActivate: function (e, t) { t.newTab.children("li a").attr("href") }, hide: { effect: "fadeOut", duration: 0 }, show: { effect: "fadeIn", duration: 0 }, updateHash: !1 }), e("#load_more").click((function () { return e(".load_more_block").slideToggle("slow"), e(this).toggleClass("active"), !1 })), e(".more_news_button").click((function () { return e(".more_news").slideToggle("slow"), e(this).toggleClass("active"), !1 })), e("#flexslider").length && e("#flexslider").flexslider({ controlNav: !1, smoothHeight: !0, animationSpeed: 1e3, slideshow: !1, prevText: "", keyboard: !1, nextText: "", start: function (t) { var i = t, n = e(".thumbnails_container").children("ul"); i.find(".flex-direction-nav a").addClass("flex_nav_buttons"); var l = i.data("flexslider").currentSlide; n.children("li").eq(l).addClass("active"), n.children("li").on("click", (function () { var t = e(this), n = t.index(); t.addClass("active").siblings().removeClass("active"), i.data("flexslider").flexAnimate(n) })), i.find(".flex-prev,.flex-next").on("click", (function () { var e = i.children(".slides").children(".flex-active-slide").index(); n.children("li").eq(e).addClass("active").siblings().removeClass("active") })) } }), jQuery("#scroll_sidebar").length && jQuery("#scroll_sidebar").scrollSidebar(), e(window).on("load", (function () { jQuery(".flexslider").length && jQuery(window).trigger("resize") })), jQuery, window; try { jQuery.browserSelector(); var i = e("html"); (i.hasClass("chrome") || i.hasClass("ie11") || i.hasClass("ie10")) && e.smoothScroll() } catch (e) { } e(".custom_select").each((function () { var t = e(this).children("ul"), i = e(this).find("select"), n = e(this).find(".select_title"); if (e(this).find("[data-filter]").length) for (var l = 0, a = i.children("option").length; l < a; l++)t.append('
' + i + "
' + i + "
Connection to server failed!