jQuery(document).ready(function(a){var b=0;jQuery("#slidingbar-area.open_onload").length&&(jQuery("#slidingbar").slideDown(240,"easeOutQuad"),jQuery(".sb-toggle").addClass("open"),b=1,jQuery("#slidingbar .shortcode-map").length&&jQuery("#slidingbar").find(".shortcode-map").each(function(){jQuery(this).reinitializeGoogleMap()}),jQuery("#slidingbar-area").removeClass("open_onload")),jQuery(".sb-toggle").click(function(a){var c,d=jQuery(this).parents("#slidingbar-area").children("#slidingbar");a.preventDefault(),0===b?(d.slideDown(240,"easeOutQuad"),jQuery(".sb-toggle").addClass("open"),b=1,d.find(".shortcode-map").length&&d.find(".shortcode-map").each(function(){jQuery(this).reinitializeGoogleMap()}),d.find(".fusion-carousel").length&&"function"==typeof generateCarousel&&generateCarousel(),"function"==typeof jQuery.fn.fusion_recalculate_carousel&&jQuery("#slidingbar").find(".fusion-carousel").fusion_recalculate_carousel(),d.find(".fusion-testimonials").length&&(c=d.find(".fusion-testimonials .reviews").children(".active-testimonial"),d.find(".fusion-testimonials .reviews").height(c.height()))):1==b&&(d.slideUp(240,"easeOutQuad"),jQuery(".sb-toggle").removeClass("open"),b=0)})}),jQuery(window).load(function(){jQuery(".fusion-modal").bind("show.bs.modal",function(){var a,b=jQuery("#slidingbar");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)})});