text: $(function(){ParallaxScroll.init()});var ParallaxScroll={showLogs:!1,round:1e3,init:function(){return this._log("init"),this._inited?(this._log("Already Inited"),void(this._inited=!0)):(this._requestAnimationFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)}}(),void this._onScroll(!0))},_inited:!1,_properties:["x","y","z","rotateX","rotateY","rotateZ","scaleX","scaleY","scaleZ","scale"],_requestAnimationFrame:null,_log:function(e){this.showLogs&&console.log("Parallax Scroll / "+e)},_onScroll:function(e){var t=$(document).scrollTop(),n=$(window).height();this._log("onScroll "+t),$("[data-parallax]").each($.proxy(function(i,a){var s=$(a),r=[],o=!1,l=s.data("style");void 0==l&&(l=s.attr("style")||"",s.data("style",l));var u=[s.data("parallax")],c;for(c=2;s.data("parallax"+c);c++)u.push(s.data("parallax-"+c));var d=u.length;for(c=0;d>c;c++){var m=u[c],f=m["from-scroll"];void 0==f&&(f=Math.max(0,$(a).offset().top-n)),f|=0;var h=m.distance,p=m["to-scroll"];void 0==h&&void 0==p&&(h=n),h=Math.max(0|h,1);var y=m.easing,v=m["easing-return"];if(void 0!=y&&$.easing&&$.easing[y]||(y=null),void 0!=v&&$.easing&&$.easing[v]||(v=y),y){var b=m.duration;void 0==b&&(b=h),b=Math.max(0|b,1);var j=m["duration-return"];void 0==j&&(j=b),h=1;var Q=s.data("current-time");void 0==Q&&(Q=0)}void 0==p&&(p=f+h),p|=0;var w=m.smoothness;void 0==w&&(w=30),w|=0,(e||0==w)&&(w=1),w|=0;var g=t;g=Math.max(g,f),g=Math.min(g,p),y&&(void 0==s.data("sens")&&s.data("sens","back"),g>f&&("back"==s.data("sens")?(Q=1,s.data("sens","go")):Q++),p>g&&("go"==s.data("sens")?(Q=1,s.data("sens","back")):Q++),e&&(Q=b),s.data("current-time",Q)),this._properties.map($.proxy(function(e){var t=0,n=m[e];if(void 0!=n){"scale"==e||"scaleX"==e||"scaleY"==e||"scaleZ"==e?t=1:n|=0;var i=s.data("_"+e);void 0==i&&(i=t);var a=(g-f)/(p-f)*(n-t)+t,l=i+(a-i)/w;if(y&&Q>0&&b>=Q){var u=t;"back"==s.data("sens")&&(u=n,n=-n,y=v,b=j),l=$.easing[y](null,Q,u,n,b)}l=Math.ceil(l*this.round)/this.round,l==i&&a==n&&(l=n),r[e]||(r[e]=0),r[e]+=l,i!=r[e]&&(s.data("_"+e,r[e]),o=!0)}},this))}if(o){if(void 0!=r.z){var C=m.perspective;void 0==C&&(C=800);var _=s.parent();_.data("style")||_.data("style",_.attr("style")||""),_.attr("style","perspective:"+C+"px; -webkit-perspective:"+C+"px; "+_.data("style"))}void 0==r.scaleX&&(r.scaleX=1),void 0==r.scaleY&&(r.scaleY=1),void 0==r.scaleZ&&(r.scaleZ=1),void 0!=r.scale&&(r.scaleX*=r.scale,r.scaleY*=r.scale,r.scaleZ*=r.scale);var x="translate3d("+(r.x?r.x:0)+"px, "+(r.y?r.y:0)+"px, "+(r.z?r.z:0)+"px)",S="rotateX("+(r.rotateX?r.rotateX:0)+"deg) rotateY("+(r.rotateY?r.rotateY:0)+"deg) rotateZ("+(r.rotateZ?r.rotateZ:0)+"deg)",T="scaleX("+r.scaleX+") scaleY("+r.scaleY+") scaleZ("+r.scaleZ+")",k=x+" "+S+" "+T+";";this._log(k),s.attr("style","transform:"+k+" -webkit-transform:"+k+" "+l)}},this)),window.requestAnimationFrame?window.requestAnimationFrame($.proxy(this._onScroll,this,!1)):this._requestAnimationFrame($.proxy(this._onScroll,this,!1))}};!function($){function e(e,t){return e.toFixed(t.decimals)}$.fn.countTo=function(e){return e=e||{},$(this).each(function(){function t(e){var t=i.formatter.call(r,e,i);o.text(t)}function n(){u+=s,l++,t(u),"function"==typeof i.onUpdate&&i.onUpdate.call(r,u),l>=a&&(o.removeData("countTo"),clearInterval(c.interval),u=i.to,"function"==typeof i.onComplete&&i.onComplete.call(r,u))}var i=$.extend({},$.fn.countTo.defaults,{from:$(this).data("from"),to:$(this).data("to"),speed:$(this).data("speed"),refreshInterval:$(this).data("refresh-interval"),decimals:$(this).data("decimals")},e),a=Math.ceil(i.speed/i.refreshInterval),s=(i.to-i.from)/a,r=this,o=$(this),l=0,u=i.from,c=o.data("countTo")||{};o.data("countTo",c),c.interval&&clearInterval(c.interval),t(u),c.interval=setInterval(n,i.refreshInterval)})},$.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:e,onUpdate:null,onComplete:null}}(jQuery),function(e){if("function"==typeof define&&define.amd)define(["$"],e);else{e(window.Mobify&&window.Mobify.$||window.Zepto||window.jQuery)}}(function(e){var t=function(e){var t={},n=navigator.userAgent,i=e.support=e.support||{};e.extend(e.support,{touch:"ontouchend"in document}),t.events=i.touch?{down:"touchstart",move:"touchmove",up:"touchend"}:{down:"mousedown",move:"mousemove",up:"mouseup"},t.getCursorPosition=i.touch?function(e){return e=e.originalEvent||e,{x:e.touches[0].clientX,y:e.touches[0].clientY}}:function(e){return{x:e.clientX,y:e.clientY}},t.getProperty=function(e){for(var t=["Webkit","Moz","O","ms",""],n=document.createElement("div").style,i=0;t.length>i;++i)if(void 0!==n[t[i]+e])return t[i]+e},e.extend(i,{transform:!!t.getProperty("Transform"),transform3d:!(!(window.WebKitCSSMatrix&&"m11"in new WebKitCSSMatrix)||/android\s+[1-2]/i.test(n))});var a=t.getProperty("Transform");t.translateX=i.transform3d?function(e,t){"number"==typeof t&&(t+="px"),e.style[a]="translate3d("+t+",0,0)"}:i.transform?function(e,t){"number"==typeof t&&(t+="px"),e.style[a]="translate("+t+",0)"}:function(e,t){"number"==typeof t&&(t+="px"),e.style.left=t};var s=(t.getProperty("Transition"),t.getProperty("TransitionDuration"));return t.setTransitions=function(e,t){e.style[s]=t?"":"0s"},t.requestAnimationFrame=function(){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};return function(){e.apply(window,arguments)}}(),t}(e),n=function(e,t){var n={dragRadius:10,moveRadius:20,animate:!0,autoHideArrows:!1,classPrefix:"m-",classNames:{outer:"scooch",inner:"scooch-inner",item:"item",center:"center",touch:"has-touch",dragging:"dragging",active:"active",inactive:"inactive",fluid:"fluid"}},i=e.support,a=function(e,t){this.setOptions(t),this.initElements(e),this.initOffsets(),this.initAnimation(),this.bind(),this._updateCallbacks=[]};return a.defaults=n,a.prototype.setOptions=function(t){var i=this.options||e.extend({},n,t);i.classNames=e.extend({},i.classNames,t.classNames||{}),this.options=i},a.prototype.initElements=function(t){this._index=1,this.element=t,this.$element=e(t),this.$inner=this.$element.find("."+this._getClass("inner")),this.$items=this.$inner.children(),this.$start=this.$items.eq(0),this.$sec=this.$items.eq(1),this.$current=this.$items.eq(this._index-1),this._length=this.$items.length,this._alignment=this.$element.hasClass(this._getClass("center"))?.5:0,this._isFluid=this.$element.hasClass(this._getClass("fluid"))},a.prototype.initOffsets=function(){this._offsetDrag=0},a.prototype.initAnimation=function(){this.animating=!1,this.dragging=!1,this._needsUpdate=!1,this._enableAnimation()},a.prototype._getClass=function(e){return this.options.classPrefix+this.options.classNames[e]},a.prototype._enableAnimation=function(){this.animating||(t.setTransitions(this.$inner[0],!0),this.$inner.removeClass(this._getClass("dragging")),this.animating=!0)},a.prototype._disableAnimation=function(){this.animating&&(t.setTransitions(this.$inner[0],!1),this.$inner.addClass(this._getClass("dragging")),this.animating=!1)},a.prototype.refresh=function(){this.$items=this.$inner.children("."+this._getClass("item")),this.$start=this.$items.eq(0),this.$sec=this.$items.eq(1),this._length=this.$items.length,this.update()},a.prototype.update=function(e){if(void 0!==e&&this._updateCallbacks.push(e),!this._needsUpdate){this._needsUpdate=!0;var n=this;t.requestAnimationFrame(function(){n._update(),setTimeout(function(){for(var e=0,t=n._updateCallbacks.length;t>e;e++)n._updateCallbacks[e].call(n);n._updateCallbacks=[]},10)})}},a.prototype._update=function(){if(this._needsUpdate){var e=this.$current,n=this.$start,i=e.prop("offsetLeft")+e.prop("clientWidth")*this._alignment,a=n.prop("offsetLeft")+n.prop("clientWidth")*this._alignment,s=Math.round(-(i-a)+this._offsetDrag);t.translateX(this.$inner[0],s),this._needsUpdate=!1}},a.prototype.bind=function(){function n(e){i.touch||e.preventDefault(),m=!0,f=!1,o=t.getCursorPosition(e),l=0,u=0,c=!1,p._disableAnimation(),$=1==p._index,j=p._index==p._length}function a(e){if(m&&!f){var n=t.getCursorPosition(e),i=p.$element.width();l=o.x-n.x,u=o.y-n.y,c||d(l)>d(u)&&d(l)>h?(c=!0,e.preventDefault(),$&&0>l?l=l*-i/(l-i):j&&l>0&&(l=l*i/(l+i)),p._offsetDrag=-l,p.update()):d(u)>d(l)&&d(u)>h&&(f=!0)}}function s(){m&&(m=!1,p._enableAnimation(),!f&&d(l)>b.moveRadius?l>0?p.next():p.prev():(p._offsetDrag=0,p.update()))}function r(e){c&&e.preventDefault()}var o,l,u,c,d=Math.abs,m=!1,f=!1,h=this.options.dragRadius,p=this,y=this.$element,v=this.$inner,b=this.options,$=!1,j=!1,Q=e(window).width();v.on(t.events.down+".scooch",n).on(t.events.move+".scooch",a).on(t.events.up+".scooch",s).on("click.scooch",r).on("mouseout.scooch",s),y.on("click","[data-m-slide]",function(t){t.preventDefault();var n=e(this).attr("data-m-slide"),i=parseInt(n,10);isNaN(i)?p[n]():p.move(i)}),y.on("afterSlide",function(e,t,n){p.$items.eq(t-1).removeClass(p._getClass("active")),p.$items.eq(n-1).addClass(p._getClass("active")),p.$element.find("[data-m-slide='"+t+"']").removeClass(p._getClass("active")),p.$element.find("[data-m-slide='"+n+"']").addClass(p._getClass("active")),b.autoHideArrows&&(1===n?(p.$element.find("[data-m-slide=prev]").addClass(p._getClass("inactive")),p.$element.find("[data-m-slide=next]").removeClass(p._getClass("inactive"))):n===p._length?(p.$element.find("[data-m-slide=next]").addClass(p._getClass("inactive")),p.$element.find("[data-m-slide=prev]").removeClass(p._getClass("inactive"))):(p.$element.find("[data-m-slide=prev]").removeClass(p._getClass("inactive")),p.$element.find("[data-m-slide=next]").removeClass(p._getClass("inactive"))))}),e(window).on("resize orientationchange",function(){Q!=e(window).width()&&(p._disableAnimation(),Q=e(window).width(),p.update())}),y.trigger("beforeSlide",[1,1]),y.trigger("afterSlide",[1,1]),p.update()},a.prototype.unbind=function(){this.$inner.off()},a.prototype.destroy=function(){this.unbind(),this.$element.trigger("destroy"),this.$element.remove(),this.$element=null,this.$inner=null,this.$start=null,this.$current=null},a.prototype.move=function(t,n){var i=this.$element,a=(this.$inner,this.$items),s=(this.$start,this.$current),r=this._length,o=this._index;n=e.extend({},this.options,n),1>t?t=1:t>this._length&&(t=r),this._index,n.animate?this._enableAnimation():this._disableAnimation(),i.trigger("beforeSlide",[o,t]),this.$current=s=a.eq(t-1),this._offsetDrag=0,this._index=t,n.animate?this.update():this.update(function(){this._enableAnimation()}),i.trigger("afterSlide",[o,t])},a.prototype.next=function(){this.move(this._index+1)},a.prototype.prev=function(){this.move(this._index-1)},a}(e,t);e.fn.scooch=function(t,i){var a=e.extend({},e.fn.scooch.defaults);return"object"==typeof t&&(e.extend(a,t,!0),i=null,t=null),i=Array.prototype.slice.apply(arguments),this.each(function(){var s=(e(this),this._scooch);s||(s=new n(this,a)),t&&(s[t].apply(s,i.slice(1)),"destroy"===t&&(s=null)),this._scooch=s}),this},e.fn.scooch.defaults={}}),function($){$.fn.unveil=function(e,t){function n(){l=o.filter(function(){var e=$(this);if(!e.is(":hidden")){var t=i.scrollTop(),n=t+i.height(),s=e.offset().top;return s+e.height()>=t-a&&s<=n+a}}).trigger("unveil"),o=o.not(l)}var i=$(window),a=e||0,s=window.devicePixelRatio>1,r=s?"data-src-retina":"data-src",o=this,l;return this.one("unveil",function(){var e=this.getAttribute(r);(e=e||this.getAttribute("data-src"))&&(this.setAttribute("src",e),"function"==typeof t&&t.call(this))}),i.on("scroll.unveil resize.unveil lookup.unveil",n),n(),this}}(window.jQuery||window.Zepto),_linkedin_data_partner_id="32247",function(){var e=document.getElementsByTagName("script")[0],t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://snap.licdn.com/li.lms-analytics/insight.min.js",e.parentNode.insertBefore(t,e)}();var isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),ajaxurl=meta.ajaxurl,pKey=meta.publishable_key,move={onMove:function(){move.slideUp(),move.slideDown(),move.slideInLeft(),move.slideInRight(),move.newsletter()},isOnScreen:function(e){if(e.length){var t=jQuery(e),n=jQuery(window),i={top:n.scrollTop(),left:n.scrollLeft()};i.right=i.left+n.width(),i.bottom=i.top+n.height();var a=t.offset();return a.right=a.left+t.outerWidth(),a.bottom=a.top+t.outerHeight(),!(i.right<a.left||i.left>a.right||i.bottom<a.top||i.top>a.bottom)}},slideUp:function(){var e=jQuery('*[data-animation="slideUp"]');e.length>0&&e.each(function(){var e=jQuery(this);move.isOnScreen(e)?e.addClass("slideIn"):jQuery(window).scroll(function(){move.isOnScreen(e)&&e.addClass("slideIn")})})},slideDown:function(){var e=jQuery('*[data-animation="slideDown"]');e.length>0&&e.each(function(){var e=jQuery(this);move.isOnScreen(e)?e.addClass("slideIn"):jQuery(window).scroll(function(){move.isOnScreen(e)&&e.addClass("slideIn")})})},slideInLeft:function(){var e=jQuery('*[data-animation="slideInLeft"]');e.length>0&&e.each(function(){var e=jQuery(this),t=jQuery(this).parent();move.isOnScreen(t)?e.addClass("slideIn"):jQuery(window).scroll(function(){move.isOnScreen(t)&&e.addClass("slideIn")})})},slideInRight:function(){var e=jQuery('*[data-animation="slideInRight"]');e.length>0&&e.each(function(){var e=jQuery(this),t=jQuery(this).parent();move.isOnScreen(t)?e.addClass("slideIn"):jQuery(window).scroll(function(){move.isOnScreen(t)&&e.addClass("slideIn")})})},newsletter:function(){var e=jQuery("#newsletterFrm");e.length>0&&e.each(function(){var e=jQuery(this),t=jQuery(this);move.isOnScreen(t)?e.addClass("slideIn"):jQuery(window).scroll(function(){move.isOnScreen(t)&&e.addClass("slideIn")})})}},init={onReady:function(){init.preLoad(),init.openMenu(),init.SVG(),init.dropdown(),init.frmBtn(),init.scooch(),init.wizard(),isMobile||init.playVideo(),init.tooltip(),init.mobileBubbles(),init.newsletterBtn(),init.bubbleTab(),init.tabDisplay(),init.headerDropdown()},headerDropdown:function(){jQuery(".drop a").click(function(e){if(e.preventDefault(),jQuery(".drop .sub-menu").hasClass("down")){jQuery(".drop .sub-menu").removeClass("down");var t=jQuery(this).attr("href");"#"!=t&&jQuery(location).attr("href",t)}else jQuery(".drop .sub-menu").addClass("down"),setTimeout(function(){jQuery(document).one("click",function(){jQuery(".drop .sub-menu").removeClass("down")})},250)})},tabDisplay:function(){jQuery(".thirds li").click(function(e){e.preventDefault();var t=jQuery(this).attr("data-page");jQuery(this).hasClass("active")||(jQuery("#Preview .fa-spin").addClass("load"),jQuery(".thirds li").removeClass("active"),jQuery(this).addClass("active"),jQuery.ajax({url:ajaxurl,type:"GET",data:{postID:t,action:"showTab"},dataType:"html",beforeSend:function(){jQuery("#Preview .previewText").removeClass("in"),jQuery("#Preview .previewImage").removeClass("in")},error:function(e,t,n){window.alert(e+" :: "+t+" :: "+n)},success:function(e){jQuery("#Preview .fa-spin").removeClass("load"),jQuery("#Preview").html(e)},complete:function(){setTimeout(function(){jQuery("#Preview .previewText").addClass("in"),jQuery("#Preview .previewImage").addClass("in")},250)}}))})},preLoad:function(){jQuery(window).load(function(){jQuery("#loader").fadeOut(),jQuery("body").removeClass("freeze"),jQuery("img[data-src]").unveil()})},mobileBubbles:function(){jQuery("#bubblesMobile .frame").click(function(e){e.preventDefault();var t=jQuery(this),n=jQuery(".frameCopy",this);t.hasClass("open")?(n.slideUp(),t.removeClass("open")):(jQuery("#bubblesMobile .frame .frameCopy").slideUp(),setTimeout(function(){jQuery("html,body").animate({scrollTop:t.offset().top-94},250,function(){n.slideDown(),t.addClass("open")})},500))})},tooltip:function(){jQuery(".bubblenav li.nav").hover(function(){var e=jQuery(this).attr("title");jQuery(this).append('<div class="tooltip">'+e+"</div>"),setTimeout(function(){jQuery(".tooltip").addClass("in")},50)},function(){jQuery(".tooltip").remove()})},playVideo:function(){var e=jQuery("#help video");e.prop("loop",!1),playing=!1,move.isOnScreen(jQuery("#help .vidPlay"))?(e[0].play(),playing=!0):jQuery(window).scroll(function(){move.isOnScreen(jQuery("#help .vidPlay"))&&!playing&&(e[0].play(),playing=!0)}),jQuery("#video .playwrap").click(function(){jQuery("#video video").attr("controls","controls"),jQuery("#video").addClass("playing"),jQuery("#video video")[0].play()})},wizard:function(){jQuery(".btn-wizard").click(function(e){e.preventDefault(),jQuery("#checkout").fadeIn(),jQuery("body").addClass("freeze")}),jQuery("#checkout .close").click(function(){jQuery("#checkout").fadeOut(),jQuery("body").removeClass("freeze"),jQuery(".right").removeClass("confirm")})},scooch:function(){var e=jQuery(".m-scooch");e.length&&e.scooch()},dropdown:function(){removeClass=!1,jQuery(".dropdown button").click(function(e){e.preventDefault(),jQuery(".dropdown ul").removeClass("show"),jQuery(this).next().addClass("show"),removeClass=!1}),jQuery("html").click(function(){removeClass&&jQuery(".dropdown ul").removeClass("show"),removeClass=!0}),jQuery(".dropdown ul li").click(function(e){e.preventDefault();var t=jQuery(this).attr("data-value"),n=jQuery(this).parent().attr("data-input"),i=jQuery(this).parent().prev(),a=jQuery(this).text();jQuery("#"+n).val(t),jQuery(".dropdown ul").removeClass("show"),jQuery(i).addClass("selected"),jQuery(i).text(a),jQuery(i).append('<i class="fa fa-angle-down"></i>')})},SVG:function(){jQuery("img.svg").each(function(){var e=jQuery(this),t=e.attr("id"),n=e.attr("class"),i=e.attr("src");jQuery.get(i,function(i){var a=jQuery(i).find("svg");void 0!==t&&(a=a.attr("id",t)),void 0!==n&&(a=a.attr("class",n+" replaced-svg")),a=a.removeAttr("xmlns:a"),e.replaceWith(a)},"xml")})},openMenu:function(){jQuery(".Menu").click(function(){jQuery("header").hasClass("open")?(jQuery("header").removeClass("open"),jQuery(".menu-dropdown ul li").removeClass("in").dequeue()):(jQuery("header").addClass("open"),jQuery(".menu-dropdown ul li").each(function(e){jQuery(this).delay(50*e).queue(function(){jQuery(this).addClass("in")})}))}),jQuery(".menu-dropdown").addClass("outer"),jQuery(".menu-dropdown ul").addClass("inner")},bubbleTab:function(){jQuery(".bubble-1").addClass("active"),jQuery(".frame-1 .frameCopy").addClass("in"),jQuery(".frame-1 .frameImage").addClass("in"),jQuery(".frame-1").addClass("in"),jQuery(".bubblewrap").click(function(e){e.preventDefault();var t=jQuery(this).attr("data-numb");jQuery(".bubblewrap").removeClass("active"),jQuery(this).addClass("active"),jQuery(".frameCopy").removeClass("in"),jQuery(".frameImage").removeClass("in"),jQuery(".frame").removeClass("in"),jQuery("html,body").animate({scrollTop:jQuery("#bubbles").offset().top}),jQuery(".frame-"+t).addClass("in"),jQuery(".frame-"+t+" .frameCopy").addClass("in"),jQuery(".frame-"+t+" .frameImage").addClass("in")})},newsletterSubmit:function(){var e=jQuery("#newsletterFrm");return jQuery("#newsletterFrm .btn-submit").html('<i class="fa fa-spinner fa-spin"></i>'),jQuery.ajax({url:ajaxurl,type:e.attr("method"),data:{email:jQuery("#newsletteremail").val(),action:"newsletterSubmit"},dataType:"html",success:function(e){init.newsletterResponse(e)}}),!1},newsletterResponse:function(e){"Success"===e&&(jQuery("#newsletterFrm").addClass("success"),jQuery("#newsletterFrm .btn-submit").html('<i class="fa fa-check"></i>'),jQuery("#newsletteremail").val(""),setTimeout(function(){jQuery("#newsletterFrm").removeClass("success"),jQuery("#newsletterFrm .btn-submit").removeClass("success").html('<i class="fa fa-arrow-circle-right"></i>')},2500)),"E"===e&&(jQuery("#newsletterFrm").addClass("error"),jQuery("#newsletterFrm .btn-submit").html('<i class="fa fa-ban"></i>'),setTimeout(function(){jQuery("#newsletterFrm").removeClass("error"),jQuery("#newsletterFrm .btn-submit").html('<i class="fa fa-arrow-circle-right"></i>')},2500))},newsletterBtn:function(){jQuery("#newsletterFrm").submit(init.newsletterSubmit)},contactSubmit:function(){var e=jQuery("#contactfrm");return jQuery("#contactfrm .btn-submit").html('<i class="fa fa-spinner fa-spin"></i>'),jQuery.ajax({url:ajaxurl,type:e.attr("method"),data:{firstname:jQuery("#firstname").val(),lastname:jQuery("#lastname").val(),company:jQuery("#company").val(),title:jQuery("#title").val(),emailaddress:jQuery("#emailaddress").val(),interest:jQuery("#interest").val(),message:jQuery("#message").val(),action:"sendContact"},dataType:"html",beforeSubmit:function(e,t,n){e.push({name:"nonce",value:meta.nonce})},success:function(e){init.contactResponse(e)}}),!1},contactResponse:function(e){jQuery("#contactfrm .btn-submit i").remove(),"Success"===e&&(jQuery("#contactfrm .btn-submit").replaceWith('<button class="btn btn-submit success"><i class="fa fa-check"></i></button>'),jQuery("input").val(""),jQuery("textarea").val(""),jQuery(".dropdown button").html('Area of interest <i class="fa fa-angle-down"></i>'),setTimeout(function(){jQuery("#contactfrm .btn-submit").replaceWith('<button class="btn btn-submit">Submit</button>')},2500)),"E"===e&&(jQuery("#contactfrm .btn-submit").replaceWith('<button class="btn btn-submit error"><i class="fa fa-ban"></i></button>'),setTimeout(function(){jQuery("#contactfrm .btn-submit").replaceWith('<button class="btn btn-submit">Submit</button>')},2500))},partnershipSubmit:function(){var e=jQuery("#partnershipfrm");return jQuery("#partnershipfrm .btn-submit").html('<i class="fa fa-spinner fa-spin"></i>'),jQuery.ajax({url:ajaxurl,type:e.attr("method"),data:{name:jQuery("#name").val(),emailaddress:jQuery("#emailaddress").val(),phone:jQuery("#phone").val(),title:jQuery("#title").val(),company:jQuery("#company").val(),pType:jQuery("#pType").val(),action:"sendPartnership"},dataType:"html",beforeSubmit:function(e,t,n){e.push({name:"nonce",value:meta.nonce})},success:function(e){init.partnershipResponse(e)}}),!1},partnershipResponse:function(e){jQuery("#partnershipfrm .btn-submit i").remove(),"Success"===e&&(jQuery("#partnershipfrm .btn-submit").replaceWith('<button class="btn btn-submit success"><i class="fa fa-check"></i></button>'),jQuery("input").val(""),jQuery("textarea").val(""),jQuery(".dropdown button").html('Type of Partnership <i class="fa fa-angle-down"></i>'),setTimeout(function(){jQuery("#partnershipfrm .btn-submit").replaceWith('<button class="btn btn-submit">Submit</button>')},2500)),"E"===e&&(jQuery("#partnershipfrm .btn-submit").replaceWith('<button class="btn btn-submit error"><i class="fa fa-ban"></i></button>'),setTimeout(function(){jQuery("#partnershipfrm .btn-submit").replaceWith('<button class="btn btn-submit">Submit</button>')},2500))},frmBtn:function(){jQuery("#contactfrm").submit(init.contactSubmit),jQuery("#partnershipfrm").submit(init.partnershipSubmit)}};jQuery(document).ready(function(){move.onMove(),init.onReady(),isMobile||(jQuery(".featureVid").click(function(){jQuery("#videoModal").addClass("show"),jQuery("#videoModal .inner").prepend('<iframe src="https://youtube.com/embed/MY59hjU9K3Y?rel=0&autoplay=true" frameborder="0" allowfullscreen></iframe>')}),jQuery("#videoModal .close").click(function(){jQuery("#videoModal").removeClass("show"),jQuery("#videoModal iframe").remove()}))});