function slidingBarHandling(){var a=jQuery(".fusion-sliding-bar-area"),b=a.children(".fusion-sliding-bar");a.hasClass("open")?(a.removeClass("open"),jQuery(".fusion-icon-sliding-bar").removeClass("fusion-main-menu-icon-active"),(a.hasClass("fusion-sliding-bar-position-top")||a.hasClass("fusion-sliding-bar-position-bottom"))&&b.slideUp(240,"easeOutQuad")):jQuery(this).hasClass("fusion-sb-close")||(a.addClass("open"),jQuery(".fusion-icon-sliding-bar").addClass("fusion-main-menu-icon-active"),(a.hasClass("fusion-sliding-bar-position-top")||a.hasClass("fusion-sliding-bar-position-bottom"))&&b.slideDown(240,"easeOutQuad"),setTimeout(function(){"function"==typeof jQuery.fn.reinitializeGoogleMap&&b.find(".shortcode-map").each(function(){jQuery(this).reinitializeGoogleMap()}),b.find(".fusion-carousel").length&&"function"==typeof generateCarousel&&generateCarousel(),b.find(".fusion-portfolio").each(function(){var a=jQuery(this).find(".fusion-portfolio-wrapper"),b=a.attr("id");b&&(a=jQuery("#"+b)),a.isotope()}),b.find(".fusion-gallery").each(function(){jQuery(this).isotope()}),"function"==typeof jQuery.fn.fusionCalcFlipBoxesHeight&&b.find(".flip-box-inner-wrapper").each(function(){jQuery(this).fusionCalcFlipBoxesHeight()}),"function"==typeof jQuery.fn.equalHeights&&b.find(".fusion-fullwidth.fusion-equal-height-columns").each(function(){jQuery(this).find(".fusion-layout-column .fusion-column-wrapper").equalHeights()}),b.find(".crossfade-images").each(function(){fusionResizeCrossfadeImagesContainer(jQuery(this)),fusionResizeCrossfadeImages(jQuery(this))}),b.find(".fusion-blog-shortcode").each(function(){jQuery(this).find(".fusion-blog-layout-grid").isotope()}),b.find(".fusion-testimonials .reviews").each(function(){jQuery(this).css("height",jQuery(this).children(".active-testimonial").height())}),"function"==typeof calcSelectArrowDimensions&&calcSelectArrowDimensions(),jQuery(window).trigger("resize")},350))}jQuery(document).ready(function(){jQuery(".fusion-sliding-bar-area.open-on-load").length&&(slidingBarHandling(),jQuery(".fusion-sliding-bar-area").removeClass("open-on-load")),(jQuery(".fusion-sliding-bar-area").hasClass("fusion-sliding-bar-position-right")||jQuery(".fusion-sliding-bar-area").hasClass("fusion-sliding-bar-position-left"))&&jQuery(".fusion-sliding-bar-content-wrapper").limitScrollToContainer(),"menu"!==jQuery(".fusion-sliding-bar-area").data("toggle")&&(Modernizr.mq("only screen and (max-width: "+jQuery(".fusion-sliding-bar-area").data("breakpoint")+"px)")?(jQuery(".fusion-sliding-bar-area").removeClass("fusion-sliding-bar-toggle-"+jQuery(".fusion-sliding-bar-area").data("toggle")),jQuery(".fusion-sliding-bar-area").addClass("fusion-sliding-bar-toggle-triangle")):(jQuery(".fusion-sliding-bar-area").removeClass("fusion-sliding-bar-toggle-triangle"),jQuery(".fusion-sliding-bar-area").addClass("fusion-sliding-bar-toggle-"+jQuery(".fusion-sliding-bar-area").data("toggle"))),jQuery(window).on("resize",function(){Modernizr.mq("only screen and (max-width: "+jQuery(".fusion-sliding-bar-area").data("breakpoint")+"px)")?(jQuery(".fusion-sliding-bar-area").removeClass("fusion-sliding-bar-toggle-"+jQuery(".fusion-sliding-bar-area").data("toggle")),jQuery(".fusion-sliding-bar-area").addClass("fusion-sliding-bar-toggle-triangle")):(jQuery(".fusion-sliding-bar-area").removeClass("fusion-sliding-bar-toggle-triangle"),jQuery(".fusion-sliding-bar-area").addClass("fusion-sliding-bar-toggle-"+jQuery(".fusion-sliding-bar-area").data("toggle")))}))}),jQuery(window).load(function(){jQuery(".fusion-sb-toggle, .fusion-icon-sliding-bar, .fusion-sb-close").click(function(a){a.preventDefault(),slidingBarHandling()})}),jQuery(window).load(function(){jQuery(".fusion-modal").bind("show.bs.modal",function(){var a,b=jQuery(".fusion-sliding-bar");setTimeout(function(){b.find(".fusion-testimonials").length&&(a=b.find(".fusion-testimonials .reviews").children(".active-testimonial"),b.find(".fusion-testimonials .reviews").height(a.height()))},350)})});