function createCookie(n,t,i){var u="",r;i&&(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString());document.cookie=n+"="+t+u+"; path=/"}function readCookie(n){for(var r=n+"=",u=document.cookie.split(";"),t,i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return null}var wwwV8=wwwV8||{};(function(n,t,i){"use strict";var r=t.querySelector(".masonry-container"),s,l;if(!r){i.masonry=null;return}var f=310,e=1,h=0,u=[],c=function(n){return Math.min(Math.floor(n/f),e)},a=function(){var p,o,s,i,a,v,w,h;if(u=t.querySelectorAll(".masonry-container > section, .masonry-container > article"),u.length){for(r.style.position="relative",p=r.querySelectorAll(".masonry-container > .js-masonry-prepositioned"),o=Array.apply(null,Array(e)).map(function(){return 0}),s=0;s<p.length;s++){var i=p[s],k=c(i.offsetLeft),d=c(i.offsetLeft+i.offsetWidth-1);for(h=k;h<=d;h++)o[h]=Math.max(i.offsetTop+i.offsetHeight,o[h])}for(s=0;s<u.length;s++)if(i=u[s],!i.classList.contains("js-masonry-prepositioned")){for(a=o.indexOf(Math.min.apply(Math,o)),i.classList.contains("js-masonry-measure")?(v=Math.min(l(i),o.length),v>o.length-a&&(a=0)):v=1,i.style.position="absolute",i.style.top=o[a]+"px",i.style.left=f*a+"px",w=n.getComputedStyle(i),h=0;h<v;h++)o[a+h]+=i.offsetHeight+parseInt(w.marginTop)+parseInt(w.marginBottom);if(i.classList.contains("js-masonry-spacer")){var b=0,y=t.querySelector(".masonry-container > article"),g=Array.prototype.slice.call(u,0,s);b=y&&g.indexOf(y)>-1?y.offsetTop+y.offsetHeight:Math.max.apply(Math,o);o=o.map(function(n){return Math.max(b,n)})}}r.style.height=Math.max.apply(null,o)+"px"}},v=function(){r.style.position="";r.style.height="";for(var n=0;n<u.length;n++)u[n].style.position=""},o=function(n){var i=s(),r=t.querySelector("aside.newsfeed")||{offsetWidth:0},u=n||e!=i||r.offsetWidth!=h;e=i;h=r.offsetWidth;u&&(i==1?v():a())};n.addEventListener("resize",function(){o()});s=function(){return Math.max(Math.floor(r.offsetWidth/f),1)};l=function(t){var i=n.getComputedStyle(t);return Math.max(Math.ceil((t.offsetWidth+parseInt(i.marginLeft)+parseInt(i.marginRight))/f),1)};o();i.masonry={container:r,getColumnCount:s,update:o}})(window,document,wwwV8),function(n){function p(n){return Object.prototype.toString.call(n)=="[object Function]"}function w(n){return Object.prototype.toString.call(n)=="[object Array]"}function tt(n,t){var i=/^\w+\:\/\//;return/^\/\/\/?/.test(n)?n=location.protocol+n:i.test(n)||n.charAt(0)=="/"||(n=(t||"")+n),i.test(n)?n:(n.charAt(0)=="/"?a:l)+n}function u(n,t){for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t}function it(n){for(var i=!1,t=0;t<n.scripts.length;t++)n.scripts[t].ready&&n.scripts[t].exec_trigger&&(i=!0,n.scripts[t].exec_trigger(),n.scripts[t].exec_trigger=null);return i}function f(n,t,i,r){n.onload=n.onreadystatechange=function(){n.readyState&&n.readyState!="complete"&&n.readyState!="loaded"||t[i]||(n.onload=n.onreadystatechange=null,r())}}function b(n){n.ready=n.finished=!0;for(var t=0;t<n.finished_listeners.length;t++)n.finished_listeners[t]();n.ready_listeners=[];n.finished_listeners=[]}function rt(n,i,u,e,s){setTimeout(function(){var h,c=i.real_src,l;if("item"in t){if(!t[0]){setTimeout(arguments.callee,25);return}t=t[0]}h=document.createElement("script");i.type&&(h.type=i.type);i.charset&&(h.charset=i.charset);s?r?(u.elem=h,v?(h.preload=!0,h.onpreload=e):h.onreadystatechange=function(){h.readyState=="loaded"&&e()},h.src=c):s&&c.indexOf(a)==0&&n[o]?(l=new XMLHttpRequest,l.onreadystatechange=function(){l.readyState==4&&(l.onreadystatechange=function(){},u.text=l.responseText+"\n//@ sourceURL="+c,e())},l.open("GET",c),l.send()):(h.type="text/cache-script",f(h,u,"ready",function(){t.removeChild(h);e()}),h.src=c,t.insertBefore(h,t.firstChild)):y?(h.async=!1,f(h,u,"finished",e),h.src=c,t.insertBefore(h,t.firstChild)):(f(h,u,"finished",e),h.src=c,t.insertBefore(h,t.firstChild))},0)}function k(){function ut(n,i,r){function o(){u!=null&&(u=null,b(r))}var u;v[i.src].finished||(n[e]||(v[i.src].finished=!0),u=r.elem||document.createElement("script"),i.type&&(u.type=i.type),i.charset&&(u.charset=i.charset),f(u,r,"finished",o),r.elem?r.elem=null:r.text?(u.onload=u.onreadystatechange=null,u.text=r.text):u.src=i.real_src,t.insertBefore(u,t.firstChild),r.text&&o())}function ft(n,t,i,r){var u,f,s=function(){t.ready_cb(t,function(){ut(n,t,u)})},o=function(){t.finished_cb(t,i)};t.src=tt(t.src,n[c]);t.real_src=t.src+(n[h]?(/\?.*$/.test(t.src)?"&_":"?_")+~~(Math.random()*1e9)+"=":"");v[t.src]||(v[t.src]={items:[],finished:!1});f=v[t.src].items;n[e]||f.length==0?(u=f[f.length]={ready:!1,finished:!1,ready_listeners:[s],finished_listeners:[o]},rt(n,t,u,r?function(){u.ready=!0;for(var n=0;n<u.ready_listeners.length;n++)u.ready_listeners[n]();u.ready_listeners=[]}:function(){b(u)},r)):(u=f[0],u.finished?o():u.finished_listeners.push(o))}function y(){function c(n,t){n.ready=!0;n.exec_trigger=t;h()}function l(n,t){n.ready=n.finished=!0;n.exec_trigger=null;for(var i=0;i<t.scripts.length;i++)if(!t.scripts[i].finished)return;t.finished=!0;h()}function h(){while(f<n.length){if(p(n[f])){try{n[f++]()}catch(i){}continue}else if(!n[f].finished){if(it(n[f]))continue;break}f++}f==n.length&&(o=!1,t=!1)}function a(){t&&t.scripts||n.push(t={scripts:[],finished:!0})}var r,e=u(i,{}),n=[],f=0,o=!1,t;return r={script:function(){for(var n=0;n<arguments.length;n++)(function(n,i){var h,f;for(w(n)||(i=[n]),f=0;f<i.length;f++)if(a(),n=i[f],p(n)&&(n=n()),n){if(w(n)){h=[].slice.call(n);h.unshift(f,1);[].splice.apply(i,h);f--;continue}typeof n=="string"&&(n={src:n});n=u(n,{ready:!1,ready_cb:c,finished:!1,finished_cb:l});t.finished=!1;t.scripts.push(n);ft(e,n,t,g&&o);o=!0;e[s]&&r.wait()}})(arguments[n],arguments[n]);return r},wait:function(){if(arguments.length>0){for(var i=0;i<arguments.length;i++)n.push(arguments[i]);t=n[n.length-1]}else t=!1;return h(),r}},{script:r.script,wait:r.wait,setOptions:function(n){return u(n,e),r}}}var i={},g=r||nt,l=[],v={},a;return i[o]=!0,i[s]=!1,i[e]=!1,i[h]=!1,i[c]="",a={setGlobalDefaults:function(n){return u(n,i),a},setOptions:function(){return y().setOptions.apply(null,arguments)},script:function(){return y().script.apply(null,arguments)},wait:function(){return y().wait.apply(null,arguments)},queueScript:function(){return l[l.length]={type:"script",args:[].slice.call(arguments)},a},queueWait:function(){return l[l.length]={type:"wait",args:[].slice.call(arguments)},a},runQueue:function(){for(var n=a,i=l.length,r=i,t;--r>=0;)t=l.shift(),n=n[t.type].apply(null,t.args);return n},noConflict:function(){return n.$LAB=d,a},sandbox:function(){return k()}}}var d=n.$LAB,o="UseLocalXHR",s="AlwaysPreserveOrder",e="AllowDuplicates",h="CacheBust",c="BasePath",l=/^[^?#]*\//.exec(location.href)[0],a=/^\w+\:\/\/\/?[^\/]+/.exec(l)[0],t=document.head||document.getElementsByTagName("head"),g=n.opera&&Object.prototype.toString.call(n.opera)=="[object Opera]"||"MozAppearance"in document.documentElement.style,i=document.createElement("script"),v=typeof i.preload=="boolean",r=v||i.readyState&&i.readyState=="uninitialized",y=!r&&i.async===!0,nt=!r&&!y&&!g;n.$LAB=k(),function(n,t,i){document.readyState==null&&document[n]&&(document.readyState="loading",document[n](t,i=function(){document.removeEventListener(t,i,!1);document.readyState="complete"},!1))}("addEventListener","DOMContentLoaded")}(this);wwwV8=wwwV8||{},function(n,t){"use strict";var i,r;t.options={mobileBreakpoint:640};t.forEach=function(n,t,i){for(var u=n.length,r=0;r<u;r++)t.call(i,n[r],r,n)};t.triggerCustomEvent=function(t,i){var r=n.createEvent("Events");r.initEvent(i,!0,!0);t.dispatchEvent(r)};t.ajax=function(n){n.method=n.method.toUpperCase()||"GET";n.params=n.params||{};n.method=="GET"&&(n.url+="?"+Object.keys(n.params).map(function(t){return t+"="+n.params[t]}).join("&"));var t=new XMLHttpRequest;t.open(n.method,n.url,!0);n.hasOwnProperty("success")&&t.addEventListener("load",function(){t.status>=200&&t.status<400?n.success(t.responseText):n.error&&n.error()});n.hasOwnProperty("error")&&t.addEventListener("error",n.error);n.method=="POST"?(t.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),t.send(n.params)):t.send()};n.documentElement.classList.remove("nojs"),function(){var i,r,u;Modernizr.placeholder||(i=function(n){n=n||window.event;var t=n.target||n.srcElement;t.value==t.getAttribute("placeholder")&&(t.value="",t.classList.remove("placeholder"))},r=function(n){n=n||window.event;var t=n.target||n.srcElement;(t.value==""||t.value==t.getAttribute("placeholder"))&&(t.value=t.getAttribute("placeholder"),t.classList.add("placeholder"))},t.forEach(n.querySelectorAll("[placeholder]"),function(n){n.addEventListener("focus",i);n.addEventListener("blur",r);n.blur()}),u=function(n){n=n||window.event;var i=n.target||n.srcElement;t.forEach(i.querySelectorAll("[placeholder]"),function(n){n.value==n.getAttribute("placeholder")&&(n.value="")})},t.forEach(n.querySelectorAll("form"),function(n){n.querySelector("[placeholder]")&&n.addEventListener("submit",u)}))}();t.load=t.load||$LAB.setOptions({AllowDuplicates:!1});i=n.querySelector("#share-article-modal");i&&(r=i.querySelector(".share-url input"),r.addEventListener("click",function(){this.focus();this.select()})),function(){var r=n.location.pathname.split("/"),i;if(r.length>2){var t={"poll/125066":"stateofstates","poll/142631":"usleadership","poll/145913":"communitywellbeing","poll/145487":"employment","gallupcareers/178535":"selectionprocess","poll/154559":"electioncenter","interactives/185273":"pjac"}[r[1]+"/"+r[2]],u=!0,f=$LAB.queueScript("/Assets/Javascript/jquery-2.1.3.min.js").queueScript("//ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js").queueWait();switch(t){case"stateofstates":n.querySelector(".soslWrapper").style.display="none";break;case"employment":u=!1;break;case"pjac":f.queueScript("/Site-WwwV8/JavaScript/highcharts/data.js").queueScript("/Site-WwwV8/JavaScript/highcharts/highcharts.js").queueWait()}t&&(!0&&f.queueScript("/Site-WwwV8/JavaScript/Interactives/interactive-"+t+".js").runQueue(),u&&(i=n.createElement("link"),i.rel="stylesheet",i.href="/Site-WwwV8/CSS/Interactives/interactive-"+t+".css",n.head.appendChild(i)))}}()}(document,wwwV8),function(n){function s(){t.setAttribute("content",y);i=!0}function l(){t.setAttribute("content",v);i=!1}function a(t){r=t.accelerationIncludingGravity;f=Math.abs(r.x);e=Math.abs(r.y);o=Math.abs(r.z);(!n.orientation||n.orientation===180)&&(f>7||(o>6&&e<8||o<8&&e>6)&&f>5)?i&&l():i||s()}var h=navigator.userAgent,u;if(/iPhone|iPad|iPod/.test(navigator.platform)&&/OS [1-5]_[0-9_]* like Mac OS X/i.test(h)&&h.indexOf("AppleWebKit")>-1&&(u=n.document,u.querySelector)){var t=u.querySelector("meta[name=viewport]"),c=t&&t.getAttribute("content"),v=c+",maximum-scale=1",y=c+",maximum-scale=10",i=!0,f,e,o,r;t&&(n.addEventListener("orientationchange",s,!1),n.addEventListener("devicemotion",a,!1))}}(this),function(){function t(){}function r(n,t){for(var i=n.length;i--;)if(n[i].listener===t)return i;return-1}function i(n){return function(){return this[n].apply(this,arguments)}}var n=t.prototype,u=this,f=u.EventEmitter;n.getListeners=function(n){var r,t,i=this._getEvents();if("object"==typeof n){r={};for(t in i)i.hasOwnProperty(t)&&n.test(t)&&(r[t]=i[t])}else r=i[n]||(i[n]=[]);return r};n.flattenListeners=function(n){for(var i=[],t=0;n.length>t;t+=1)i.push(n[t].listener);return i};n.getListenersAsObject=function(n){var t,i=this.getListeners(n);return i instanceof Array&&(t={},t[n]=i),t||i};n.addListener=function(n,t){var i,u=this.getListenersAsObject(n),f="object"==typeof t;for(i in u)u.hasOwnProperty(i)&&-1===r(u[i],t)&&u[i].push(f?t:{listener:t,once:!1});return this};n.on=i("addListener");n.addOnceListener=function(n,t){return this.addListener(n,{listener:t,once:!0})};n.once=i("addOnceListener");n.defineEvent=function(n){return this.getListeners(n),this};n.defineEvents=function(n){for(var t=0;n.length>t;t+=1)this.defineEvent(n[t]);return this};n.removeListener=function(n,t){var f,i,u=this.getListenersAsObject(n);for(i in u)u.hasOwnProperty(i)&&(f=r(u[i],t),-1!==f&&u[i].splice(f,1));return this};n.off=i("removeListener");n.addListeners=function(n,t){return this.manipulateListeners(!1,n,t)};n.removeListeners=function(n,t){return this.manipulateListeners(!0,n,t)};n.manipulateListeners=function(n,t,i){var r,u,f=n?this.removeListener:this.addListener,e=n?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=i.length;r--;)f.call(this,t,i[r]);else for(r in t)t.hasOwnProperty(r)&&(u=t[r])&&("function"==typeof u?f.call(this,r,u):e.call(this,r,u));return this};n.removeEvent=function(n){var t,r=typeof n,i=this._getEvents();if("string"===r)delete i[n];else if("object"===r)for(t in i)i.hasOwnProperty(t)&&n.test(t)&&delete i[t];else delete this._events;return this};n.removeAllListeners=i("removeEvent");n.emitEvent=function(n,t){var i,f,r,e,u=this.getListenersAsObject(n);for(r in u)if(u.hasOwnProperty(r))for(f=u[r].length;f--;)i=u[r][f],i.once===!0&&this.removeListener(n,i.listener),e=i.listener.apply(this,t||[]),e===this._getOnceReturnValue()&&this.removeListener(n,i.listener);return this};n.trigger=i("emitEvent");n.emit=function(n){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(n,t)};n.setOnceReturnValue=function(n){return this._onceReturnValue=n,this};n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0};n._getEvents=function(){return this._events||(this._events={})};t.noConflict=function(){return u.EventEmitter=f,t};"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(n){function f(t){var i=n.event;return i.target=i.target||i.srcElement||t,i}var t=document.documentElement,r=function(){},i,u;t.addEventListener?r=function(n,t,i){n.addEventListener(t,i,!1)}:t.attachEvent&&(r=function(n,t,i){n[t+i]=i.handleEvent?function(){var t=f(n);i.handleEvent.call(i,t)}:function(){var t=f(n);i.call(n,t)};n.attachEvent("on"+t,n[t+i])});i=function(){};t.removeEventListener?i=function(n,t,i){n.removeEventListener(t,i,!1)}:t.detachEvent&&(i=function(n,t,i){n.detachEvent("on"+t,n[t+i]);try{delete n[t+i]}catch(r){n[t+i]=void 0}});u={bind:r,unbind:i};"function"==typeof define&&define.amd?define("eventie/eventie",u):n.eventie=u}(this),function(n,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(i,r){return t(n,i,r)}):"object"==typeof exports?module.exports=t(n,require("wolfy87-eventemitter"),require("eventie")):n.imagesLoaded=t(n,n.EventEmitter,n.eventie)}(window,function(n,t,i){function s(n,t){for(var i in t)n[i]=t[i];return n}function c(n){return"[object Array]"===v.call(n)}function l(n){var t=[],i,r;if(c(n))t=n;else if("number"==typeof n.length)for(i=0,r=n.length;r>i;i++)t.push(n[i]);else t.push(n);return t}function r(n,t,i){if(!(this instanceof r))return new r(n,t);"string"==typeof n&&(n=document.querySelectorAll(n));this.elements=l(n);this.options=s({},this.options);"function"==typeof t?i=t:s(this.options,t);i&&this.on("always",i);this.getImages();f&&(this.jqDeferred=new f.Deferred);var u=this;setTimeout(function(){u.check()})}function e(n){this.img=n}function u(n){this.src=n;o[n]=this}var f=n.jQuery,h=n.console,a=h!==void 0,v=Object.prototype.toString,o;return r.prototype=new t,r.prototype.options={},r.prototype.getImages=function(){var i,u,n,t,e;for(this.images=[],i=0,u=this.elements.length;u>i;i++)if(n=this.elements[i],"IMG"===n.nodeName&&this.addImage(n),t=n.nodeType,t&&(1===t||9===t||11===t))for(var f=n.querySelectorAll("img"),r=0,o=f.length;o>r;r++)e=f[r],this.addImage(e)},r.prototype.addImage=function(n){var t=new e(n);this.images.push(t)},r.prototype.check=function(){function f(n,r){return t.options.debug&&a&&h.log("confirm",n,r),t.progress(n),u++,u===i&&t.complete(),!0}var t=this,u=0,i=this.images.length,n,r;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(n=0;i>n;n++)r=this.images[n],r.on("confirm",f),r.check()},r.prototype.progress=function(n){this.hasAnyBroken=this.hasAnyBroken||!n.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,n);t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,n)})},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done",n;this.isComplete=!0;n=this;setTimeout(function(){if(n.emit(t,n),n.emit("always",n),n.jqDeferred){var i=n.hasAnyBroken?"reject":"resolve";n.jqDeferred[i](n)}})},f&&(f.fn.imagesLoaded=function(n,t){var i=new r(this,n,t);return i.jqDeferred.promise(f(this))}),e.prototype=new t,e.prototype.check=function(){var n=o[this.img.src]||new u(this.img.src),t;if(n.isConfirmed)return this.confirm(n.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;t=this;n.on("confirm",function(n,i){return t.confirm(n.isLoaded,i),!0});n.check()},e.prototype.confirm=function(n,t){this.isLoaded=n;this.emit("confirm",this,t)},o={},u.prototype=new t,u.prototype.check=function(){if(!this.isChecked){var n=new Image;i.bind(n,"load",this);i.bind(n,"error",this);n.src=this.src;this.isChecked=!0}},u.prototype.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},u.prototype.onload=function(n){this.confirm(!0,"onload");this.unbindProxyEvents(n)},u.prototype.onerror=function(n){this.confirm(!1,"onerror");this.unbindProxyEvents(n)},u.prototype.confirm=function(n,t){this.isConfirmed=!0;this.isLoaded=n;this.emit("confirm",this,t)},u.prototype.unbindProxyEvents=function(n){i.unbind(n.target,"load",this);i.unbind(n.target,"error",this)},r});wwwV8=wwwV8||{},function(n,t){"use strict";var i=n.querySelector("aside.newsfeed"),h=100,u=function(){var f=parseInt(i.getAttribute("data-start"),10)||i.querySelectorAll("section").length,r=0,o;if(i.clientHeight?(o=n.querySelector(".content-main").offsetHeight,r=Math.floor((o-i.offsetHeight)/h)):r=21-i.querySelectorAll("section:not(.cloned)").length,r!=0){if(r<0){for(i.setAttribute("data-start",f+r);r<0;){if(!i.lastElementChild)break;i.removeChild(i.lastElementChild);r++}return}t.ajax({method:"GET",url:"/newsfeed.aspx",params:{start:f,count:r},success:function(o){var h=n.createElement("div"),c,s;for(h.innerHTML=o,c=[];h.children.length;)s=h.children[0],s.classList.add("fade-in"),c.push(s),i.appendChild(s);i.setAttribute("data-start",f+r);n.body.classList.contains("cmsviewb")&&e();t.masonry&&t.masonry.container&&imagesLoaded(t.masonry.container,function(){u()})},error:function(n){console.log(n)}})}},e=function(){var l,s,h,r,f,e,v;if(t.masonry){var o=i.querySelectorAll("section:not(.cloned)"),a=t.masonry.container,u=n.querySelectorAll(".masonry-container > section"),c;if(a.querySelector(".news-tile-group")){for(l=u.length,r=u.length-1;r>=0;r--)if(u[r].classList.contains("news-tile-group")){l=r;break}c=Math.min(l+4,u.length)}else c=2;for(s=[],r=c;r<u.length;r+=3)s.push(u[r]);for(h=0,r=0;r<o.length;r+=3){if(o.length-r<3)break;for(f=n.createElement("section"),e=0;e<3;e++)v=o[r+e].cloneNode(!0),f.appendChild(v),o[r+e].classList.add("cloned");if(f.classList.add("news-tile-group"),f.classList.add("cmstile"),f.classList.add("merged"),h<s.length)a.insertBefore(f,s[h]),h++;else break}t.masonry.update(!0)}},f=n.querySelector(".content-more"),r=n.querySelector(".search-load-more"),o=-1,s=function(){var e=parseInt(r.getAttribute("data-startpage"),10),s=parseInt(r.getAttribute("data-totalpages"),10),h=parseInt(r.getAttribute("data-currentpage"),10),n=h+1,c=r.getAttribute("data-qs")||window.location.href.slice(window.location.href.indexOf("?")+1);e&&n<=s&&n>o?(r.style.opacity=.5,o=n,t.ajax({method:"GET",url:"/Search/raw.aspx?"+c.replace("&p="+e,"&p="+n),success:function(e){r.setAttribute("data-currentpage",n);n+1>s&&(f.style.display="none");t.masonry&&t.masonry.container&&(t.masonry.container.insertAdjacentHTML("beforeend",e),t.masonry.update(!0),r.style.opacity=1,imagesLoaded(t.masonry.container,function(){t.masonry.update(!0)}),i&&u())},error:function(){f.style.display="none"}})):f.style.display="none"},c=function(){var r=n.querySelectorAll(".js-maxlines"),i;t.forEach(r,function(n){n.outerHTML=n.innerHTML});i=n.querySelectorAll("[data-maxlines]");t.forEach(i,function(t){for(var a=parseInt(t.getAttribute("data-maxlines"),10),o=n.createRange(),v=!1,s=0,y=0,w=n.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1),u,r,p,e;u=w.nextNode();){var i=u.textContent.split(" "),h=0,c=0,l=0,f="";for(r=0;r<i.length;r++){if(p=i[r],h=Math.max(0,r-2),l=c+p.length,o.setStart(u,c),o.setEnd(u,l),e=o.getClientRects(),e.length&&y<e[0].top&&(s+=1,y=e[0].top,s>a))break;c=l+1}s>a&&(v?f+='<span class="sr-only js-maxlines maxlines-hidden">'+i.join(" ")+"<\/span> ":(f+='<span class="js-maxlines maxlines-visible">'+i.slice(0,h).join(" ")+"<\/span> ",f+='<span class="sr-only js-maxlines maxlines-hidden">'+i.slice(h).join(" ")+"<\/span>"),t.innerHTML=f,v=!0)}})};t.masonry&&imagesLoaded(t.masonry.container,function(){t.masonry.update(!0)});i&&(i.style.opacity=1,n.body.classList.contains("cmsviewb")&&e(),u());r&&(r.getAttribute("data-startpage")?r.addEventListener("click",s):f.style.display="none");t.tiles={newsfeedContainer:i,loadTiles:s,loadNews:u,maxLines:c}}(document,wwwV8);wwwV8=wwwV8||{},function(n){if(!(Math.max(document.documentElement.clientWidth,window.innerWidth||0)<=768)){var r={kitId:"vyo1abu",scriptTimeout:3e3,active:function(){wwwV8.masonry&&wwwV8.masonry.update(!0)}},u=n.documentElement,o=setTimeout(function(){u.className=u.className.replace(/\bwf-loading\b/g,"")+" wf-inactive"},r.scriptTimeout),t=n.createElement("script"),f=!1,e=n.getElementsByTagName("script")[0],i;u.className+=" wf-loading";t.src="//use.typekit.net/"+r.kitId+".js";t.async=!0;t.onload=t.onreadystatechange=function(){if(i=this.readyState,!f&&(!i||i=="complete"||i=="loaded")){f=!0;clearTimeout(o);try{Typekit.load(r)}catch(n){}}};e.parentNode.insertBefore(t,e)}}(document),function(n){typeof module!="undefined"&&typeof exports=="object"?module.exports=typeof window!="undefined"?n():n:window.Dropdown=n()}(function(){var n=function(n){this.menu=typeof n=="object"?n:document.querySelector(n);this.init()},t;return n.prototype={init:function(){var n=this;n.actions();n.menu.setAttribute("tabindex","0");n.menu.addEventListener("click",n.toggle,!1);document.addEventListener("click",function(t){t.target===n.menu||n.menu.parentNode.contains(t.target)||n.close({currentTarget:n.menu})})},actions:function(){var n=this;n.toggle=function(n){var t=n.currentTarget||n.srcElement;return t.parentNode.classList.toggle("open"),n.preventDefault(),!1};n.close=function(n){var t=n.currentTarget||n.srcElement;t.parentNode.classList.remove("open")}}},t=document.querySelectorAll("[data-toggle=dropdown]"),[].forEach.call(t,function(t){return new n(t)}),n}),function(n){typeof module!="undefined"&&typeof exports=="object"?module.exports=typeof window!="undefined"?n():n:window.Collapse=n()}(function(){var n=function(n,t){this.btn=typeof n=="object"?n:document.querySelector(n);this.accordion=null;this.collapse=null;this.options={};this.duration=300;this.options.duration=document.documentElement.classList.contains("ie")?0:t.duration||this.duration;this.init()},t,i;return n.prototype={init:function(){var n=this;this.actions();this.btn.addEventListener("click",this.toggle,!1);document.addEventListener("click",this.update,!1);window.addEventListener("resize",this.update,!1)},actions:function(){var n=this;this.toggle=function(t){n.btn=n.getTarget(t).btn;n.collapse=n.getTarget(t).collapse;n.collapse.classList.contains("in")?n.close(t):n.open(t)};this.close=function(t){t.preventDefault();n.btn=n.getTarget(t).btn;n.collapse=n.getTarget(t).collapse;n._close(n.collapse);n.btn.classList.remove("collapsed")};this.open=function(t){if(t.preventDefault(),n.btn=n.getTarget(t).btn,n.collapse=n.getTarget(t).collapse,n.accordion=n.btn.getAttribute("data-parent")&&n.getClosest(n.btn,n.btn.getAttribute("data-parent")),n._open(n.collapse),n.btn.classList.add("collapsed"),n.accordion!==null){var i=n.accordion.querySelectorAll(".collapse.in");[].forEach.call(i,function(t){t!==n.collapse&&n._close(t)})}};this._open=function(t){t.classList.add("in");t.style.height=0;t.style.overflow="hidden";t.setAttribute("area-expanded","true");var i=this.getMaxHeight(t).oh,r=this.getMaxHeight(t).br;t.style.height=i+r+"px";setTimeout(function(){t.style.overflow=""},n.options.duration)};this._close=function(t){t.style.overflow="hidden";t.style.height=0;setTimeout(function(){t.classList.remove("in");t.style.overflow="";t.setAttribute("area-expanded","false")},n.options.duration)};this.update=function(t){var i=t.type,r=t.target,u=document.querySelectorAll(".collapse.in");[].forEach.call(u,function(t){var u=n.getMaxHeight(t).oh,f=n.getMaxHeight(t).br;(i==="resize"||i==="click"&&n.getClosest(r,".collapse")===t)&&setTimeout(function(){t.style.height=u+f+"px"},300)})};this.getMaxHeight=function(n){for(var r=n.currentStyle||window.getComputedStyle(n),u=0,f=n.children.length,i=0;i<f;i++)u+=t(n.children[i]);return{oh:u,br:parseInt(r.borderTop||0)+parseInt(r.borderBottom||0)}};this.getTarget=function(n){var i=n.currentTarget||n.srcElement,f=i.href&&i.getAttribute("href").replace("#",""),t=i.getAttribute("data-target")&&i.getAttribute("data-target"),r=f||t&&/#/.test(t)&&t.replace("#",""),u=t&&t.charAt(0)==="."&&t,e=r&&document.getElementById(r)||u&&document.querySelector(u);return{btn:i,collapse:e}};this.getClosest=function(n,t){for(var i=t.charAt(0);n&&n!==document;n=n.parentNode)if(i==="."&&n.classList.contains(t.substr(1))||i==="#"&&n.id===t.substr(1))return n;return!1}}},t=function(n){var t=n.currentStyle||window.getComputedStyle(n);return n.offsetHeight+parseInt(/px/.test(t.marginTop)?Math.round(t.marginTop.replace("px","")):0)+parseInt(/px/.test(t.marginBottom)?Math.round(t.marginBottom.replace("px","")):0)+parseInt(/em/.test(t.marginTop)?Math.round(t.marginTop.replace("em","")*parseInt(t.fontSize)):0)+parseInt(/em/.test(t.marginBottom)?Math.round(t.marginBottom.replace("em","")*parseInt(t.fontSize)):0)},i=document.querySelectorAll('[data-toggle="collapse"]'),[].forEach.call(i,function(t){var i={};return i.duration=t.getAttribute("data-duration"),new n(t,i)}),window.addEventListener("load",function(){var n=document.querySelectorAll(".collapse");[].forEach.call(n,function(n){if(n.classList.contains("in")){var i=n.currentStyle||window.getComputedStyle(n),r=t(n.children[0]),u=parseInt(i.borderTop||0)+parseInt(i.borderBottom||0);n.style.height=r+u+"px"}})}),n});wwwV8=wwwV8||{},function(n,t){"use strict";(function(){var i=n.querySelectorAll(".navbar-wwwv8 .account-nav"),r=n.querySelector(".navbar-wwwv8 .navbar-collapse .navbar-nav");t.forEach(i,function(n){var t=n.cloneNode(!0);t.className="nav-li-1 visible-xs visible-sm";r.appendChild(t);n.classList.contains("dropdown")&&(t.classList.add("dropdown"),new Dropdown(t.querySelector(".dropdown-toggle")))})})();var r=n.querySelector(".navbar-search"),i="navbar-search-open";t.initializeSearch=function(){var e=r.querySelector(".navbar-search-toggle"),o=r.querySelector(".btn-cancel-search"),u=r.querySelector("#q"),f=function(){return Math.max(n.documentElement.clientWidth,window.innerWidth||0)<t.options.mobileBreakpoint};e.addEventListener("click",function(t){t.preventDefault();f()?(n.body.classList.toggle(i),n.body.classList.contains(i)&&u.focus()):(n.body.classList.add(i),u.focus())});o.addEventListener("click",function(){n.body.classList.remove(i);u.value=""});u.addEventListener("blur",function(){u.value.length!==0||f()||n.body.classList.remove(i)})};r&&t.initializeSearch()}(document,wwwV8);wwwV8=wwwV8||{},function(n,t){"use strict";var i=function(){$("input[data-autocomplete-source]").each(function(){var i=this,r=this.getAttribute("data-autocomplete-source"),f=this.getAttribute("data-autocomplete-simple"),e=this.getAttribute("data-autocomplete-tag"),u={},o=function(n){for(var t=!1,f=[],e,i,r=0;r<n.length;r++)if(e=u[n.slice(0,r+1)],e&&(t=e),t.length<15)break;if(t.length>=15)return f;for(i=0;i<t.length;i++)t[i].toLowerCase().indexOf(n.toLowerCase())!=-1&&f.push(t[i]);return f},s=function(n,t){var i=o(n.term);if(i.length){t(i);return}$.ajax({type:"POST",url:r,data:'{"q": "'+n.term+'"}',contentType:"application/json; charset=utf-8",dataType:"json",success:function(i){u[n.term]=i.d;t(i.d)}})},t={minLength:1,source:s};f?(t.delay=0,$.ajax({type:"POST",url:r,data:"{}",contentType:"application/json; charset=utf-8",dataType:"json",success:function(r){var u,f,o;r.hasOwnProperty("d")&&$.isArray(r.d)&&(u=r.d,u.length&&(t.minLength=Math.max(0,u.length.toString().length-1),t.source=u,f=n.querySelector(".navbar-wwwv8"),f&&f.contains(i)&&(t.appendTo=".navbar-search .search-suggestions"),e&&(t.select=function(n,t){n.preventDefault();t.hasOwnProperty("item")&&t.item.hasOwnProperty("value")&&(ga("send","event",{eventCategory:"search_bar",eventAction:"search_bar_click",eventLabel:""+t.item.label+""}),location.href="/topic/"+t.item.value+".aspx")},t.focus=function(n,t){n.preventDefault();t.hasOwnProperty("item")&&t.item.hasOwnProperty("value")&&$(i).val(t.item.label)}),$(i).autocomplete(t),o=n.querySelector(".section-search-panel"),o&&o.contains(i)&&$(i).autocomplete("widget").wrap('<div class="search-suggestions search-panel-suggestions"><\/div>')))}})):$(i).autocomplete(t)})};n.querySelector("input[data-autocomplete-source]")&&t.forEach(n.querySelectorAll("input[data-autocomplete-source]"),function(n){var r=function(){t.load.script("/Assets/Javascript/jquery-2.1.3.min.js").script("/Site-WwwV8/JavaScript/jquery-ui-autocomplete.min.js").wait(function(){i()});n.removeEventListener("focus",r)};n.addEventListener("focus",r)})}(document,wwwV8),function(n){typeof module!="undefined"&&typeof exports=="object"?module.exports=typeof window!="undefined"?n():n:window.Modal=n()}(function(){var n=function(n,t){this.opened=!1;this.modal=typeof n=="object"?n:document.querySelector(n);this.options={};this.options.backdrop=t.backdrop==="false"?!1:!0;this.options.keyboard=t.keyboard==="false"?!1:!0;this.options.content=t.content;this.duration=t.duration||300;this.options.duration=document.documentElement.classList.contains("ie")?0:this.duration;this.dialog=this.modal.querySelector(".modal-dialog");this.timer=0;this.init()},t,i;return n.prototype.init=function(){this.options.content&&this.options.content!==undefined&&this.content(this.options.content);this.resize();this.dismiss();this.keydown();this.trigger()},n.prototype.open=function(){this._open()},n.prototype.close=function(){this._close()},n.prototype._open=function(){var n=this;this.options.backdrop?this.createOverlay():this.overlay=null;document.body.classList.add("modal-open");this.modal.style.display="block";clearTimeout(n.modal.getAttribute("data-timer"));this.timer=setTimeout(function(){n.overlay!==null&&(n._resize(),n.overlay.classList.add("in"));n.modal.classList.add("in");n.modal.setAttribute("aria-hidden",!1)},n.options.duration/2);this.modal.setAttribute("data-timer",n.timer);this.opened=!0},n.prototype._close=function(){var n=this;this.modal.classList.remove("in");this.modal.setAttribute("aria-hidden",!0);this.overlay&&this.overlay.classList.remove("in");document.body.classList.remove("modal-open");clearTimeout(n.modal.getAttribute("data-timer"));this.timer=setTimeout(function(){n.modal.style.display="none";n.removeOverlay()},n.options.duration/2);this.modal.setAttribute("data-timer",n.timer);this.opened=!1},n.prototype.content=function(n){return this.modal.querySelector(".modal-content").innerHTML=n},n.prototype.createOverlay=function(){var n=document.createElement("div"),t=document.querySelector(".modal-backdrop");n.setAttribute("class","modal-backdrop fade");t?this.overlay=t:(this.overlay=n,document.body.appendChild(n))},n.prototype.removeOverlay=function(){var n=document.querySelector(".modal-backdrop");n!==null&&n!==undefined&&document.body.removeChild(n)},n.prototype.keydown=function(){var n=this;document.addEventListener("keydown",function(t){n.options.keyboard&&t.which==27&&n.close()},!1)},n.prototype.trigger=function(){var n=this,t=document.querySelectorAll('[data-toggle="modal"]');[].forEach.call(t,function(t){t.addEventListener("click",function(t){var i=t.target,r=i.getAttribute("data-target")&&i.getAttribute("data-target").replace("#","")||i.getAttribute("href")&&i.getAttribute("href").replace("#","");document.getElementById(r)===n.modal&&n.open()})})},n.prototype._resize=function(){var i=this,n=this.overlay||document.querySelector(".modal-backdrop"),t={w:document.documentElement.clientWidth+"px",h:document.documentElement.clientHeight+"px"};setTimeout(function(){n!==null&&n.classList.contains("in")&&(n.style.height=t.h,n.style.width=t.w)},i.options.duration/2)},n.prototype.resize=function(){var n=this;window.addEventListener("resize",function(){setTimeout(function(){n._resize()},50)},!1)},n.prototype.dismiss=function(){var n=this;this.modal.addEventListener("click",function(t){(t.target.parentNode.getAttribute("data-dismiss")==="modal"||t.target.getAttribute("data-dismiss")==="modal"||t.target===n.modal)&&(t.preventDefault(),n.close())})},t=document.querySelectorAll(".modal"),[].forEach.call(t,function(t){var i={};return i.keyboard=t.getAttribute("data-keyboard"),i.backdrop=t.getAttribute("data-backdrop"),i.duration=t.getAttribute("data-duration"),new n(t,i)}),i=document.querySelectorAll('a[data-toggle="modal"]'),[].forEach.call(i,function(n){n.addEventListener("click",function(n){n.preventDefault()})}),n})