function showAllPeople(n){n.preventDefault();people=document.getElementById("profile-items");var t=0;$(people).children().each(function(){t++;t==4?$(this).hide():t==5?($(this).fadeIn(1e3),$("html, body").animate({scrollTop:$(this).offset().top},1e3)):$(this).fadeIn(1e3)})}function setMap(n,t){var i={center:new google.maps.LatLng(n,t),zoom:17,mapTypeId:google.maps.MapTypeId.ROADMAP},r=new google.maps.Map(document.getElementById("map-canvas"),i),u=new google.maps.Marker({position:new google.maps.LatLng(n,t),map:r,title:"Datacom"})}+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),typeof i=="object"&&i),e=typeof i=="string"?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));typeof i=="number"?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})}var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=this.sliding=this.interval=this.$active=this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this));this.options.pause!="hover"||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",n.proxy(this.pause,this)).on("mouseleave.bs.carousel",n.proxy(this.cycle,this))},u,r;t.VERSION="3.3.2";t.TRANSITION_DURATION=600;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0};t.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)};t.prototype.getItemForDirection=function(n,t){var i=this.getItemIndex(t),f=n=="prev"&&i===0||n=="next"&&i==this.$items.length-1,r,u;return f&&!this.options.wrap?t:(r=n=="prev"?-1:1,u=(i+r)%this.$items.length,this.$items.eq(u))};t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1)&&!(n<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(n)}):t==n?this.pause().cycle():this.slide(n>t?"next":"prev",this.$items.eq(n))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(i,r){var e=this.$element.find(".item.active"),u=r||this.getItemForDirection(i,e),l=this.interval,f=i=="next"?"left":"right",a=this,o,s,h,c;return u.hasClass("active")?this.sliding=!1:(o=u[0],s=n.Event("slide.bs.carousel",{relatedTarget:o,direction:f}),this.$element.trigger(s),s.isDefaultPrevented())?void 0:(this.sliding=!0,l&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),h=n(this.$indicators.children()[this.getItemIndex(u)]),h&&h.addClass("active")),c=n.Event("slid.bs.carousel",{relatedTarget:o,direction:f}),n.support.transition&&this.$element.hasClass("slide")?(u.addClass(i),u[0].offsetWidth,e.addClass(f),u.addClass(f),e.one("bsTransitionEnd",function(){u.removeClass([i,f].join(" ")).addClass("active");e.removeClass(["active",f].join(" "));a.sliding=!1;setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(c)),l&&this.cycle(),this)};u=n.fn.carousel;n.fn.carousel=i;n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this};r=function(t){var o,r=n(this),u=n(r.attr("data-target")||(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")),e,f;u.hasClass("carousel")&&(e=n.extend({},u.data(),r.data()),f=r.attr("data-slide-to"),f&&(e.interval=!1),i.call(u,e),f&&u.data("bs.carousel").to(f),t.preventDefault())};n(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r);n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);$(document).ready(function(){document.documentElement.clientWidth<=768?$(".carousel").attr("data-interval","false"):$(".carousel").attr("data-interval","5000")});$(document).ready(function(){$.ajax({url:"http://ip-api.com/json",data:{format:"json"},dataType:"json",success:function(n){info=n.regionName;switch(info.toLowerCase()){case"auckland":setMap(-36.851088,174.761417);break;case"wellington":setMap(-41.287841,174.778097);break;default:setMap(-36.851088,174.761417)}}})});$(document).ready(function(){var n;people=document.getElementById("profile-items");document.documentElement.clientWidth<=750?(n=0,$(people).children().each(function(){n++;n==4?$(this).fadeIn(0):n>4&&$(this).hide()})):document.documentElement.clientWidth>750&&(n=0,$(people).children().each(function(){n++;n!=4?$(this).fadeIn(0):$(this).hide()}))});$(document).ready(function(){image=document.getElementById("q-card");image.src=document.documentElement.clientWidth>=992?"./App_Themes/Datacom/img/mobile-innovation/carousel/q-card-hand.png":"./App_Themes/Datacom/img/mobile-innovation/carousel/q-card.png"});$(window).load(function(){photos=document.getElementsByClassName("profile-img");var n=0;jQuery(photos).each(function(){$(this).height()>n&&(n=$(this).height())});jQuery(photos).each(function(){$(this).height(n)})});$(window).resize(function(){var n;people=document.getElementById("profile-items");document.documentElement.clientWidth<=750?(n=0,$(people).children().each(function(){n++;n==4?$(this).fadeIn(0):n>4&&$(this).hide()})):document.documentElement.clientWidth>750&&(n=0,$(people).children().each(function(){n++;n!=4?$(this).fadeIn(0):$(this).hide()}));image=document.getElementById("q-card");image.src=document.documentElement.clientWidth>=992?"./App_Themes/Datacom/img/mobile-innovation/carousel/q-card-hand.png":"./App_Themes/Datacom/img/mobile-innovation/carousel/q-card.png"})