function RegisterInterestSucceeded(n){n?($("#divRegisterInterestForm").hide(),$("#divRegisterInterestSuccess").fadeIn("fast"),$("html,body").animate({scrollTop:$("#divRegisterInterestSuccess").offset().top-20},500)):(enableRegisterInterestSubmit(),alert('Please make sure you have entered a valid email address and have ticked the "I\'m not a robot" box.'))}function RegisterInterestBegin(){$("#btnSubmitRegisterInterest").attr("disabled","disabled");$("#btnSubmitRegisterInterest").val("Sending...")}function RegisterInterestFailed(){enableRegisterInterestSubmit();alert("Sorry, something went wrong and your contact request could not be completed.")}function enableRegisterInterestSubmit(){$("#btnSubmitRegisterInterest").val(registerInterestButtonText);$("#btnSubmitRegisterInterest").removeAttr("disabled")}(function(n){n.fn.prettySocial=function(){var i={pinterest:{url:"http://pinterest.com/pin/create/button/?url={{url}}&media={{media}}&description={{description}}",popup:{width:685,height:500}},facebook:{url:"https://www.facebook.com/sharer/sharer.php?s=100&p[title]={{title}}&p[summary]={{description}}&p[url]={{url}}&p[images][0]={{media}}",popup:{width:626,height:436}},twitter:{url:"https://twitter.com/share?url={{url}}&via={{via}}&text={{description}}",popup:{width:685,height:500}},googleplus:{url:"https://plus.google.com/share?url={{url}}",popup:{width:600,height:600}},linkedin:{url:"https://www.linkedin.com/shareArticle?mini=true&url={{url}}&title={{title}}&summary={{description}}+&source={{via}}",popup:{width:600,height:600}}},t=function(n,t){var i=window.innerWidth/2-n.popup.width/2,r=window.innerHeight/2-n.popup.height/2;return window.open(t,"","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width="+n.popup.width+", height="+n.popup.height+", top="+r+", left="+i)},r=function(n,t){return n.url.replace(/{{url}}/g,encodeURIComponent(t.url)).replace(/{{title}}/g,encodeURIComponent(t.title)).replace(/{{description}}/g,encodeURIComponent(t.description)).replace(/{{media}}/g,encodeURIComponent(t.media)).replace(/{{via}}/g,encodeURIComponent(t.via))};return this.each(function(){var u=n(this),s=u.data("type"),f=i[s]||null,o,e;f||n.error("Social site is not set.");o={url:u.data("url")||"",title:u.data("title")||"",description:u.data("description")||"",media:u.data("media")||"",via:u.data("via")||""};e=r(f,o);navigator.userAgent.match(/Android|IEMobile|BlackBerry|iPhone|iPad|iPod|Opera Mini/i)?u.bind("touchstart",function(n){n.originalEvent.touches.length>1||u.data("touchWithoutScroll",!0)}).bind("touchmove",function(){u.data("touchWithoutScroll",!1);return}).bind("touchend",function(n){n.preventDefault();var i=u.data("touchWithoutScroll");n.originalEvent.touches.length>1||!i||t(f,e)}):u.bind("click",function(n){n.preventDefault();t(f,e)})})}})(jQuery),function(n){"use strict";n(["jquery"],function(n){function r(t){return!t.nodeName||n.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])!==-1}function i(t){return n.isFunction(t)||n.isPlainObject(t)?t:{top:t,left:t}}var t=n.scrollTo=function(t,i,r){return n(window).scrollTo(t,i,r)};return t.defaults={axis:"xy",duration:0,limit:!0},n.fn.scrollTo=function(u,f,e){typeof f=="object"&&(e=f,f=0);typeof e=="function"&&(e={onAfter:e});u==="max"&&(u=9e9);e=n.extend({},t.defaults,e);f=f||e.duration;var o=e.queue&&e.axis.length>1;return o&&(f/=2),e.offset=i(e.offset),e.over=i(e.over),this.each(function(){function p(t){var i=n.extend({},e,{queue:!0,duration:f,complete:t&&function(){t.call(c,s,e)}});a.animate(h,i)}var y;if(u!==null){var l=r(this),c=l?this.contentWindow||window:this,a=n(c),s=u,h={},v;switch(typeof s){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(s)){s=i(s);break}if(s=l?n(s):n(s,c),!s.length)return;case"object":(s.is||s.style)&&(v=(s=n(s)).offset())}y=n.isFunction(e.offset)&&e.offset(c,s)||e.offset;n.each(e.axis.split(""),function(n,i){var w=i==="x"?"Left":"Top",u=w.toLowerCase(),r="scroll"+w,b=a[r](),k=t.max(c,i),f;v?(h[r]=v[u]+(l?0:b-a.offset()[u]),e.margin&&(h[r]-=parseInt(s.css("margin"+w),10)||0,h[r]-=parseInt(s.css("border"+w+"Width"),10)||0),h[r]+=y[u]||0,e.over[u]&&(h[r]+=s[i==="x"?"width":"height"]()*e.over[u])):(f=s[u],h[r]=f.slice&&f.slice(-1)==="%"?parseFloat(f)/100*k:f);e.limit&&/^\d+$/.test(h[r])&&(h[r]=h[r]<=0?0:Math.min(h[r],k));!n&&e.axis.length>1&&(b===h[r]?h={}:o&&(p(e.onAfterFirst),h={}))});p(e.onAfter)}})},t.max=function(t,i){var u=i==="x"?"Width":"Height",f="scroll"+u;if(!r(t))return t[f]-n(t)[u.toLowerCase()]();var e="client"+u,o=t.ownerDocument||t.document,s=o.documentElement,h=o.body;return Math.max(s[f],h[f])-Math.min(s[e],h[e])},n.Tween.propHooks.scrollLeft=n.Tween.propHooks.scrollTop={get:function(t){return n(t.elem)[t.prop]()},set:function(t){var r=this.get(t),i;if(t.options.interrupt&&t._last&&t._last!==r)return n(t.elem).stop();i=Math.round(t.now);r!==i&&(n(t.elem)[t.prop](i),t._last=this.get(t))}},t})}(typeof define=="function"&&define.amd?define:function(n,t){"use strict";typeof module!="undefined"&&module.exports?module.exports=t(require("jquery")):t(jQuery)}),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){function i(t,i,r){var f=i.hash.slice(1),u=document.getElementById(f)||document.getElementsByName(f)[0],e,o,s;u&&((t&&t.preventDefault(),e=n(r.target),r.lock&&e.is(":animated")||r.onBefore&&r.onBefore(t,u,e)===!1)||(r.stop&&e.stop(!0),r.hash&&(o=u.id===f?"id":"name",s=n("<a> <\/a>").attr(o,f).css({position:"absolute",top:n(window).scrollTop(),left:n(window).scrollLeft()}),u[o]="",n("body").prepend(s),location.hash=i.hash,s.remove(),u[o]=f),e.scrollTo(u,r).trigger("notify.serialScroll",[u])))}var r=location.href.replace(/#.*/,""),t=n.localScroll=function(t){n("body").localScroll(t)};return t.defaults={duration:1e3,axis:"y",event:"click",stop:!0,target:window},n.fn.localScroll=function(u){function f(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,"")===r&&(!u.filter||n(this).is(u.filter))}return u=n.extend({},t.defaults,u),u.hash&&location.hash&&(u.target&&window.scrollTo(0,0),i(0,location,u)),u.lazy?this.on(u.event,"a,area",function(n){f.call(this)&&i(n,this,u)}):this.find("a,area").filter(f).bind(u.event,function(n){i(n,this,u)}).end().end()},t.hash=function(){},t});jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return jQuery.easing[jQuery.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return t==0?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(-Math.pow(2,-10*t/u)+1)+i},easeInOutExpo:function(n,t,i,r,u){return t==0?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u)==1?i+r:(f||(f=u*.3),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),-(e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f))+i)},easeOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u)==1?i+r:(f||(f=u*.3),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin((t*u-o)*2*Math.PI/f)+r+i)},easeInOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u/2)==2?i+r:(f||(f=u*.3*1.5),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),t<1)?-.5*e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)+i:e*Math.pow(2,-10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)*.5+r+i},easeInBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return(f==undefined&&(f=1.70158),(t/=u/2)<1)?r/2*t*t*(((f*=1.525)+1)*t-f)+i:r/2*((t-=2)*t*(((f*=1.525)+1)*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-jQuery.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return t<u/2?jQuery.easing.easeInBounce(n,t*2,0,r,u)*.5+i:jQuery.easing.easeOutBounce(n,t*2-u,0,r,u)*.5+r*.5+i}});var registerInterestButtonText=$("#btnSubmitRegisterInterest").val();$(document).ready(function(){$.localScroll({target:"body",queue:!1,hash:!1,duration:500,offset:-80,easing:"easeOutQuad"});$("div.carousel-item:odd").addClass("odd");$("div.carousel-item:even").addClass("even");var t=$("meta[property=og\\:title]").attr("content"),i=$("meta[property=og\\:description]").attr("content"),n=$("meta[property=og\\:site_name]").attr("content"),r=$("meta[property=og\\:url]").attr("content"),u=$("meta[property=og\\:image]").attr("content");$("a.prettySocial").attr({"data-title":t,"data-description":i,"data-site_name":n,"data-url":r,"data-media":u});$("a.prettySocial.fa-twitter, a.prettySocial.fa-linkedin").attr("data-via",n);$(".prettySocial").prettySocial();$("#mRegisterTrigger").click(function(){return $("#mLogin").hide(),$("#mRegister").fadeIn(500),!1});$("#mLoginTrigger").click(function(){return $("#mRegister").hide(),$("#mLogin").fadeIn(500),!1});$(".closeForm").click(function(){return $(this).closest("div").slideUp(),!1});$("#closeModal-mobile").click(function(){return $("article.thanksModal-mobile").slideUp(),!1})});$(function(){function s(){f.toggleClass(o);i.toggleClass(v);r.toggleClass(y);e.toggleClass(p)}function h(){f.addClass(o);i.animate({left:"0px"},t);r.animate({left:u},t);e.animate({left:u},t)}function c(){f.removeClass(o);i.animate({left:"-"+u},t);r.animate({left:"0px"},t);e.animate({left:"0px"},t)}var i=$(".pushy"),f=$("body"),r=$("#container"),e=$(".push"),l=$(".site-overlay"),v="pushy-right pushy-open",o="pushy-active",y="container-push",p="push-push",a=$(".menu-btn"),t=200,u=i.width()+"px",n;(cssTransforms3d=function(){var n=document.createElement("p"),t=!1,r={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"},i;document.body.insertBefore(n,null);for(i in r)void 0!==n.style[i]&&(n.style[i]="translate3d(1px,1px,1px)",t=window.getComputedStyle(n).getPropertyValue(r[i]));return document.body.removeChild(n),void 0!==t&&t.length>0&&"none"!==t}())?(a.click(function(){s()}),l.click(function(){s()})):(i.css({left:"-"+u}),r.css({"overflow-x":"hidden"}),n=!0,a.click(function(){n?(h(),n=!1):(c(),n=!0)}),l.click(function(){n?(h(),n=!1):(c(),n=!0)}))})