function replaceSocialImage(e,t){e.replaceWith('')}!function($,e,t,i){var o=$(e);$.fn.lazyload=function(n){function r(){var e=0;a.each(function(){var t=$(this);if(!f.skip_invisible||t.is(":visible"))if($.abovethetop(this,f)||$.leftofbegin(this,f));else if($.belowthefold(this,f)||$.rightoffold(this,f)){if(++e>f.failure_limit)return!1}else t.trigger("appear"),e=0})}var a=this,l,f={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return n&&(i!==n.failurelimit&&(n.failure_limit=n.failurelimit,delete n.failurelimit),i!==n.effectspeed&&(n.effect_speed=n.effectspeed,delete n.effectspeed),$.extend(f,n)),l=f.container===i||f.container===e?o:$(f.container),0===f.event.indexOf("scroll")&&l.bind(f.event,function(){return r()}),this.each(function(){var e=this,t=$(e);e.loaded=!1,(t.attr("src")===i||t.attr("src")===!1)&&t.is("img")&&t.attr("src",f.placeholder),t.one("appear",function(){if(!this.loaded){if(f.appear){var i=a.length;f.appear.call(e,i,f)}$("").bind("load",function(){var i=t.attr("data-"+f.data_attribute);t.hide(),t.is("img")?t.attr("src",i):t.css("background-image","url('"+i+"')"),t[f.effect](f.effect_speed),e.loaded=!0;var o=$.grep(a,function(e){return!e.loaded});if(a=$(o),f.load){var n=a.length;f.load.call(e,n,f)}}).attr("src",t.attr("data-"+f.data_attribute))}}),0!==f.event.indexOf("scroll")&&t.bind(f.event,function(){e.loaded||t.trigger("appear")})}),o.bind("resize",function(){r()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&o.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&a.each(function(){$(this).trigger("appear")})}),$(t).ready(function(){r()}),this},$.belowthefold=function(t,n){var r;return r=n.container===i||n.container===e?(e.innerHeight?e.innerHeight:o.height())+o.scrollTop():$(n.container).offset().top+$(n.container).height(),r<=$(t).offset().top-n.threshold},$.rightoffold=function(t,n){var r;return r=n.container===i||n.container===e?o.width()+o.scrollLeft():$(n.container).offset().left+$(n.container).width(),r<=$(t).offset().left-n.threshold},$.abovethetop=function(t,n){var r;return r=n.container===i||n.container===e?o.scrollTop():$(n.container).offset().top,r>=$(t).offset().top+n.threshold+$(t).height()},$.leftofbegin=function(t,n){var r;return r=n.container===i||n.container===e?o.scrollLeft():$(n.container).offset().left,r>=$(t).offset().left+n.threshold+$(t).width()},$.inviewport=function(e,t){return!($.rightoffold(e,t)||$.leftofbegin(e,t)||$.belowthefold(e,t)||$.abovethetop(e,t))},$.extend($.expr[":"],{"below-the-fold":function(e){return $.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!$.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return $.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!$.rightoffold(e,{threshold:0})},"in-viewport":function(e){return $.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!$.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return $.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!$.rightoffold(e,{threshold:0})}})}(jQuery,window,document),jQuery(document).ready(function($){$(".main-menu").addClass("js-enabled"),$(".main-menu .hs-menu-flow-horizontal").before('
'),$("a.menu-toggle").click(function(){return $(this).next(".main-menu .hs-menu-flow-horizontal").slideToggle(250),$("body").toggleClass("menu-open"),!1}),$(".page-title h1").firstWord(),$(".hs_cos_wrapper_type_social_sharing a").removeAttr("style");var e=$("img[src$='facebook-24x24.png']");replaceSocialImage(e,"facebook");var t=$("img[src$='linkedin-24x24.png']");replaceSocialImage(t,"linkedin");var i=$("img[src$='twitter-24x24.png']");replaceSocialImage(i,"twitter");var o=$("img[src$='googleplus-24x24.png']");replaceSocialImage(o,"google-plus");var n=$("img[src$='email-24x24.png']");replaceSocialImage(n,"envelope-o"),$(".lazy").lazyload({threshold:200,effect:"fadeIn"})}),jQuery.fn.firstWord=function(){var e=this.text().trim().split(" "),t=e.shift();this.html((e.length>0?""+t+" ":t)+e.join(" "))};