window.Modernizr=function(M,O,Q){function T(b){ae.cssText=b}function V(c,d){return T(al.join(c+";")+(d||""))}function X(c,d){return typeof c===d}function Z(c,d){return !!~(""+c).indexOf(d)}function ab(c,f){for(var g in c){var h=c[g];if(!Z(h,"-")&&ae[h]!==Q){return f=="pfx"?h:!0}}return !1}function ad(c,g,h){for(var i in c){var j=g[c[i]];if(j!==Q){return h===!1?c[i]:X(j,"function")?j.bind(h||g):j}}return !1}function af(f,g,h){var i=f.charAt(0).toUpperCase()+f.slice(1),j=(f+" "+an.join(i+" ")+i).split(" ");return X(g,"string")||X(g,"undefined")?ab(j,g):(j=(f+" "+ao.join(i+" ")+i).split(" "),ad(j,g,h))}function ah(){U.input=function(a){for(var b=0,f=a.length;b<f;b++){at[a[b]]=a[b] in ag}return at.list&&(at.list=!!O.createElement("datalist")&&!!M.HTMLDataListElement),at}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),U.inputtypes=function(b){for(var c=0,g,j,k,l=b.length;c<l;c++){ag.setAttribute("type",j=b[c]),g=ag.type!=="text",g&&(ag.value=ai,ag.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(j)&&ag.style.WebkitAppearance!==Q?(Y.appendChild(ag),k=O.defaultView,g=k.getComputedStyle&&k.getComputedStyle(ag,null).WebkitAppearance!=="textfield"&&ag.offsetHeight!==0,Y.removeChild(ag)):/^(search|tel)$/.test(j)||(/^(url|email)$/.test(j)?g=ag.checkValidity&&ag.checkValidity()===!1:g=ag.value!=ai)),ar[b[c]]=!!g}return ar}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var S="2.7.1",U={},W=!0,Y=O.documentElement,aa="modernizr",ac=O.createElement(aa),ae=ac.style,ag=O.createElement("input"),ai=":)",ak={}.toString,al=" -webkit- -moz- -o- -ms- ".split(" "),am="Webkit Moz O ms",an=am.split(" "),ao=am.toLowerCase().split(" "),ap={svg:"http://www.w3.org/2000/svg"},aq={},ar={},at={},au=[],av=au.slice,aw,ax=function(b,g,h,o){var p,q,r,s,t=O.createElement("div"),u=O.body,v=u||O.createElement("body");if(parseInt(h,10)){while(h--){r=O.createElement("div"),r.id=o?o[h]:aa+(h+1),t.appendChild(r)}}return p=["&#173;",'<style id="s',aa,'">',b,"</style>"].join(""),t.id=aa,(u?t:v).innerHTML+=p,v.appendChild(t),u||(v.style.background="",v.style.overflow="hidden",s=Y.style.overflow,Y.style.overflow="hidden",Y.appendChild(v)),q=g(t,b),u?t.parentNode.removeChild(t):(v.parentNode.removeChild(v),Y.style.overflow=s),!!q},ay=function(a){var e=M.matchMedia||M.msMatchMedia;if(e){return e(a).matches}var f;return ax("@media "+a+" { #"+aa+" { position: absolute; } }",function(c){f=(M.getComputedStyle?getComputedStyle(c,null):c.currentStyle)["position"]=="absolute"}),f},N=function(){function c(a,g){g=g||O.createElement(b[a]||"div"),a="on"+a;var h=a in g;return h||(g.setAttribute||(g=O.createElement("div")),g.setAttribute&&g.removeAttribute&&(g.setAttribute(a,""),h=X(g[a],"function"),X(g[a],"undefined")||(g[a]=Q),g.removeAttribute(a))),g=null,h}var b={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return c}(),P={}.hasOwnProperty,R;!X(P,"undefined")&&!X(P.call,"undefined")?R=function(c,d){return P.call(c,d)}:R=function(c,d){return d in c&&X(c.constructor.prototype[d],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(a){var f=this;if(typeof f!="function"){throw new TypeError}var g=av.call(arguments,1),h=function(){if(this instanceof h){var b=function(){};b.prototype=f.prototype;var c=new b,d=f.apply(c,g.concat(av.call(arguments)));return Object(d)===d?d:c}return f.apply(a,g.concat(av.call(arguments)))};return h}),aq.flexbox=function(){return af("flexWrap")},aq.flexboxlegacy=function(){return af("boxDirection")},aq.canvas=function(){var b=O.createElement("canvas");return !!b.getContext&&!!b.getContext("2d")},aq.canvastext=function(){return !!U.canvas&&!!X(O.createElement("canvas").getContext("2d").fillText,"function")},aq.webgl=function(){return !!M.WebGLRenderingContext},aq.touch=function(){var a;return"ontouchstart" in M||M.DocumentTouch&&O instanceof DocumentTouch?a=!0:ax(["@media (",al.join("touch-enabled),("),aa,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(b){a=b.offsetTop===9}),a},aq.geolocation=function(){return"geolocation" in navigator},aq.postmessage=function(){return !!M.postMessage},aq.websqldatabase=function(){return !!M.openDatabase},aq.indexedDB=function(){return !!af("indexedDB",M)},aq.hashchange=function(){return N("hashchange",M)&&(O.documentMode===Q||O.documentMode>7)},aq.slice=function(){return !!M.slice&&!!history.pushState},aq.draganddrop=function(){var b=O.createElement("div");return"draggable" in b||"ondragstart" in b&&"ondrop" in b},aq.websockets=function(){return"WebSocket" in M||"MozWebSocket" in M},aq.rgba=function(){return T("background-color:rgba(150,255,150,.5)"),Z(ae.backgroundColor,"rgba")},aq.hsla=function(){return T("background-color:hsla(120,40%,100%,.5)"),Z(ae.backgroundColor,"rgba")||Z(ae.backgroundColor,"hsla")},aq.multiplebgs=function(){return T("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(ae.background)},aq.backgroundsize=function(){return af("backgroundSize")},aq.borderimage=function(){return af("borderImage")},aq.borderradius=function(){return af("borderRadius")},aq.boxshadow=function(){return af("boxShadow")},aq.textshadow=function(){return O.createElement("div").style.textShadow===""},aq.opacity=function(){return V("opacity:.55"),/^0.55$/.test(ae.opacity)},aq.cssanimations=function(){return af("animationName")},aq.csscolumns=function(){return af("columnCount")},aq.cssgradients=function(){var d="background-image:",e="gradient(linear,left top,right bottom,from(#9f9),to(white));",f="linear-gradient(left top,#9f9, white);";return T((d+"-webkit- ".split(" ").join(e+d)+al.join(f+d)).slice(0,-d.length)),Z(ae.backgroundImage,"gradient")},aq.cssreflections=function(){return af("boxReflect")},aq.csstransforms=function(){return !!af("transform")},aq.csstransforms3d=function(){var b=!!af("perspective");return b&&"webkitPerspective" in Y.style&&ax("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(a,d){b=a.offsetLeft===9&&a.offsetHeight===3}),b},aq.csstransitions=function(){return af("transition")},aq.fontface=function(){var b;return ax('@font-face {font-family:"font";src:url("https://")}',function(a,h){var i=O.getElementById("smodernizr"),j=i.sheet||i.styleSheet,k=j?j.cssRules&&j.cssRules[0]?j.cssRules[0].cssText:j.cssText||"":"";b=/src/i.test(k)&&k.indexOf(h.split(" ")[0])===0}),b},aq.generatedcontent=function(){var b;return ax(["#",aa,"{font:0/0 a}#",aa,':after{content:"',ai,'";visibility:hidden;font:3px/1 a}'].join(""),function(a){b=a.offsetHeight>=3}),b},aq.video=function(){var b=O.createElement("video"),e=!1;try{if(e=!!b.canPlayType){e=new Boolean(e),e.ogg=b.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),e.h264=b.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),e.webm=b.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}}catch(f){}return e},aq.audio=function(){var b=O.createElement("audio"),e=!1;try{if(e=!!b.canPlayType){e=new Boolean(e),e.ogg=b.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),e.mp3=b.canPlayType("audio/mpeg;").replace(/^no$/,""),e.wav=b.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),e.m4a=(b.canPlayType("audio/x-m4a;")||b.canPlayType("audio/aac;")).replace(/^no$/,"")}}catch(f){}return e},aq.localstorage=function(){try{return localStorage.setItem(aa,aa),localStorage.removeItem(aa),!0}catch(b){return !1}},aq.sessionstorage=function(){try{return sessionStorage.setItem(aa,aa),sessionStorage.removeItem(aa),!0}catch(b){return !1}},aq.webworkers=function(){return !!M.Worker},aq.applicationcache=function(){return !!M.applicationCache},aq.svg=function(){return !!O.createElementNS&&!!O.createElementNS(ap.svg,"svg").createSVGRect},aq.inlinesvg=function(){var b=O.createElement("div");return b.innerHTML="<svg/>",(b.firstChild&&b.firstChild.namespaceURI)==ap.svg},aq.smil=function(){return !!O.createElementNS&&/SVGAnimate/.test(ak.call(O.createElementNS(ap.svg,"animate")))},aq.svgclippaths=function(){return !!O.createElementNS&&/SVGClipPath/.test(ak.call(O.createElementNS(ap.svg,"clipPath")))};for(var aj in aq){R(aq,aj)&&(aw=aj.toLowerCase(),U[aw]=aq[aj](),au.push((U[aw]?"":"no-")+aw))}return U.input||ah(),U.addTest=function(c,e){if(typeof c=="object"){for(var f in c){R(c,f)&&U.addTest(f,c[f])}}else{c=c.toLowerCase();if(U[c]!==Q){return U}e=typeof e=="function"?e():e,typeof W!="undefined"&&W&&(Y.className+=" "+(e?"":"no-")+c),U[c]=e}return U},T(""),ac=ag=null,function(t,u){function E(e,f){var g=e.createElement("p"),h=e.getElementsByTagName("head")[0]||e.documentElement;return g.innerHTML="x<style>"+f+"</style>",h.insertBefore(g.lastChild,h.firstChild)}function F(){var b=L.elements;return typeof b=="string"?b.split(" "):b}function G(c){var d=C[c[A]];return d||(d={},B++,c[A]=B,C[B]=d),d}function H(b,e,f){e||(e=u);if(D){return e.createElement(b)}f||(f=G(e));var h;return f.cache[b]?h=f.cache[b].cloneNode():y.test(b)?h=(f.cache[b]=f.createElem(b)).cloneNode():h=f.createElem(b),h.canHaveChildren&&!x.test(b)&&!h.tagUrn?f.frag.appendChild(h):h}function I(b,h){b||(b=u);if(D){return b.createDocumentFragment()}h=h||G(b);var i=h.frag.cloneNode(),j=0,k=F(),l=k.length;for(;j<l;j++){i.createElement(k[j])}return i}function J(c,d){d.cache||(d.cache={},d.createElem=c.createElement,d.createFrag=c.createDocumentFragment,d.frag=d.createFrag()),c.createElement=function(a){return L.shivMethods?H(a,c,d):d.createElem(a)},c.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+F().join().replace(/[\w\-]+/g,function(b){return d.createElem(b),d.frag.createElement(b),'c("'+b+'")'})+");return n}")(L,d.frag)}function K(b){b||(b=u);var d=G(b);return L.shivCSS&&!z&&!d.hasCSS&&(d.hasCSS=!!E(b,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),D||J(b,d),b}var v="3.7.0",w=t.html5||{},x=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,y=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,z,A="_html5shiv",B=0,C={},D;(function(){try{var b=u.createElement("a");b.innerHTML="<xyz></xyz>",z="hidden" in b,D=b.childNodes.length==1||function(){u.createElement("a");var c=u.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()}catch(d){z=!0,D=!0}})();var L={elements:w.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:v,shivCSS:w.shivCSS!==!1,supportsUnknownElements:D,shivMethods:w.shivMethods!==!1,type:"default",shivDocument:K,createElement:H,createDocumentFragment:I};t.html5=L,K(u)}(this,O),U._version=S,U._prefixes=al,U._domPrefixes=ao,U._cssomPrefixes=an,U.mq=ay,U.hasEvent=N,U.testProp=function(b){return ab([b])},U.testAllProps=af,U.testStyles=ax,Y.className=Y.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(W?" js "+au.join(" "):""),U}(this,this.document),function(C,E,G){function H(b){return"[object Function]"==S.call(b)}function I(b){return"string"==typeof b}function J(){}function K(b){return !b||"loaded"==b||"complete"==b||"uninitialized"==b}function L(){var b=T.shift();U=1,b?b.t?Q(function(){("c"==b.t?F.injectCss:F.injectJs)(b.s,0,b.a,b.x,b.e,1)},0):(b(),L()):U=0}function M(b,g,h,m,n,p,q){function s(a){if(!v&&K(t.readyState)&&(x.r=v=1,!U&&L(),t.onload=t.onreadystatechange=null,a)){"img"!=b&&Q(function(){X.removeChild(t)},50);for(var c in ac[g]){ac[g].hasOwnProperty(c)&&ac[g][c].onload()}}}var q=q||F.errorTimeout,t=E.createElement(b),v=0,w=0,x={t:h,s:g,e:n,a:p,x:q};1===ac[g]&&(w=1,ac[g]=[]),"object"==b?t.data=g:(t.src=g,t.type=b),t.width=t.height="0",t.onerror=t.onload=t.onreadystatechange=function(){s.call(this,w)},T.splice(m,0,x),"img"!=b&&(w||2===ac[g]?(X.insertBefore(t,W?null:R),Q(s,q)):ac[g].push(t))}function N(e,g,h,i,j){return U=0,g=g||"j",I(e)?M("c"==g?Z:Y,e,g,this.i++,h,i,j):(T.splice(this.i++,0,e),1==T.length&&L()),this}function O(){var b=F;return b.loader={load:N,i:0},b}var P=E.documentElement,Q=C.setTimeout,R=E.getElementsByTagName("script")[0],S={}.toString,T=[],U=0,V="MozAppearance" in P.style,W=V&&!!E.createRange().compareNode,X=W?P:R.parentNode,P=C.opera&&"[object Opera]"==S.call(C.opera),P=!!E.attachEvent&&!P,Y=V?"object":P?"script":"img",Z=P?"script":Y,aa=Array.isArray||function(b){return"[object Array]"==S.call(b)},ab=[],ac={},ad={timeout:function(c,d){return d.length&&(c.timeout=d[0]),c}},D,F;F=function(c){function d(h){var h=h.split("!"),i=ab.length,j=h.pop(),l=h.length,j={url:j,origUrl:j,prefixes:h},o,p,q;for(p=0;p<l;p++){q=h[p].split("="),(o=ad[q.shift()])&&(j=o(j,q))}for(p=0;p<i;p++){j=ab[p](j)}return j}function e(b,l,o,p,q){var r=d(b),s=r.autoCallback;r.url.split(".").pop().split("?").shift(),r.bypass||(l&&(l=H(l)?l:l[b]||l[p]||l[b.split("/").pop().split("?")[0]]),r.instead?r.instead(b,l,o,p,q):(ac[r.url]?r.noexec=!0:ac[r.url]=1,o.load(r.url,r.forceCSS||!r.forceJS&&"css"==r.url.split(".").pop().split("?").shift()?"c":G,r.noexec,r.attrs,r.timeout),(H(l)||H(s))&&o.load(function(){O(),l&&l(r.origUrl,q,p),s&&s(r.origUrl,q,p),ac[r.url]=2})))}function f(g,o){function p(b,h){if(b){if(I(b)){h||(s=function(){var i=[].slice.call(arguments);t.apply(this,i),u()}),e(b,s,o,0,q)}else{if(Object(b)===b){for(w in v=function(){var a=0,i;for(i in b){b.hasOwnProperty(i)&&a++}return a}(),b){b.hasOwnProperty(w)&&(!h&&!--v&&(H(s)?s=function(){var i=[].slice.call(arguments);t.apply(this,i),u()}:s[w]=function(i){return function(){var a=[].slice.call(arguments);i&&i.apply(this,a),u()}}(t[w])),e(b[w],s,o,w,q))}}}}else{!h&&u()}}var q=!!g.test,r=g.load||g.both,s=g.callback||J,t=s,u=g.complete||J,v,w;p(q?g.yep:g.nope,!!r),r&&p(r)}var k,m,n=this.yepnope.loader;if(I(c)){e(c,0,n,0)}else{if(aa(c)){for(k=0;k<c.length;k++){m=c[k],I(m)?e(m,0,n,0):aa(m)?F(m):Object(m)===m&&f(m,n)}}else{Object(c)===c&&f(c,n)}}},F.addPrefix=function(c,d){ad[c]=d},F.addFilter=function(b){ab.push(b)},F.errorTimeout=10000,null==E.readyState&&E.addEventListener&&(E.readyState="loading",E.addEventListener("DOMContentLoaded",D=function(){E.removeEventListener("DOMContentLoaded",D,0),E.readyState="complete"},0)),C.yepnope=O(),C.yepnope.executeStack=L,C.yepnope.injectJs=function(b,f,g,h,m,n){var p=E.createElement("script"),q,r,h=h||F.errorTimeout;p.src=b;for(r in g){p.setAttribute(r,g[r])}f=n?L:f||J,p.onreadystatechange=p.onload=function(){!q&&K(p.readyState)&&(q=1,f(),p.onload=p.onreadystatechange=null)},Q(function(){q||(q=1,f(1))},h),m?p.onload():R.parentNode.insertBefore(p,R)},C.yepnope.injectCss=function(b,f,h,k,l,m){var k=E.createElement("link"),n,f=m?L:f||J;k.href=b,k.rel="stylesheet",k.type="text/css";for(n in h){k.setAttribute(n,h[n])}l||(R.parentNode.insertBefore(k,R),Q(f,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
function FastClick(a){var c,b=this;this.trackingClick=false;this.trackingClickStart=0;this.targetElement=null;this.touchStartX=0;this.touchStartY=0;this.lastTouchIdentifier=0;this.touchBoundary=10;this.layer=a;if(!a||!a.nodeType){throw new TypeError("Layer must be a document node")}this.onClick=function(){return FastClick.prototype.onClick.apply(b,arguments)};this.onMouse=function(){return FastClick.prototype.onMouse.apply(b,arguments)};this.onTouchStart=function(){return FastClick.prototype.onTouchStart.apply(b,arguments)};this.onTouchMove=function(){return FastClick.prototype.onTouchMove.apply(b,arguments)};this.onTouchEnd=function(){return FastClick.prototype.onTouchEnd.apply(b,arguments)};this.onTouchCancel=function(){return FastClick.prototype.onTouchCancel.apply(b,arguments)};if(FastClick.notNeeded(a)){return}if(this.deviceIsAndroid){a.addEventListener("mouseover",this.onMouse,true);a.addEventListener("mousedown",this.onMouse,true);a.addEventListener("mouseup",this.onMouse,true)}a.addEventListener("click",this.onClick,true);a.addEventListener("touchstart",this.onTouchStart,false);a.addEventListener("touchmove",this.onTouchMove,false);a.addEventListener("touchend",this.onTouchEnd,false);a.addEventListener("touchcancel",this.onTouchCancel,false);if(!Event.prototype.stopImmediatePropagation){a.removeEventListener=function(g,e,f){var d=Node.prototype.removeEventListener;if(g==="click"){d.call(a,g,e.hijacked||e,f)}else{d.call(a,g,e,f)}};a.addEventListener=function(g,e,f){var d=Node.prototype.addEventListener;if(g==="click"){d.call(a,g,e.hijacked||(e.hijacked=function(h){if(!h.propagationStopped){e(h)}}),f)}else{d.call(a,g,e,f)}}}if(typeof a.onclick==="function"){c=a.onclick;a.addEventListener("click",function(d){c(d)},false);a.onclick=null}}FastClick.prototype.deviceIsAndroid=navigator.userAgent.indexOf("Android")>0;FastClick.prototype.deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent);FastClick.prototype.deviceIsIOS4=FastClick.prototype.deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent);FastClick.prototype.deviceIsIOSWithBadTarget=FastClick.prototype.deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent);FastClick.prototype.needsClick=function(a){switch(a.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(a.disabled){return true}break;case"input":if(this.deviceIsIOS&&a.type==="file"||a.disabled){return true}break;case"label":case"video":return true}return/\bneedsclick\b/.test(a.className)};FastClick.prototype.needsFocus=function(a){switch(a.nodeName.toLowerCase()){case"textarea":return true;case"select":return !this.deviceIsAndroid;case"input":switch(a.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return false}return !a.disabled&&!a.readOnly;default:return/\bneedsfocus\b/.test(a.className)}};FastClick.prototype.sendClick=function(a,d){var b,c;if(document.activeElement&&document.activeElement!==a){document.activeElement.blur()}c=d.changedTouches[0];b=document.createEvent("MouseEvents");b.initMouseEvent(this.determineEventType(a),true,true,window,1,c.screenX,c.screenY,c.clientX,c.clientY,false,false,false,false,0,null);b.forwardedTouchEvent=true;a.dispatchEvent(b)};FastClick.prototype.determineEventType=function(a){if(this.deviceIsAndroid&&a.tagName.toLowerCase()==="select"){return"mousedown"}return"click"};FastClick.prototype.focus=function(a){var b;if(this.deviceIsIOS&&a.setSelectionRange&&a.type.indexOf("date")!==0&&a.type!=="time"){b=a.value.length;a.setSelectionRange(b,b)}else{a.focus()}};FastClick.prototype.updateScrollParent=function(a){var c,b;c=a.fastClickScrollParent;if(!c||!c.contains(a)){b=a;do{if(b.scrollHeight>b.offsetHeight){c=b;a.fastClickScrollParent=b;break}b=b.parentElement}while(b)}if(c){c.fastClickLastScrollTop=c.scrollTop}};FastClick.prototype.getTargetElementFromEventTarget=function(a){if(a.nodeType===Node.TEXT_NODE){return a.parentNode}return a};FastClick.prototype.onTouchStart=function(a){var d,b,c;if(a.targetTouches.length>1){return true}d=this.getTargetElementFromEventTarget(a.target);b=a.targetTouches[0];if(this.deviceIsIOS){c=window.getSelection();if(c.rangeCount&&!c.isCollapsed){return true}if(!this.deviceIsIOS4){if(b.identifier===this.lastTouchIdentifier){a.preventDefault();return false}this.lastTouchIdentifier=b.identifier;this.updateScrollParent(d)}}this.trackingClick=true;this.trackingClickStart=a.timeStamp;this.targetElement=d;this.touchStartX=b.pageX;this.touchStartY=b.pageY;if(a.timeStamp-this.lastClickTime<200){a.preventDefault()}return true};FastClick.prototype.touchHasMoved=function(a){var c=a.changedTouches[0],b=this.touchBoundary;if(Math.abs(c.pageX-this.touchStartX)>b||Math.abs(c.pageY-this.touchStartY)>b){return true}return false};FastClick.prototype.onTouchMove=function(a){if(!this.trackingClick){return true}if(this.targetElement!==this.getTargetElementFromEventTarget(a.target)||this.touchHasMoved(a)){this.trackingClick=false;this.targetElement=null}return true};FastClick.prototype.findControl=function(a){if(a.control!==undefined){return a.control}if(a.htmlFor){return document.getElementById(a.htmlFor)}return a.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")};FastClick.prototype.onTouchEnd=function(a){var h,c,f,b,g,d=this.targetElement;if(!this.trackingClick){return true}if(a.timeStamp-this.lastClickTime<200){this.cancelNextClick=true;return true}this.cancelNextClick=false;this.lastClickTime=a.timeStamp;c=this.trackingClickStart;this.trackingClick=false;this.trackingClickStart=0;if(this.deviceIsIOSWithBadTarget){g=a.changedTouches[0];d=document.elementFromPoint(g.pageX-window.pageXOffset,g.pageY-window.pageYOffset)||d;d.fastClickScrollParent=this.targetElement.fastClickScrollParent}f=d.tagName.toLowerCase();if(f==="label"){h=this.findControl(d);if(h){this.focus(d);if(this.deviceIsAndroid){return false}d=h}}else{if(this.needsFocus(d)){if(a.timeStamp-c>100||this.deviceIsIOS&&window.top!==window&&f==="input"){this.targetElement=null;return false}this.focus(d);if(!this.deviceIsIOS4||f!=="select"){this.targetElement=null;a.preventDefault()}return false}}if(this.deviceIsIOS&&!this.deviceIsIOS4){b=d.fastClickScrollParent;if(b&&b.fastClickLastScrollTop!==b.scrollTop){return true}}if(!this.needsClick(d)){a.preventDefault();this.sendClick(d,a)}return false};FastClick.prototype.onTouchCancel=function(){this.trackingClick=false;this.targetElement=null};FastClick.prototype.onMouse=function(a){if(!this.targetElement){return true}if(a.forwardedTouchEvent){return true}if(!a.cancelable){return true}if(!this.needsClick(this.targetElement)||this.cancelNextClick){if(a.stopImmediatePropagation){a.stopImmediatePropagation()}else{a.propagationStopped=true}a.stopPropagation();a.preventDefault();return false}return true};FastClick.prototype.onClick=function(a){var b;if(this.trackingClick){this.targetElement=null;this.trackingClick=false;return true}if(a.target.type==="submit"&&a.detail===0){return true}b=this.onMouse(a);if(!b){this.targetElement=null}return b};FastClick.prototype.destroy=function(){var a=this.layer;if(this.deviceIsAndroid){a.removeEventListener("mouseover",this.onMouse,true);a.removeEventListener("mousedown",this.onMouse,true);a.removeEventListener("mouseup",this.onMouse,true)}a.removeEventListener("click",this.onClick,true);a.removeEventListener("touchstart",this.onTouchStart,false);a.removeEventListener("touchmove",this.onTouchMove,false);a.removeEventListener("touchend",this.onTouchEnd,false);a.removeEventListener("touchcancel",this.onTouchCancel,false)};FastClick.notNeeded=function(a){var c;var b;if(typeof window.ontouchstart==="undefined"){return true}b=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1];if(b){if(FastClick.prototype.deviceIsAndroid){c=document.querySelector("meta[name=viewport]");if(c){if(c.content.indexOf("user-scalable=no")!==-1){return true}if(b>31&&window.innerWidth<=window.screen.width){return true}}}else{return true}}if(a.style.msTouchAction==="none"){return true}return false};FastClick.attach=function(a){return new FastClick(a)};if(typeof define!=="undefined"&&define.amd){define(function(){return FastClick})}else{if(typeof module!=="undefined"&&module.exports){module.exports=FastClick.attach;module.exports.FastClick=FastClick}else{window.FastClick=FastClick}};
var History=History||{};History.Utils=(function(){return{setCookie:function(a,b,d){var c=new Date();c.setDate(c.getDate()+d);document.cookie=a+"="+escape(b)+";path=/"+((d==null)?"":";expires="+c.toUTCString())},getCookie:function(b){if(document.cookie.length>0){var c=document.cookie.indexOf(b+"=");if(c!=-1){c+=b.length+1;var a=document.cookie.indexOf(";",c);if(a==-1){a=document.cookie.length}return unescape(document.cookie.substring(c,a))}}return""},deleteCookie:function(a){var b=new Date();b.setDate(b.getDate()-1);document.cookie=escape(a)+"=;path=/;expires="+b}}}());
function switchSuite(){var a="";if(location.hostname.indexOf("smdg")<0){a+="canhistory,shawmediaglobalreport"}else{a+="cantest"}return a}var s_account=switchSuite();var s=s_gi(s_account);s.trackingServer="tr.history.ca";s.trackingServerSecure="Str.history.ca";s.trackInlineStats=true;var s_code="",s_objectID;function s_gi(z,q,t){var d="s.version='H.26';s.an=s_an;s.logDebug=function(m){var s=this,tcf=new Function('var e;try{console.log(\"'+s.rep(s.rep(s.rep(m,\"\\\\\",\"\\\\\\\\\"),\"\\n\",\"\\\\n\"),\"\\\"\",\"\\\\\\\"\")+'\");}catch(e){}');tcf()};s.cls=function(x,c){var i,y='';if(!c)c=this.an;for(i=0;i<x.length;i++){n=x.substring(i,i+1);if(c.indexOf(n)>=0)y+=n}return y};s.fl=function(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){return o};s.num=function(x){x=''+x;for(var p=0;p<x.length;p++)if(('0123456789').indexOf(x.substring(p,p+1))<0)return 0;return 1};s.rep=s_rep;s.sp=s_sp;s.jn=s_jn;s.ape=function(x){var s=this,h='0123456789ABCDEF',f=\"+~!*()'\",i,c=s.charSet,n,l,e,y='';c=c?c.toUpperCase():'';if(x){x=''+x;if(s.em==3){x=encodeURIComponent(x);for(i=0;i<f.length;i++) {n=f.substring(i,i+1);if(x.indexOf(n)>=0)x=s.rep(x,n,\"%\"+n.charCodeAt(0).toString(16).toUpperCase())}}else if(c=='AUTO'&&('').charCodeAt){for(i=0;i<x.length;i++){c=x.substring(i,i+1);n=x.charCodeAt(i);if(n>127){l=0;e='';while(n||l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';else y+=escape(c)}x=y}else x=s.rep(escape(''+x),'+','%2B');if(c&&c!='AUTO'&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(h.substring(8).indexOf(x.substring(i,i+1).toUpperCase())>=0)return x.substring(0,i)+'u00'+x.substring(i);i=x.indexOf('%',i)}}}return x};s.epa=function(x){var s=this,y,tcf;if(x){x=s.rep(''+x,'+',' ');if(s.em==3){tcf=new Function('x','var y,e;try{y=decodeURIComponent(x)}catch(e){y=unescape(x)}return y');return tcf(x)}else return unescape(x)}return y};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r;z+=y+d.length;t=x.substring(z,x.length);t=z<x.length?t:''}return ''};s.isf=function(t,a){var c=a.indexOf(':');if(c>=0)a=a.substring(0,c);c=a.indexOf('=');if(c>=0)a=a.substring(0,c);if(t.substring(0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s=this;s.fsg='';s.pt(x,',','fsf',f);return s.fsg};s.mpc=function(m,a){var s=this,c,l,n,v;v=s.d.visibilityState;if(!v)v=s.d.webkitVisibilityState;if(v&&v=='prerender'){if(!s.mpq){s.mpq=new Array;l=s.sp('webkitvisibilitychange,visibilitychange',',');for(n=0;n<l.length;n++){s.d.addEventListener(l[n],new Function('var s=s_c_il['+s._in+'],c,v;v=s.d.visibilityState;if(!v)v=s.d.webkitVisibilityState;if(s.mpq&&v==\"visible\"){while(s.mpq.length>0){c=s.mpq.shift();s[c.m].apply(s,c.a)}s.mpq=0}'),false)}}c=new Object;c.m=m;c.a=a;s.mpq.push(c);return 1}return 0};s.si=function(){var s=this,i,k,v,c=s_gi+'var s=s_gi(\"'+s.oun+'\");s.sa(\"'+s.un+'\");';for(i=0;i<s.va_g.length;i++){k=s.va_g[i];v=s[k];if(v!=undefined){if(typeof(v)!='number')c+='s.'+k+'=\"'+s_fe(v)+'\";';else c+='s.'+k+'='+v+';'}}c+=\"s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3='';\";return c};s.c_d='';s.c_gdf=function(t,a){var s=this;if(!s.num(t))return 1;return 0};s.c_gd=function(){var s=this,d=s.wd.location.hostname,n=s.fpCookieDomainPeriods,p;if(!n)n=s.cookieDomainPeriods;if(d&&!s.c_d){n=n?parseInt(n):2;n=n>2?n:2;p=d.lastIndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('.',p-1);n--}s.c_d=p>0&&s.pt(d,'.','c_gdf',0)?d.substring(p):d}}return s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.substring(i+2+k.length,e<0?c.length:e));return v!='[[B]]'?v:''};s.c_w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''?parseInt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' domain='+d+';':'');return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i<l.length&&n<0;i++){if(l[i].o==o&&l[i].e==e)n=i}if(n<0){n=i;l[n]=new Object}x=l[n];x.o=o;x.e=e;f=r?x.b:f;if(r||f){x.b=r?0:o[e];x.o[e]=f}if(x.b){x.o[b]=x.b;return b}return 0};s.cet=function(f,a,t,o,b){var s=this,r,tcf;if(s.apv>=5&&(!s.isopera||s.apv>=7)){tcf=new Function('s','f','a','t','var e,r;try{r=s[f](a)}catch(e){r=s[t](e)}return r');r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s[b](a);else{s.eh(s.wd,'onerror',0,o);r=s[f](a);s.eh(s.wd,'onerror',1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new Function('e','var s=s_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=1;c=s.t();if(c)s.d.write(c);s.etfs=0;return true');s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.mrq=function(u){var s=this,l=s.rl[u],n,r;s.rl[u]=0;if(l)for(n=0;n<l.length;n++){r=l[n];s.mr(0,0,r.r,r.t,r.u)}};s.flushBufferedRequests=function(){};s.mr=function(sess,q,rs,ta,u){var s=this,dc=s.dc,t1=s.trackingServer,t2=s.trackingServerSecure,tb=s.trackingServerBase,p='.sc',ns=s.visitorNamespace,un=s.cls(u?u:(ns?ns:s.fun)),r=new Object,l,imn='s_i_'+s._in+'_'+un,im,b,e;if(!rs){if(t1){if(t2&&s.ssl)t1=t2}else{if(!tb)tb='2o7.net';if(dc)dc=(''+dc).toLowerCase();else dc='d1';if(tb=='2o7.net'){if(dc=='d1')dc='112';else if(dc=='d2')dc='122';p=''}t1=un+'.'+dc+'.'+p+tb}rs='http'+(s.ssl?'s':'')+'://'+t1+'/b/ss/'+s.un+'/'+(s.mobile?'5.1':'1')+'/'+s.version+(s.tcn?'T':'')+'/'+sess+'?AQB=1&ndh=1'+(q?q:'')+'&AQE=1';if(s.isie&&!s.ismac)rs=s.fl(rs,2047)}if(s.d.images&&s.apv>=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){if(!s.rc)s.rc=new Object;if(!s.rc[un]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].mrq(\"'+un+'\")',750)}else{l=s.rl[un];if(l){r.t=ta;r.u=un;r.r=rs;l[l.length]=r;return ''}imn+='_'+s.rc[un];s.rc[un]++}if(s.debugTracking){var d='AppMeasurement Debug: '+rs,dl=s.sp(rs,'&'),dln;for(dln=0;dln<dl.length;dln++)d+=\"\\n\\t\"+s.epa(dl[dln]);s.logDebug(d)}im=s.wd[imn];if(!im)im=s.wd[imn]=new Image;im.s_l=0;im.onload=new Function('e','this.s_l=1;var wd=window,s;if(wd.s_c_il){s=wd.s_c_il['+s._in+'];s.bcr();s.mrq(\"'+un+'\");s.nrs--;if(!s.nrs)s.m_m(\"rr\")}');if(!s.nrs){s.nrs=1;s.m_m('rs')}else s.nrs++;im.src=rs;if(s.useForcedLinkTracking||s.bcf){if(!s.forcedLinkTrackingTimeout)s.forcedLinkTrackingTimeout=250;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].bcr()',s.forcedLinkTrackingTimeout);}else if((s.lnk||s.eo)&&(!ta||ta=='_self'||ta=='_top'||ta=='_parent'||(s.wd.name&&ta==s.wd.name))){b=e=new Date;while(!im.s_l&&e.getTime()-b.getTime()<500)e=new Date}return ''}return '<im'+'g sr'+'c=\"'+rs+'\" width=1 height=1 border=0 alt=\"\">'};s.gg=function(v){var s=this;if(!s.wd['s_'+v])s.wd['s_'+v]='';return s.wd['s_'+v]};s.glf=function(t,a){if(t.substring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;if(s.pg)s.pt(v,',','glf',0)};s.rf=function(x){var s=this,y,i,j,h,p,l=0,q,a,b='',c='',t;if(x&&x.length>255){y=''+x;i=y.indexOf('?');if(i>0){q=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase();j=0;if(h.substring(0,7)=='http://')j+=7;else if(h.substring(0,8)=='https://')j+=8;i=h.indexOf(\"/\",j);if(i>0){h=h.substring(j,i);p=y.substring(i);y=y.substring(0,i);if(h.indexOf('google')>=0)l=',q,ie,start,search_key,word,kw,cd,';else if(h.indexOf('yahoo.co')>=0)l=',p,ei,';if(l&&q){a=s.sp(q,'&');if(a&&a.length>1){for(j=0;j<a.length;j++){t=a[j];i=t.indexOf('=');if(i>0&&l.indexOf(','+t.substring(0,i)+',')>=0)b+=(b?'&':'')+t;else c+=(c?'&':'')+t}if(b&&c)q=b+'&'+c;else c=''}i=253-(q.length-c.length)-y.length;x=y+(i>0?p.substring(0,i):'')+'?'+q}}}}return x};s.s2q=function(k,v,vf,vfp,f){var s=this,qs='',sk,sv,sp,ss,nke,nk,nf,nfl=0,nfn,nfm;if(k==\"contextData\")k=\"c\";if(v){for(sk in v)if((!f||sk.substring(0,f.length)==f)&&v[sk]&&(!vf||vf.indexOf(','+(vfp?vfp+'.':'')+sk+',')>=0)&&(!Object||!Object.prototype||!Object.prototype[sk])){nfm=0;if(nfl)for(nfn=0;nfn<nfl.length;nfn++)if(sk.substring(0,nfl[nfn].length)==nfl[nfn])nfm=1;if(!nfm){if(qs=='')qs+='&'+k+'.';sv=v[sk];if(f)sk=sk.substring(f.length);if(sk.length>0){nke=sk.indexOf('.');if(nke>0){nk=sk.substring(0,nke);nf=(f?f:'')+nk+'.';if(!nfl)nfl=new Array;nfl[nfl.length]=nf;qs+=s.s2q(nk,v,vf,vfp,nf)}else{if(typeof(sv)=='boolean'){if(sv)sv='true';else sv='false'}if(sv){if(vfp=='retrieveLightData'&&f.indexOf('.contextData.')<0){sp=sk.substring(0,4);ss=sk.substring(4);if(sk=='transactionID')sk='xact';else if(sk=='channel')sk='ch';else if(sk=='campaign')sk='v0';else if(s.num(ss)){if(sp=='prop')sk='c'+ss;else if(sp=='eVar')sk='v'+ss;else if(sp=='list')sk='l'+ss;else if(sp=='hier'){sk='h'+ss;sv=sv.substring(0,255)}}}qs+='&'+s.ape(sk)+'='+s.ape(sv)}}}}}if(qs!='')qs+='&.'+k}return qs};s.hav=function(){var s=this,qs='',l,fv='',fe='',mn,i,e;if(s.lightProfileID){l=s.va_m;fv=s.lightTrackVars;if(fv)fv=','+fv+','+s.vl_mr+','}else{l=s.va_t;if(s.pe||s.linkType){fv=s.linkTrackVars;fe=s.linkTrackEvents;if(s.pe){mn=s.pe.substring(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].trackVars;fe=s[mn].trackEvents}}}if(fv)fv=','+fv+','+s.vl_l+','+s.vl_l2;if(fe){fe=','+fe+',';if(fv)fv+=',events,'}if (s.events2)e=(e?',':'')+s.events2}for(i=0;i<l.length;i++){var k=l[i],v=s[k],b=k.substring(0,4),x=k.substring(4),n=parseInt(x),q=k;if(!v)if(k=='events'&&e){v=e;e=''}if(v&&(!fv||fv.indexOf(','+k+',')>=0)&&k!='linkName'&&k!='linkType'){if(k=='timestamp')q='ts';else if(k=='dynamicVariablePrefix')q='D';else if(k=='visitorID')q='vid';else if(k=='pageURL'){q='g';if(v.length>255){s.pageURLRest=v.substring(255);v=v.substring(0,255);}}else if(k=='pageURLRest')q='-g';else if(k=='referrer'){q='r';v=s.fl(s.rf(v),255)}else if(k=='vmk'||k=='visitorMigrationKey')q='vmt';else if(k=='visitorMigrationServer'){q='vmf';if(s.ssl&&s.visitorMigrationServerSecure)v=''}else if(k=='visitorMigrationServerSecure'){q='vmf';if(!s.ssl&&s.visitorMigrationServer)v=''}else if(k=='charSet'){q='ce';if(v.toUpperCase()=='AUTO')v='ISO8859-1';else if(s.em==2||s.em==3)v='UTF-8'}else if(k=='visitorNamespace')q='ns';else if(k=='cookieDomainPeriods')q='cdp';else if(k=='cookieLifetime')q='cl';else if(k=='variableProvider')q='vvp';else if(k=='currencyCode')q='cc';else if(k=='channel')q='ch';else if(k=='transactionID')q='xact';else if(k=='campaign')q='v0';else if(k=='resolution')q='s';else if(k=='colorDepth')q='c';else if(k=='javascriptVersion')q='j';else if(k=='javaEnabled')q='v';else if(k=='cookiesEnabled')q='k';else if(k=='browserWidth')q='bw';else if(k=='browserHeight')q='bh';else if(k=='connectionType')q='ct';else if(k=='homepage')q='hp';else if(k=='plugins')q='p';else if(k=='events'){if(e)v+=(v?',':'')+e;if(fe)v=s.fs(v,fe)}else if(k=='events2')v='';else if(k=='contextData'){qs+=s.s2q('c',s[k],fv,k,0);v=''}else if(k=='lightProfileID')q='mtp';else if(k=='lightStoreForSeconds'){q='mtss';if(!s.lightProfileID)v=''}else if(k=='lightIncrementBy'){q='mti';if(!s.lightProfileID)v=''}else if(k=='retrieveLightProfiles')q='mtsr';else if(k=='deleteLightProfiles')q='mtsd';else if(k=='retrieveLightData'){if(s.retrieveLightProfiles)qs+=s.s2q('mts',s[k],fv,k,0);v=''}else if(s.num(x)){if(b=='prop')q='c'+n;else if(b=='eVar')q='v'+n;else if(b=='list')q='l'+n;else if(b=='hier'){q='h'+n;v=s.fl(v,255)}}if(v)qs+='&'+s.ape(q)+'='+(k.substring(0,3)!='pev'?s.ape(v):v)}}return qs};s.ltdf=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';var qi=h.indexOf('?');h=qi>=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.length+1))=='.'+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s.trackExternalLinks&&h.indexOf('#')!=0&&h.indexOf('about:')!=0&&h.indexOf('javascript:')!=0&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.lc=new Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=this;s.t();s.lnk=0;if(b)return this[b](e);return true');s.bcr=function(){var s=this;if(s.bct&&s.bce)s.bct.dispatchEvent(s.bce);if(s.bcf){if(typeof(s.bcf)=='function')s.bcf();else if(s.bct&&s.bct.href)s.d.location=s.bct.href}s.bct=s.bce=s.bcf=0};s.bc=new Function('e','if(e&&e.s_fe)return;var s=s_c_il['+s._in+'],f,tcf,t,n,nrs,a,h;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;if(!s.bbc)s.useForcedLinkTracking=0;else if(!s.useForcedLinkTracking){s.b.removeEventListener(\"click\",s.bc,true);s.bbc=s.useForcedLinkTracking=0;return}else s.b.removeEventListener(\"click\",s.bc,false);s.eo=e.srcElement?e.srcElement:e.target;nrs=s.nrs;s.t();s.eo=0;if(s.nrs>nrs&&s.useForcedLinkTracking&&e.target){a=e.target;while(a&&a!=s.b&&a.tagName.toUpperCase()!=\"A\"&&a.tagName.toUpperCase()!=\"AREA\")a=a.parentNode;if(a){h=a.href;if(h.indexOf(\"#\")==0||h.indexOf(\"about:\")==0||h.indexOf(\"javascript:\")==0)h=0;t=a.target;if(e.target.dispatchEvent&&h&&(!t||t==\"_self\"||t==\"_top\"||t==\"_parent\"||(s.wd.name&&t==s.wd.name))){tcf=new Function(\"s\",\"var x;try{n=s.d.createEvent(\\\\\"MouseEvents\\\\\")}catch(x){n=new MouseEvent}return n\");n=tcf(s);if(n){tcf=new Function(\"n\",\"e\",\"var x;try{n.initMouseEvent(\\\\\"click\\\\\",e.bubbles,e.cancelable,e.view,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget)}catch(x){n=0}return n\");n=tcf(n,e);if(n){n.s_fe=1;e.stopPropagation();if (e.stopImmediatePropagation) {e.stopImmediatePropagation();}e.preventDefault();s.bct=e.target;s.bce=n}}}}}');s.oh=function(o){var s=this,l=s.wd.location,h=o.href?o.href:'',i,j,k,p;i=h.indexOf(':');j=h.indexOf('?');k=h.indexOf('/');if(h&&(i<0||(j>=0&&i>j)||(k>=0&&i>k))){p=o.protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=l.pathname.lastIndexOf('/');h=(p?p+'//':'')+(o.host?o.host:(l.host?l.host:''))+(h.substring(0,1)!='/'?l.pathname.substring(0,i<0?0:i)+'/':'')+h}return h};s.ot=function(o){var t=o.tagName;if(o.tagUrn||(o.scopeName&&o.scopeName.toUpperCase()!='HTML'))return '';t=t&&t.toUpperCase?t.toUpperCase():'';if(t=='SHAPE')t='';if(t){if((t=='INPUT'||t=='BUTTON')&&o.type&&o.type.toUpperCase)t=o.type.toUpperCase();else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n='',x=0;if(t&&!o.s_oid){p=o.protocol;c=o.onclick;if(o.href&&(t=='A'||t=='AREA')&&(!c||!p||p.toLowerCase().indexOf('javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' ','');x=2}else if(t=='INPUT'||t=='SUBMIT'){if(o.value)n=o.value;else if(o.innerText)n=o.innerText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e>=0?t.substring(0,e):'',q=e>=0?s.epa(t.substring(e+1)):'';if(u&&q&&(','+u+',').indexOf(','+un+',')>=0){if(u!=s.un&&s.un.indexOf(',')>=0)q='&u='+u+q+'&u=0';return q}return ''};s.rq=function(un){if(!un)un=this.un;var s=this,c=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf',un);return s.pt(un,',','rq',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0)s.pt(t.substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=this;s.squ[un]=q;return 0};s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)if(x&&(!Object||!Object.prototype||!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq[x]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq[x]+'='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i<s.d.links.length;i++){o=s.d.links[i];oc=o.onclick?\"\"+o.onclick:\"\";if((oc.indexOf(\"s_gs(\")<0||oc.indexOf(\".s_oc(\")>=0)&&oc.indexOf(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return r');s.wds=function(){var s=this;if(s.apv>3&&(!s.isie||!s.ismac||s.apv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventListener){if(s.n&&((s.n.userAgent.indexOf('WebKit')>=0&&s.d.createEvent)||(s.n.userAgent.indexOf('Firefox/2')>=0&&s.wd.MouseEvent))){s.bbc=1;s.useForcedLinkTracking=1;s.b.addEventListener('click',s.bc,true)}s.b.addEventListener('click',s.bc,false)}else s.eh(s.wd,'onload',0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i>=0&&m){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un=s.un.toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=s.un.indexOf(',');s.fun=i<0?s.un:s.un.substring(0,i)};s.sa=function(un){var s=this;if(s.un&&s.mpc('sa',arguments))return;s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n.substring(0,1),r,l,i;if(!s.m_l)s.m_l=new Object;if(!s.m_nl)s.m_nl=new Array;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m';m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s.wd.s_c_in++;m.s=s;m._n=n;m._l=new Array('_c','_in','_il','_i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m){r=m._r;r._m=m;l=m._l;for(i=0;i<l.length;i++)if(m[l[i]])r[l[i]]=m[l[i]];r._il[r._in]=r;m=s.m_l[n]=r}if(f==f.toUpperCase())s[n]=m;return m};s.m_a=new Function('n','g','e','if(!g)g=\"m_\"+n;var s=s_c_il['+s._in+'],c=s[g+\"_c\"],m,x,f=0;if(s.mpc(\"m_a\",arguments))return;if(!c)c=s.wd[\"s_\"+g+\"_c\"];if(c&&s_d)s[g]=new Function(\"s\",s_ft(s_d(c)));x=s[g];if(!x)x=s.wd[\\'s_\\'+g];if(!x)x=s.wd[g];m=s.m_i(n,1);if(x&&(!m._i||g!=\"m_\"+n)){m._i=f=1;if((\"\"+x).indexOf(\"function\")>=0)x(s);else s.m_m(\"x\",n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d=0;s.dlt();return f');s.m_m=function(t,n,d,e){t='_'+t;var s=this,i,x,m,f='_'+t,r=0,u;if(s.m_l&&s.m_nl)for(i=0;i<s.m_nl.length;i++){x=s.m_nl[i];if(!n||x==n){m=s.m_i(x);u=m[t];if(u){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t](d,e);else if(d)u=m[t](d);else u=m[t]()}}if(u)r=1;u=m[t+1];if(u&&!m[f]){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var s=this,g=s.m_dl,i,o;if(g)for(i=0;i<g.length;i++){o=g[i];if(o)s.loadModule(o.n,o.u,o.d,o.l,o.e,1);g[i]=0}};s.loadModule=function(n,u,d,l,e,ln){var s=this,m=0,i,g,o=0,f1,f2,c=s.h?s.h:s.b,b,tcf;if(n){i=n.indexOf(':');if(i>=0){g=n.substring(i+1);n=n.substring(0,i)}else g=\"m_\"+n;m=s.m_i(n)}if((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,'http:','https:');i='s_s:'+s._in+':'+n+':'+g;b='var s=s_c_il['+s._in+'],o=s.d.getElementById(\"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=1;if(o.i)clearTimeout(o.i);o.i=0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e?',\"'+e+'\"':'')+')}';f2=b+'o.c++;if(!s.maxDelay)s.maxDelay=250;if(!o.l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'}');tcf=new Function('s','c','i','u','f1','f2','var e,o=0;try{o=s.d.createElement(\"script\");if(o){o.type=\"text/javascript\";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l=0;':'')+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i=setTimeout(f2,100)':'')+'}}catch(e){o=0}return o');o=tcf(s,c,i,u,f1,f2)}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m_dl=new Array;i=0;while(i<g.length&&g[i])i++;g[i]=o}}else if(n){m=s.m_i(n);m._e=1}return m};s.voa=function(vo,r){var s=this,l=s.va_g,i,k,v,x;for(i=0;i<l.length;i++){k=l[i];v=vo[k];if(v||vo['!'+k]){if(!r&&(k==\"contextData\"||k==\"retrieveLightData\")&&s[k])for(x in s[k])if(!v[x])v[x]=s[k][x];s[k]=v}}};s.vob=function(vo){var s=this,l=s.va_g,i,k;for(i=0;i<l.length;i++){k=l[i];vo[k]=s[k];if(!vo[k])vo['!'+k]=1}};s.dlt=new Function('var s=s_c_il['+s._in+'],d=new Date,i,vo,f=0;if(s.dll)for(i=0;i<s.dll.length;i++){vo=s.dll[i];if(vo){if(!s.m_m(\"d\")||d.getTime()-vo._t>=s.maxDelay){s.dll[i]=0;s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s.dli=0;if(f){if(!s.dli)s.dli=setTimeout(s.dlt,s.maxDelay)}else s.dll=0');s.dl=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.vob(vo);vo._t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dll.length]=vo;if(!s.maxDelay)s.maxDelay=250;s.dlt()};s.gfid=function(){var s=this,d='0123456789ABCDEF',k='s_fid',fid=s.c_r(k),h='',l='',i,j,m=8,n=4,e=new Date,y;if(!fid||fid.indexOf('-')<0){for(i=0;i<16;i++){j=Math.floor(Math.random()*m);h+=d.substring(j,j+1);j=Math.floor(Math.random()*n);l+=d.substring(j,j+1);m=n=16}fid=h+'-'+l;}y=e.getYear();e.setYear(y+2+(y<1900?1900:0));if(!s.c_w(k,fid,e))fid=0;return fid};s.applyADMS=function(){var s=this,vb=new Object;if(s.wd.ADMS&&!s.visitorID&&!s.admsc){if(!s.adms)s.adms=ADMS.getDefault();if(!s.admsq){s.visitorID=s.adms.getVisitorID(new Function('v','var s=s_c_il['+s._in+'],l=s.admsq,i;if(v==-1)v=0;if(v)s.visitorID=v;s.admsq=0;if(l){s.admsc=1;for(i=0;i<l.length;i++)s.t(l[i]);s.admsc=0;}'));if(!s.visitorID)s.admsq=new Array}if(s.admsq){s.vob(vb);vb['!visitorID']=0;s.admsq.push(vb);return 1}else{if(s.visitorID==-1)s.visitorID=0}}return 0};s.track=s.t=function(vo){var s=this,trk=1,tm=new Date,sed=Math&&Math.random?Math.floor(Math.random()*10000000000000):tm.getTime(),sess='s'+Math.floor(tm.getTime()/10800000)%10+sed,y=tm.getYear(),vt=tm.getDate()+'/'+tm.getMonth()+'/'+(y<1900?y+1900:y)+' '+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTimezoneOffset(),tcf,tfs=s.gtfs(),ta=-1,q='',qs='',code='',vb=new Object;if(s.mpc('t',arguments))return;s.gl(s.vl_g);s.uns();s.m_ll();if(!s.td){var tl=tfs.location,a,o,i,x='',c='',v='',p='',bw='',bh='',j='1.0',k=s.c_w('s_cc','true',0)?'Y':'N',hp='',ct='',pn=0,ps;if(String&&String.prototype){j='1.1';if(j.match){j='1.2';if(tm.setUTCDate){j='1.3';if(s.isie&&s.ismac&&s.apv>=5)j='1.4';if(pn.toPrecision){j='1.5';a=new Array;if(a.forEach){j='1.6';i=0;o=new Object;tcf=new Function('o','var e,i=0;try{i=new Iterator(o)}catch(e){}return i');i=tcf(o);if(i&&i.next){j='1.7';if(a.reduce){j='1.8';if(j.trim){j='1.8.1';if(Date.parse){j='1.8.2';if(Object.create)j='1.8.5'}}}}}}}}}if(s.apv>=4)x=screen.width+'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){v=s.n.javaEnabled()?'Y':'N';if(s.apv>=4){c=screen.pixelDepth;bw=s.wd.innerWidth;bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?'Y':'N';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElement.offsetHeight;if(!s.ismac&&s.b){tcf=new Function('s','tl','var e,hp=0;try{s.b.addBehavior(\"#default#homePage\");hp=s.b.isHomePage(tl)?\"Y\":\"N\"}catch(e){}return hp');hp=tcf(s,tl);tcf=new Function('s','var e,ct=0;try{s.b.addBehavior(\"#default#clientCaps\");ct=s.b.connectionType}catch(e){}return ct');ct=tcf(s)}}}else r=''}if(s.pl)while(pn<s.pl.length&&pn<30){ps=s.fl(s.pl[pn].name,100)+';';if(p.indexOf(ps)<0)p+=ps;pn++}s.resolution=x;s.colorDepth=c;s.javascriptVersion=j;s.javaEnabled=v;s.cookiesEnabled=k;s.browserWidth=bw;s.browserHeight=bh;s.connectionType=ct;s.homepage=hp;s.plugins=p;s.td=1}if(vo){s.vob(vb);s.voa(vo)}s.fid=s.gfid();if(s.applyADMS())return '';if((vo&&vo._t)||!s.m_m('d')){if(s.usePlugins)s.doPlugins(s);if(!s.abort){var l=s.wd.location,r=tfs.document.referrer;if(!s.pageURL)s.pageURL=l.href?l.href:l;if(!s.referrer&&!s._1_referrer){s.referrer=r;s._1_referrer=1}s.m_m('g');if(s.lnk||s.eo){var o=s.eo?s.eo:s.lnk,p=s.pageName,w=1,t=s.ot(o),n=s.oid(o),x=o.s_oidt,h,l,i,oc;if(s.eo&&o==s.eo){while(o&&!n&&t!='BODY'){o=o.parentElement?o.parentElement:o.parentNode;if(o){t=s.ot(o);n=s.oid(o);x=o.s_oidt}}if(!n||t=='BODY')o='';if(o){oc=o.onclick?''+o.onclick:'';if((oc.indexOf('s_gs(')>=0&&oc.indexOf('.s_oc(')<0)||oc.indexOf('.tl(')>=0)o=0}}if(o){if(n)ta=o.target;h=s.oh(o);i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i);l=s.linkName;t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h||l)){s.pe='lnk_'+(t=='d'||t=='e'?t:'o');s.pev1=(h?s.ape(h):'');s.pev2=(l?s.ape(l):'')}else trk=0;if(s.trackInlineStats){if(!p){p=s.pageURL;w=0}t=s.ot(o);i=o.sourceIndex;if(o.dataset&&o.dataset.sObjectId){s.wd.s_objectID=o.dataset.sObjectId;}else if(o.getAttribute&&o.getAttribute('data-s-object-id')){s.wd.s_objectID=o.getAttribute('data-s-object-id');}else if(s.useForcedLinkTracking){s.wd.s_objectID='';oc=o.onclick?''+o.onclick:'';if(oc){var ocb=oc.indexOf('s_objectID'),oce,ocq,ocx;if(ocb>=0){ocb+=10;while(ocb<oc.length&&(\"= \\t\\r\\n\").indexOf(oc.charAt(ocb))>=0)ocb++;if(ocb<oc.length){oce=ocb;ocq=ocx=0;while(oce<oc.length&&(oc.charAt(oce)!=';'||ocq)){if(ocq){if(oc.charAt(oce)==ocq&&!ocx)ocq=0;else if(oc.charAt(oce)==\"\\\\\")ocx=!ocx;else ocx=0;}else{ocq=oc.charAt(oce);if(ocq!='\"'&&ocq!=\"'\")ocq=0}oce++;}oc=oc.substring(ocb,oce);if(oc){o.s_soid=new Function('s','var e;try{s.wd.s_objectID='+oc+'}catch(e){}');o.s_soid(s)}}}}}if(s.gg('objectID')){n=s.gg('objectID');x=1;i=1}if(p&&n&&t)qs='&pid='+s.ape(s.fl(p,255))+(w?'&pidt='+w:'')+'&oid='+s.ape(s.fl(n,100))+(x?'&oidt='+x:'')+'&ot='+s.ape(t)+(i?'&oi='+i:'')}}else trk=0}if(trk||qs){s.sampled=s.vs(sed);if(trk){if(s.sampled)code=s.mr(sess,(vt?'&t='+s.ape(vt):'')+s.hav()+q+(qs?qs:s.rq()),0,ta);qs='';s.m_m('t');if(s.p_r)s.p_r();s.referrer=s.lightProfileID=s.retrieveLightProfiles=s.deleteLightProfiles=''}s.sq(qs)}}}else s.dl(vo);if(vo)s.voa(vb,1);s.abort=0;s.pageURLRest=s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3='';if(s.pg)s.wd.s_lnk=s.wd.s_eo=s.wd.s_linkName=s.wd.s_linkType='';return code};s.trackLink=s.tl=function(o,t,n,vo,f){var s=this;s.lnk=o;s.linkType=t;s.linkName=n;if(f){s.bct=o;s.bcf=f}s.t(vo)};s.trackLight=function(p,ss,i,vo){var s=this;s.lightProfileID=p;s.lightStoreForSeconds=ss;s.lightIncrementBy=i;s.t(vo)};s.setTagContainer=function(n){var s=this,l=s.wd.s_c_il,i,t,x,y;s.tcn=n;if(l)for(i=0;i<l.length;i++){t=l[i];if(t&&t._c=='s_l'&&t.tagContainerName==n){s.voa(t);if(t.lmq)for(i=0;i<t.lmq.length;i++){x=t.lmq[i];y='m_'+x.n;if(!s[y]&&!s[y+'_c']){s[y]=t[y];s[y+'_c']=t[y+'_c']}s.loadModule(x.n,x.u,x.d)}if(t.ml)for(x in t.ml)if(s[x]){y=s[x];x=t.ml[x];for(i in x)if(!Object.prototype[i]){if(typeof(x[i])!='function'||(''+x[i]).indexOf('s_c_il')<0)y[i]=x[i]}}if(t.mmq)for(i=0;i<t.mmq.length;i++){x=t.mmq[i];if(s[x.m]){y=s[x.m];if(y[x.f]&&typeof(y[x.f])=='function'){if(x.a)y[x.f].apply(y,x.a);else y[x.f].apply(y)}}}if(t.tq)for(i=0;i<t.tq.length;i++)s.t(t.tq[i]);t.s=s;return}}};s.wd=window;s.ssl=(s.wd.location.protocol.toLowerCase().indexOf('https')>=0);s.d=document;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName('HEAD');if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.indexOf('Netscape6/');var apn=s.n.appName,v=s.n.appVersion,ie=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft Internet Explorer');s.isns=(apn=='Netscape');s.isopera=(apn=='Opera');s.ismac=(s.u.indexOf('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloat(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(s.em.toPrecision)s.em=3;else if(String.fromCharCode){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i=='%C4%80'?2:(i=='%U0100'?1:0))}if(s.oun)s.sa(s.oun);s.sa(un);s.vl_l='timestamp,dynamicVariablePrefix,visitorID,fid,vmk,visitorMigrationKey,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,pageName,pageURL,referrer,contextData,currencyCode,lightProfileID,lightStoreForSeconds,lightIncrementBy,retrieveLightProfiles,deleteLightProfiles,retrieveLightData';s.va_l=s.sp(s.vl_l,',');s.vl_mr=s.vl_m='timestamp,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,contextData,lightProfileID,lightStoreForSeconds,lightIncrementBy';s.vl_t=s.vl_l+',variableProvider,channel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,events2,products,linkName,linkType';var n;for(n=1;n<=75;n++){s.vl_t+=',prop'+n+',eVar'+n;s.vl_m+=',prop'+n+',eVar'+n}for(n=1;n<=5;n++)s.vl_t+=',hier'+n;for(n=1;n<=3;n++)s.vl_t+=',list'+n;s.va_m=s.sp(s.vl_m,',');s.vl_l2=',tnt,pe,pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,javaEnabled,cookiesEnabled,browserWidth,browserHeight,connectionType,homepage,pageURLRest,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',trackingServer,trackingServerSecure,trackingServerBase,fpCookieDomainPeriods,disableBufferedRequests,mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountMatch,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQueryString,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,lightTrackVars,_1_referrer,un';s.va_g=s.sp(s.vl_g,',');s.pg=pg;s.gl(s.vl_g);s.contextData=new Object;s.retrieveLightData=new Object;if(!ss)s.wds();if(pg){s.wd.s_co=function(o){return o};s.wd.s_gs=function(un){s_gi(un,1,1).t()};s.wd.s_dc=function(un){s_gi(un,1).t()}}",B=window,k=B.s_c_il,p=navigator,y=p.userAgent,A=p.appVersion,f=A.indexOf("MSIE "),o=y.indexOf("Netscape6/"),b,g,h,C,r;if(z){z=z.toLowerCase();if(k){for(h=0;h<2;h++){for(g=0;g<k.length;g++){r=k[g];C=r._c;if((!C||C=="s_c"||(h>0&&C=="s_l"))&&(r.oun==z||(r.fs&&r.sa&&r.fs(r.oun,z)))){if(r.sa){r.sa(z)}if(C=="s_c"){return r}}else{r=0}}}}}B.s_an="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";B.s_sp=new Function("x","d","var a=new Array,i=0,j;if(x){if(x.split)a=x.split(d);else if(!d)for(i=0;i<x.length;i++)a[a.length]=x.substring(i,i+1);else while(i>=0){j=x.indexOf(d,i);a[a.length]=x.substring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a");B.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i<j;i++)x+=d+a[i]}}return x");B.s_rep=new Function("x","o","n","return s_jn(s_sp(x,o),n)");B.s_d=new Function("x","var t='`^@$#',l=s_an,l2=new Object,x2,d,b=0,k,i=x.lastIndexOf('~~'),j,v,w;if(i>0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j<x2.length;j++){k=x2[j].substring(0,1);w=t[i]+k;if(k!=' '){v=1;w=d[b+l2[k]]}x2[j]=w+x2[j].substring(1)}}if(v)x=s_jn(x2,'');else{w=t[i]+' ';if(x.indexOf(w)>=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x");B.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");B.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==',')a+='\",\"';else if((\"\\n\\r\\t \").indexOf(c)<0)a+=c;s++}return a?'\"'+a+'\"':a");B.s_ft=new Function("c","c+='';var s,e,o,a,d,q,f,h,x;s=c.indexOf('=function(');while(s>=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){if(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")'+c.substring(e+1);s=c.indexOf('=function(')}return c;");d=s_d(d);if(f>0){b=parseInt(g=A.substring(f+5));if(b>3){b=parseFloat(g)}}else{if(o>0){b=parseFloat(y.substring(o+10))}else{b=parseFloat(A)}}if(b<5||A.indexOf("Opera")>=0||y.indexOf("Opera")>=0){d=s_ft(d)}if(!r){r=new Object;if(!B.s_c_in){B.s_c_il=new Array;B.s_c_in=0}r._il=B.s_c_il;r._in=B.s_c_in;r._il[r._in]=r;B.s_c_in++}r._c="s_c";(new Function("s","un","pg","ss",d))(r,z,q,t);return r}function s_giqf(){var e=window,b=e.s_giq,a,d,c;if(b){for(a=0;a<b.length;a++){d=b[a];c=s_gi(d.oun);c.sa(d.un);c.setTagContainer(d.tagContainerName)}}e.s_giq=0}s_giqf();if("function"!=typeof DIL){DIL=function(G,af){var X=[],ac,P;G!==Object(G)&&(G={});var ad,Z,ah,j,I,R,B,K,ab,F,ai;ad=G.partner;Z=G.containerNSID;ah=G.iframeAttachmentDelay;j=!!G.disableDestinationPublishingIframe;I=G.iframeAkamaiHTTPS;R=G.mappings;B=G.uuidCookie;K=!0===G.enableErrorReporting;ab=G.visitorService;F=G.declaredId;ai=!0===G.removeFinishedScriptsAndCallbacks;var V,J,al;V=!0===G.disableScriptAttachment;J=!0===G.disableDefaultRequest;al=G.afterResultForDefaultRequest;K&&DIL.errorModule.activate();var z=!0===window._dil_unit_tests;(ac=af)&&X.push(ac+"");if(!ad||"string"!=typeof ad){return ac="DIL partner is invalid or not specified in initConfig",DIL.errorModule.handleError({name:"error",message:ac,filename:"dil.js"}),Error(ac)}ac="DIL containerNSID is invalid or not specified in initConfig, setting to default of 0";if(Z||"number"==typeof Z){Z=parseInt(Z,10),!isNaN(Z)&&0<=Z&&(ac="")}ac&&(Z=0,X.push(ac),ac="");P=DIL.getDil(ad,Z);if(P instanceof DIL&&P.api.getPartner()==ad&&P.api.getContainerNSID()==Z){return P}if(this instanceof DIL){DIL.registerDil(this,ad,Z)}else{return new DIL(G,"DIL was not instantiated with the 'new' operator, returning a valid instance with partner = "+ad+" and containerNSID = "+Z)}var aj={IS_HTTPS:"https:"==document.location.protocol,POST_MESSAGE_ENABLED:!!window.postMessage,COOKIE_MAX_EXPIRATION_DATE:"Tue, 19 Jan 2038 03:14:07 UTC"},H={stuffed:{}},ae={},ak={firingQueue:[],fired:[],firing:!1,sent:[],errored:[],reservedKeys:{sids:!0,pdata:!0,logdata:!0,callback:!0,postCallbackFn:!0,useImageRequest:!0},callbackPrefix:"demdexRequestCallback",firstRequestHasFired:!1,useJSONP:!0,abortRequests:!1,num_of_jsonp_responses:0,num_of_jsonp_errors:0,num_of_img_responses:0,num_of_img_errors:0,toRemove:[],removed:[],readyToRemove:!1,adms:{TIME_TO_CATCH_ALL_REQUESTS_RELEASE:2000,calledBack:!1,uuid:null,noVisitorAPI:!1,instance:null,releaseType:"no VisitorAPI",admsProcessingStarted:!1,process:function(a){try{if(!this.admsProcessingStarted){var h=this,c,f,b,g,d;if("function"==typeof a&&"function"==typeof a.getInstance){if(ab===Object(ab)&&(c=ab.namespace)&&"string"==typeof c){f=a.getInstance(c)}else{this.releaseType="no namespace";this.releaseRequests();return}if(f===Object(f)&&"function"==typeof f.isAllowed&&"function"==typeof f.getGlobalVisitorID){if(!f.isAllowed()){this.releaseType="VisitorAPI not allowed";this.releaseRequests();return}this.instance=f;this.admsProcessingStarted=!0;b=function(l){if("VisitorAPI"!=h.releaseType){h.uuid=l,h.releaseType="VisitorAPI",h.releaseRequests()}};if(z&&(g=ab.server)&&"string"==typeof g){f.server=g}d=f.getGlobalVisitorID(b);if("string"==typeof d&&d.length){b(d);return}setTimeout(function(){if("VisitorAPI"!=h.releaseType){h.releaseType="timeout",h.releaseRequests()}},this.TIME_TO_CATCH_ALL_REQUESTS_RELEASE);return}this.releaseType="invalid instance"}else{this.noVisitorAPI=!0}this.releaseRequests()}}catch(k){this.releaseRequests()}},releaseRequests:function(){this.calledBack=!0;ak.registerRequest()},getGlobalVisitorID:function(){return this.instance?this.instance.getGlobalVisitorID():null}},declaredId:{uuid:null,declaredId:{init:null,request:null},declaredIdCombos:{},dIdAlwaysOn:!1,dIdInRequest:!1,setDeclaredId:function(a,h){var c=Q.isPopulatedString,f=encodeURIComponent;if(a===Object(a)&&c(h)){var b=a.dpid,g=a.dpuuid,d=null;if(c(b)&&c(g)){d=f(b)+"$"+f(g);if(!0===this.declaredIdCombos[d]){return"setDeclaredId: combo exists for type '"+h+"'"}this.declaredIdCombos[d]=!0;this.declaredId[h]={dpid:b,dpuuid:g};if("init"==h){this.dIdAlwaysOn=!0}else{if("request"==h){this.dIdInRequest=!0}}return"setDeclaredId: succeeded for type '"+h+"'"}}return"setDeclaredId: failed for type '"+h+"'"},getDeclaredIdQueryString:function(){var a=this.declaredId.request,c=this.declaredId.init,b="";null!==a?b="&d_dpid="+a.dpid+"&d_dpuuid="+a.dpuuid:null!==c&&(b="&d_dpid="+c.dpid+"&d_dpuuid="+c.dpuuid);return b},getUUIDQueryString:function(){var a=ak.adms,d=Q.isPopulatedString,b=!1,c=ak.adms.getGlobalVisitorID();if(d(this.uuid)){if(d(c)&&this.uuid!=c){this.uuid=c}}else{this.uuid=c||a.uuid}if(this.dIdAlwaysOn||this.dIdInRequest){b=!0,this.dIdInRequest=!1}return d(this.uuid)&&b?"d_uuid="+this.uuid+"&":""}},registerRequest:function(a){var b=this.firingQueue;a===Object(a)&&b.push(a);if(!this.firing&&b.length){if(this.adms.calledBack){if(a=b.shift(),a.src=a.src.replace(/demdex.net\/event\?d_nsid=/,"demdex.net/event?"+this.declaredId.getUUIDQueryString()+"d_nsid="),D.fireRequest(a),!this.firstRequestHasFired&&"script"==a.tag){this.firstRequestHasFired=!0}}else{this.processVisitorAPI()}}},processVisitorAPI:function(){this.adms.process(window.Visitor)},requestRemoval:function(a){if(!ai){return"removeFinishedScriptsAndCallbacks is not boolean true"}var f=this.toRemove,c,d;if(a===Object(a)){c=a.script,d=a.callbackName,(c===Object(c)&&"SCRIPT"==c.nodeName||"no script created"==c)&&"string"==typeof d&&d.length&&f.push(a)}if(this.readyToRemove&&f.length){d=f.shift();c=d.script;d=d.callbackName;"no script created"!=c?(a=c.src,c.parentNode.removeChild(c)):a=c;window[d]=null;try{delete window[d]}catch(b){}this.removed.push({scriptSrc:a,callbackName:d});DIL.variables.scriptsRemoved.push(a);DIL.variables.callbacksRemoved.push(d);return this.requestRemoval()}return"requestRemoval() processed"}};P=function(){var a="http://fast.";aj.IS_HTTPS&&(a=!0===I?"https://fast.":"https://");return a+ad+".demdex.net/dest4.html?d_nsid="+Z+"#"+encodeURIComponent(document.location.href)};var ag={THROTTLE_START:30000,throttleTimerSet:!1,id:"destination_publishing_iframe_"+ad+"_"+Z,url:P(),iframe:null,iframeHasLoaded:!1,sendingMessages:!1,messages:[],messagesPosted:[],messageSendingInterval:aj.POST_MESSAGE_ENABLED?15:100,jsonProcessed:[],attachIframe:function(){var a=this,b=document.createElement("iframe");b.id=this.id;b.style.cssText="display: none; width: 0; height: 0;";b.src=this.url;U.addListener(b,"load",function(){a.iframeHasLoaded=!0;a.requestToProcess()});document.body.appendChild(b);this.iframe=b},requestToProcess:function(a,c){var b=this;a&&!Q.isEmptyObject(a)&&this.process(a,c);if(this.iframeHasLoaded&&this.messages.length&&!this.sendingMessages){if(!this.throttleTimerSet){this.throttleTimerSet=!0,setTimeout(function(){b.messageSendingInterval=aj.POST_MESSAGE_ENABLED?15:150},this.THROTTLE_START)}this.sendingMessages=!0;this.sendMessages()}},process:function(c,l){var f=encodeURIComponent,h,d,k,g,m,b;l===Object(l)&&(b=U.encodeAndBuildRequest([ak.declaredId.uuid||"",l.dpid||"",l.dpuuid||""],","));if((h=c.dests)&&h instanceof Array&&(d=h.length)){for(k=0;k<d;k++){g=h[k],g=[f("dests"),f(g.id||""),f(g.y||""),f(g.c||"")],this.addMessage(g.join("|"))}}if((h=c.ibs)&&h instanceof Array&&(d=h.length)){for(k=0;k<d;k++){g=h[k],g=[f("ibs"),f(g.id||""),f(g.tag||""),U.encodeAndBuildRequest(g.url||[],","),f(g.ttl||""),"",b],this.addMessage(g.join("|"))}}if((h=c.dpcalls)&&h instanceof Array&&(d=h.length)){for(k=0;k<d;k++){g=h[k],m=g.callback||{},m=[m.obj||"",m.fn||"",m.key||"",m.tag||"",m.url||""],g=[f("dpm"),f(g.id||""),f(g.tag||""),U.encodeAndBuildRequest(g.url||[],","),f(g.ttl||""),U.encodeAndBuildRequest(m,","),b],this.addMessage(g.join("|"))}}this.jsonProcessed.push(c)},addMessage:function(a){var b=encodeURIComponent;this.messages.push((K?b("---destpub-debug---"):b("---destpub---"))+a)},sendMessages:function(){var a=this,b;this.messages.length?(b=this.messages.shift(),DIL.xd.postMessage(b,this.url,this.iframe.contentWindow),this.messagesPosted.push(b),setTimeout(function(){a.sendMessages()},this.messageSendingInterval)):this.sendingMessages=!1}},Y={traits:function(a){if(Q.isValidPdata(a)){if(!(ae.sids instanceof Array)){ae.sids=[]}U.extendArray(ae.sids,a)}return this},pixels:function(a){if(Q.isValidPdata(a)){if(!(ae.pdata instanceof Array)){ae.pdata=[]}U.extendArray(ae.pdata,a)}return this},logs:function(a){if(Q.isValidLogdata(a)){if(ae.logdata!==Object(ae.logdata)){ae.logdata={}}U.extendObject(ae.logdata,a)}return this},customQueryParams:function(a){Q.isEmptyObject(a)||U.extendObject(ae,a,ak.reservedKeys);return this},signals:function(a,d){var b,c=a;if(!Q.isEmptyObject(c)){if(d&&"string"==typeof d){for(b in c={},a){a.hasOwnProperty(b)&&(c[d+b]=a[b])}}U.extendObject(ae,c,ak.reservedKeys)}return this},declaredId:function(a){ak.declaredId.setDeclaredId(a,"request");return this},result:function(a){if("function"==typeof a){ae.callback=a}return this},afterResult:function(a){if("function"==typeof a){ae.postCallbackFn=a}return this},useImageRequest:function(){ae.useImageRequest=!0;return this},clearData:function(){ae={};return this},submit:function(a){D.submitRequest(ae,a);ae={};return this},getPartner:function(){return ad},getContainerNSID:function(){return Z},getEventLog:function(){return X},getState:function(){var a={},b={};U.extendObject(a,ak,{callbackPrefix:!0,useJSONP:!0,registerRequest:!0});U.extendObject(b,ag,{attachIframe:!0,requestToProcess:!0,process:!0,sendMessages:!0});return{pendingRequest:ae,otherRequestInfo:a,destinationPublishingInfo:b}},idSync:function(a){if(a!==Object(a)||"string"!=typeof a.dpid||!a.dpid.length){return"Error: config or config.dpid is empty"}if("string"!=typeof a.url||!a.url.length){return"Error: config.url is empty"}var f=a.url,c=a.minutesToLive,d=encodeURIComponent,b=ak.declaredId,f=f.replace(/^https:/,"").replace(/^http:/,"");if("undefined"==typeof c){c=20160}else{if(c=parseInt(c,10),isNaN(c)||0>=c){return"Error: config.minutesToLive needs to be a positive number"}}b=U.encodeAndBuildRequest([ak.adms.getGlobalVisitorID()||b.uuid||"",a.dpid,a.dpuuid||""],",");a=["ibs",d(a.dpid),"img",d(f),c,"",b];ag.addMessage(a.join("|"));ak.firstRequestHasFired&&ag.requestToProcess();return"Successfully queued"},aamIdSync:function(a){if(a!==Object(a)||"string"!=typeof a.dpuuid||!a.dpuuid.length){return"Error: config or config.dpuuid is empty"}a.url="//dpm.demdex.net/ibs:dpid="+a.dpid+"&dpuuid="+a.dpuuid;return this.idSync(a)}},D={submitRequest:function(a,b){ak.registerRequest(D.createQueuedRequest(a,b));return !0},createQueuedRequest:function(g,o){var l=ak,m,k=g.callback,p="img";if(!Q.isEmptyObject(R)){var b,h,d;for(b in R){if(R.hasOwnProperty(b)&&(h=R[b],!(null==h||""===h)&&b in g&&!(h in g)&&!(h in ak.reservedKeys))){d=g[b],null==d||""===d||(g[h]=d)}}}if(!Q.isValidPdata(g.sids)){g.sids=[]}if(!Q.isValidPdata(g.pdata)){g.pdata=[]}if(!Q.isValidLogdata(g.logdata)){g.logdata={}}g.logdataArray=U.convertObjectToKeyValuePairs(g.logdata,"=",!0);g.logdataArray.push("_ts="+(new Date).getTime());if("function"!=typeof k){k=this.defaultCallback}if(l.useJSONP=!g.useImageRequest||"boolean"!=typeof g.useImageRequest){p="script",m=l.callbackPrefix+"_"+ad+"_"+Z+"_"+(new Date).getTime()}return{tag:p,src:D.makeRequestSrc(g,m),internalCallbackName:m,callbackFn:k,postCallbackFn:g.postCallbackFn,useImageRequest:g.useImageRequest,requestData:g,useDocWrite:o===Object(o)&&!0===o.useDocumentWrite}},defaultCallback:function(a,w){var k,p,d,v,m,x,b,g,c;if((k=a.stuff)&&k instanceof Array&&(p=k.length)){for(d=0;d<p;d++){if((v=k[d])&&v===Object(v)){m=v.cn;x=v.cv;b=v.ttl;if("undefined"==typeof b||""===b){b=Math.floor(U.getMaxCookieExpiresInMinutes()/60/24)}g=v.dmn||"."+document.domain.replace(/^www\./,"");c=v.type;if(m&&(x||"number"==typeof x)){"var"!=c&&(b=parseInt(b,10))&&!isNaN(b)&&U.setCookie(m,x,1440*b,"/",g,!1),H.stuffed[m]=x}}}}k=a.uuid;p=ak.declaredId;d=Q.isPopulatedString;if(d(k)){if(!d(p.uuid)){p.uuid=k}if(!Q.isEmptyObject(B)){p=B.path;if("string"!=typeof p||!p.length){p="/"}d=parseInt(B.days,10);isNaN(d)&&(d=100);U.setCookie(B.name||"aam_did",k,1440*d,p,B.domain||"."+document.domain.replace(/^www\./,""),!0===B.secure)}}!j&&!ak.abortRequests&&ag.requestToProcess(a,w)},makeRequestSrc:function(m,E){m.sids=Q.removeEmptyArrayValues(m.sids||[]);m.pdata=Q.removeEmptyArrayValues(m.pdata||[]);var y=ak,C=U.encodeAndBuildRequest(m.sids,","),w=U.encodeAndBuildRequest(m.pdata,","),L=(m.logdataArray||[]).join("&");delete m.logdataArray;var b=aj.IS_HTTPS?"https://":"http://",o=y.declaredId.getDeclaredIdQueryString(),x;x=[];var g,v,A,k;for(g in m){if(!(g in y.reservedKeys)&&m.hasOwnProperty(g)){if(v=m[g],g=encodeURIComponent(g),v instanceof Array){for(A=0,k=v.length;A<k;A++){x.push(g+"="+encodeURIComponent(v[A]))}}else{x.push(g+"="+encodeURIComponent(v))}}}x=x.length?"&"+x.join("&"):"";return b+ad+".demdex.net/event?d_nsid="+Z+o+(C.length?"&d_sid="+C:"")+(w.length?"&d_px="+w:"")+(L.length?"&d_ld="+encodeURIComponent(L):"")+x+(y.useJSONP?"&d_rtbd=json&d_jsonv="+DIL.jsonVersion+"&d_dst=1&d_cts=1&d_cb="+(E||""):"")},fireRequest:function(a){if("img"==a.tag){this.fireImage(a)}else{if("script"==a.tag){var b=ak.declaredId,b=b.declaredId.request||b.declaredId.init||{};this.fireScript(a,{dpid:b.dpid||"",dpuuid:b.dpuuid||""})}}},fireImage:function(a){var d=ak,b,c;if(!d.abortRequests){d.firing=!0,b=new Image(0,0),d.sent.push(a),b.onload=function(){d.firing=!1;d.fired.push(a);d.num_of_img_responses++;d.registerRequest()},c=function(e){ac="imgAbortOrErrorHandler received the event of type "+e.type;X.push(ac);d.abortRequests=!0;d.firing=!1;d.errored.push(a);d.num_of_img_errors++;d.registerRequest()},b.addEventListener?(b.addEventListener("error",c,!1),b.addEventListener("abort",c,!1)):b.attachEvent&&(b.attachEvent("onerror",c),b.attachEvent("onabort",c)),b.src=a.src}},fireScript:function(g,x){var n=this,v=ak,y,b,k=g.src,r=g.postCallbackFn,d="function"==typeof r,m=g.internalCallbackName;y=g.useDocWrite;if(!v.abortRequests){v.firing=!0;window[m]=function(c){try{c!==Object(c)&&(c={});var h=g.callbackFn;v.firing=!1;v.fired.push(g);v.num_of_jsonp_responses++;h(c,x);d&&r(c,x)}catch(a){a.message="DIL jsonp callback caught error with message "+a.message;ac=a.message;X.push(ac);a.filename=a.filename||"dil.js";a.partner=ad;DIL.errorModule.handleError(a);try{h({error:a.name+"|"+a.message}),d&&r({error:a.name+"|"+a.message})}catch(e){}}finally{v.requestRemoval({script:b,callbackName:m}),v.registerRequest()}};var w=function(){v.firing=!1;v.requestRemoval({script:"no script created",callbackName:m})};V?w():y?DIL.windowLoaded||"complete"==document.readyState||"loaded"==document.readyState?(g.useDocWriteSuccessful=!1,w()):(document.write('<script type="text/javascript" src="'+k+'" id="'+m+'"></script>'),b=document.getElementById(m),g.useDocWriteSuccessful=!0):(b=document.createElement("script"),b.addEventListener&&b.addEventListener("error",function(a){v.requestRemoval({script:b,callbackName:m});ac="jsonp script tag error listener received the event of type "+a.type+" with src "+k;n.handleScriptError(ac,g)},!1),b.type="text/javascript",b.src=k,y=DIL.variables.scriptNodeList[0],y.parentNode.insertBefore(b,y));v.sent.push(g);v.declaredId.declaredId.request=null}},handleScriptError:function(a,c){var b=ak;X.push(a);b.abortRequests=!0;b.firing=!1;b.errored.push(c);b.num_of_jsonp_errors++;b.registerRequest()}},Q={isValidPdata:function(a){return a instanceof Array&&this.removeEmptyArrayValues(a).length?!0:!1},isValidLogdata:function(a){return !this.isEmptyObject(a)},isEmptyObject:function(a){if(a!==Object(a)){return !0}for(var b in a){if(a.hasOwnProperty(b)){return !1}}return !0},removeEmptyArrayValues:function(a){for(var f=0,c=a.length,d,b=[],f=0;f<c;f++){d=a[f],"undefined"!=typeof d&&null!=d&&b.push(d)}return b},isPopulatedString:function(a){return"string"==typeof a&&a.length}},U={addListener:function(){if(document.addEventListener){return function(a,c,b){a.addEventListener(c,function(d){"function"==typeof b&&b(d)},!1)}}if(document.attachEvent){return function(a,c,b){a.attachEvent("on"+c,function(d){"function"==typeof b&&b(d)})}}}(),convertObjectToKeyValuePairs:function(a,g,c){var d=[],g=g||"=",b,f;for(b in a){f=a[b],"undefined"!=typeof f&&null!=f&&d.push(b+g+(c?encodeURIComponent(f):f))}return d},encodeAndBuildRequest:function(a,b){return this.map(a,function(c){return encodeURIComponent(c)}).join(b)},map:function(a,g){if(Array.prototype.map){return a.map(g)}if(void 0===a||null===a){throw new TypeError}var c=Object(a),d=c.length>>>0;if("function"!==typeof g){throw new TypeError}for(var b=Array(d),f=0;f<d;f++){f in c&&(b[f]=g.call(g,c[f],f,c))}return b},filter:function(a,h){if(!Array.prototype.filter){if(void 0===a||null===a){throw new TypeError}var c=Object(a),f=c.length>>>0;if("function"!==typeof h){throw new TypeError}for(var b=[],g=0;g<f;g++){if(g in c){var d=c[g];h.call(h,d,g,c)&&b.push(d)}}return b}return a.filter(h)},getCookie:function(a){var a=a+"=",f=document.cookie.split(";"),c,d,b;for(c=0,d=f.length;c<d;c++){for(b=f[c];" "==b.charAt(0);){b=b.substring(1,b.length)}if(0==b.indexOf(a)){return decodeURIComponent(b.substring(a.length,b.length))}}return null},setCookie:function(a,h,c,f,b,g){var d=new Date;c&&(c*=60000);document.cookie=a+"="+encodeURIComponent(h)+(c?";expires="+(new Date(d.getTime()+c)).toUTCString():"")+(f?";path="+f:"")+(b?";domain="+b:"")+(g?";secure":"")},extendArray:function(a,b){return a instanceof Array&&b instanceof Array?(Array.prototype.push.apply(a,b),!0):!1},extendObject:function(a,d,b){var c;if(a===Object(a)&&d===Object(d)){for(c in d){if(d.hasOwnProperty(c)&&(Q.isEmptyObject(b)||!(c in b))){a[c]=d[c]}}return !0}return !1},getMaxCookieExpiresInMinutes:function(){return((new Date(aj.COOKIE_MAX_EXPIRATION_DATE)).getTime()-(new Date).getTime())/1000/60}};"error"==ad&&0==Z&&U.addListener(window,"load",function(){DIL.windowLoaded=!0});var q=function(){aa();!j&&!ak.abortRequests&&ag.attachIframe();ak.readyToRemove=!0;ak.requestRemoval()},aa=function(){j||setTimeout(function(){!J&&!ak.firstRequestHasFired&&!ak.adms.admsProcessingStarted&&!ak.adms.calledBack&&("function"==typeof al?Y.afterResult(al).submit():Y.submit())},DIL.constants.TIME_TO_DEFAULT_REQUEST)},W=document;"error"!=ad&&(DIL.windowLoaded?q():"complete"!=W.readyState&&"loaded"!=W.readyState?U.addListener(window,"load",q):DIL.isAddedPostWindowLoadWasCalled?U.addListener(window,"load",q):(ah="number"==typeof ah?parseInt(ah,10):0,0>ah&&(ah=0),setTimeout(q,ah||DIL.constants.TIME_TO_CATCH_ALL_DP_IFRAME_ATTACHMENT)));ak.declaredId.setDeclaredId(F,"init");this.api=Y;this.getStuffedVariable=function(a){var b=H.stuffed[a];!b&&"number"!=typeof b&&(b=U.getCookie(a),!b&&"number"!=typeof b&&(b=""));return b};this.validators=Q;this.helpers=U;this.constants=aj;this.log=X;if(z){this.pendingRequest=ae,this.requestController=ak,this.setDestinationPublishingUrl=P,this.destinationPublishing=ag,this.requestProcs=D,this.variables=H}},function(){var a=document,b;if(null==a.readyState&&a.addEventListener){a.readyState="loading",a.addEventListener("DOMContentLoaded",b=function(){a.removeEventListener("DOMContentLoaded",b,!1);a.readyState="complete"},!1)}}(),DIL.extendStaticPropertiesAndMethods=function(a){var b;if(a===Object(a)){for(b in a){a.hasOwnProperty(b)&&(this[b]=a[b])}}},DIL.extendStaticPropertiesAndMethods({version:"4.2",jsonVersion:1,constants:{TIME_TO_DEFAULT_REQUEST:50,TIME_TO_CATCH_ALL_DP_IFRAME_ATTACHMENT:500},variables:{scriptNodeList:document.getElementsByTagName("script"),scriptsRemoved:[],callbacksRemoved:[]},windowLoaded:!1,dils:{},isAddedPostWindowLoadWasCalled:!1,isAddedPostWindowLoad:function(a){this.isAddedPostWindowLoadWasCalled=!0;this.windowLoaded="function"==typeof a?!!a():"boolean"==typeof a?a:!0},create:function(a){try{return new DIL(a)}catch(b){return(new Image(0,0)).src="http://error.demdex.net/event?d_nsid=0&d_px=14137&d_ld=name%3Derror%26filename%3Ddil.js%26partner%3Dno_partner%26message%3DError%2520in%2520attempt%2520to%2520create%2520DIL%2520instance%2520with%2520DIL.create()%26_ts%3D"+(new Date).getTime(),Error("Error in attempt to create DIL instance with DIL.create()")}},registerDil:function(a,c,b){c=c+"$"+b;c in this.dils||(this.dils[c]=a)},getDil:function(a,c){var b;"string"!=typeof a&&(a="");c||(c=0);b=a+"$"+c;return b in this.dils?this.dils[b]:Error("The DIL instance with partner = "+a+" and containerNSID = "+c+" was not found")},dexGetQSVars:function(a,c,b){c=this.getDil(c,b);return c instanceof this?c.getStuffedVariable(a):""},xd:{postMessage:function(a,d,b){var c=1;if(d){if(window.postMessage){b.postMessage(a,d.replace(/([^:]+:\/\/[^\/]+).*/,"$1"))}else{if(d){b.location=d.replace(/#.*$/,"")+"#"+ +(new Date)+c+++"&"+a}}}}}}),DIL.errorModule=function(){var a=DIL.create({partner:"error",containerNSID:0,disableDestinationPublishingIframe:!0}),c={harvestererror:14138,destpuberror:14139,dpmerror:14140,generalerror:14137,error:14137,noerrortypedefined:15021,evalerror:15016,rangeerror:15017,referenceerror:15018,typeerror:15019,urierror:15020},b=!1;return{activate:function(){b=!0},handleError:function(e){if(!b){return"DIL error module has not been activated"}e!==Object(e)&&(e={});var d=e.name?(new String(e.name)).toLowerCase():"",f=[],e={name:d,filename:e.filename?e.filename+"":"",partner:e.partner?e.partner+"":"no_partner",site:e.site?e.site+"":document.location.href,message:e.message?e.message+"":""};f.push(d in c?c[d]:c.noerrortypedefined);a.api.pixels(f).logs(e).useImageRequest().submit();return"DIL error report sent"},pixelMap:c}}(),DIL.tools={},DIL.modules={helpers:{handleModuleError:function(a,d,b){var c="",d=d||"Error caught in DIL module/submodule: ";a===Object(a)?c=d+(a.message||"err has no message"):(c=d+"err is not a valid object",a={});a.message=c;if(b instanceof DIL){a.partner=b.api.getPartner()}DIL.errorModule.handleError(a);return this.errorMessage=c}}}}DIL.tools.getSearchReferrer=function(a,h){var c=DIL.getDil("error"),f=DIL.tools.decomposeURI(a||document.referrer),b="",g="",d={queryParam:"q"},b=c.helpers.filter([h===Object(h)?h:{},{hostPattern:/aol\./},{hostPattern:/ask\./},{hostPattern:/bing\./},{hostPattern:/google\./},{hostPattern:/yahoo\./,queryParam:"p"}],function(j){return !(!j.hasOwnProperty("hostPattern")||!f.hostname.match(j.hostPattern))}).shift();return !b?{valid:!1,name:"",keywords:""}:{valid:!0,name:f.hostname,keywords:(c.helpers.extendObject(d,b),g=d.queryPattern?(b=(""+f.search).match(d.queryPattern))?b[1]:"":f.uriParams[d.queryParam],decodeURIComponent(g||"").replace(/\+|%20/g," "))}};DIL.tools.decomposeURI=function(a){var c=DIL.getDil("error"),b=document.createElement("a");b.href=a||document.referrer;return{hash:b.hash,host:b.host.split(":").shift(),hostname:b.hostname,href:b.href,pathname:b.pathname.replace(/^\//,""),protocol:b.protocol,search:b.search,uriParams:function(d,f){c.helpers.map(f.split("&"),function(e){e=e.split("=");d[e.shift()]=e.shift()});return d}({},b.search.replace(/^(\/|\?)?|\/$/g,""))}};DIL.tools.getMetaTags=function(){var a={},h=document.getElementsByTagName("meta"),c,f,b,g,d;for(c=0,b=arguments.length;c<b;c++){if(g=arguments[c],null!==g){for(f=0;f<h.length;f++){if(d=h[f],d.name==g){a[g]=d.content;break}}}}return a};DIL.modules.siteCatalyst={dil:null,handle:DIL.modules.helpers.handleModuleError,init:function(a,h,c){try{var f=this,b={name:"DIL Site Catalyst Module Error"},g=function(j){b.message=j;DIL.errorModule.handleError(b);return j};this.dil=null;if(h instanceof DIL){this.dil=h}else{return g("dilInstance is not a valid instance of DIL")}b.partner=h.api.getPartner();if(a!==Object(a)){return g("siteCatalystReportingSuite is not an object")}if("function"!=typeof a.m_i||"function"!=typeof a.loadModule){return g("s.m_i is not a function or s.loadModule is not a function")}a.m_DIL=function(j){j=j.m_i("DIL");if(j!==Object(j)){return g("m is not an object")}j.trackVars=f.constructTrackVars(c);j.d=0;j._t=function(){var l,w,p=","+this.trackVars+",",v=this.s,m,q=[];m=[];var x={},k=!1;if(v!==Object(v)||!(v.va_t instanceof Array)){return g("Error in m._t function: s is not an object or s.va_t is not an array")}if(this.d){if(v.lightProfileID){(l=v.lightTrackVars)&&(l=","+l+","+v.vl_mr+",")}else{if(v.pe||v.linkType){l=v.linkTrackVars;if(v.pe&&(w=v.pe.substring(0,1).toUpperCase()+v.pe.substring(1),v[w])){l=v[w].trackVars}l&&(l=","+l+","+v.vl_l+","+v.vl_l2+",")}}if(l){for(w=0,q=l.split(",");w<q.length;w++){0<=p.indexOf(","+q[w]+",")&&m.push(q[w])}m.length&&(p=","+m.join(",")+",")}for(m=0,w=v.va_t.length;m<w;m++){l=v.va_t[m],0<=p.indexOf(","+l+",")&&null!=v[l]&&""!==v[l]&&(x[l]=v[l],k=!0)}k&&this.d.api.signals(x,"c_").submit()}};j.setup=function(){this.d=h}};a.loadModule("DIL");if(a.DIL!==Object(a.DIL)||"function"!=typeof a.DIL.setup){return g("s.DIL is not an object or s.DIL.setup is not a function")}a.DIL.setup();if(b.message){return b.message}}catch(d){return this.handle(d,"DIL.modules.siteCatalyst.init() caught error with message ",this.dil)}},constructTrackVars:function(a){var h=[],c,f,b,g,d;if(a===Object(a)){c=a.names;if(c instanceof Array&&(b=c.length)){for(f=0;f<b;f++){g=c[f],"string"==typeof g&&g.length&&h.push(g)}}a=a.iteratedNames;if(a instanceof Array&&(b=a.length)){for(f=0;f<b;f++){if(c=a[f],c===Object(c)&&(g=c.name,d=parseInt(c.maxIndex,10),"string"==typeof g&&g.length&&!isNaN(d)&&0<=d)){for(c=0;c<=d;c++){h.push(g+c)}}}}if(h.length){return h.join(",")}}return this.constructTrackVars({names:"pageName,channel,campaign,products,events,pe,pev1,pev2,pev3".split(","),iteratedNames:[{name:"prop",maxIndex:75},{name:"eVar",maxIndex:75}]})}};DIL.modules.GA={dil:null,arr:null,tv:null,errorMessage:"",defaultTrackVars:["_setAccount","_setCustomVar","_addItem","_addTrans","_trackSocial"],defaultTrackVarsObj:null,signals:{},hasSignals:!1,handle:DIL.modules.helpers.handleModuleError,init:function(a,g,c){try{this.tv=this.arr=this.dil=null;this.errorMessage="";this.signals={};this.hasSignals=!1;var d={name:"DIL GA Module Error"},b="";g instanceof DIL?(this.dil=g,d.partner=this.dil.api.getPartner()):(b="dilInstance is not a valid instance of DIL",d.message=b,DIL.errorModule.handleError(d));!(a instanceof Array)||!a.length?(b="gaArray is not an array or is empty",d.message=b,DIL.errorModule.handleError(d)):this.arr=a;this.tv=this.constructTrackVars(c);this.errorMessage=b}catch(f){this.handle(f,"DIL.modules.GA.init() caught error with message ",this.dil)}finally{return this}},constructTrackVars:function(a){var g=[],c,d,b,f;if(this.defaultTrackVarsObj!==Object(this.defaultTrackVarsObj)){b=this.defaultTrackVars;f={};for(c=0,d=b.length;c<d;c++){f[b[c]]=!0}this.defaultTrackVarsObj=f}else{f=this.defaultTrackVarsObj}if(a===Object(a)){a=a.names;if(a instanceof Array&&(d=a.length)){for(c=0;c<d;c++){b=a[c],"string"==typeof b&&b.length&&b in f&&g.push(b)}}if(g.length){return g}}return this.defaultTrackVars},constructGAObj:function(a){var g={},a=a instanceof Array?a:this.arr,c,d,b,f;for(c=0,d=a.length;c<d;c++){b=a[c],b instanceof Array&&b.length&&(f=b.shift(),"string"==typeof f&&f.length&&(g[f] instanceof Array||(g[f]=[]),g[f].push(b)))}return g},addToSignals:function(a,b){if("string"!=typeof a||""===a||null==b||""===b){return !1}this.signals[a] instanceof Array||(this.signals[a]=[]);this.signals[a].push(b);return this.hasSignals=!0},constructSignals:function(){var c=this.constructGAObj(),k={_setAccount:function(a){this.addToSignals("c_accountId",a)},_setCustomVar:function(a,o,m){"string"==typeof o&&o.length&&this.addToSignals("c_"+o,m)},_addItem:function(a,u,o,p,m,q){this.addToSignals("c_itemOrderId",a);this.addToSignals("c_itemSku",u);this.addToSignals("c_itemName",o);this.addToSignals("c_itemCategory",p);this.addToSignals("c_itemPrice",m);this.addToSignals("c_itemQuantity",q)},_addTrans:function(a,x,p,v,m,w,q,y){this.addToSignals("c_transOrderId",a);this.addToSignals("c_transAffiliation",x);this.addToSignals("c_transTotal",p);this.addToSignals("c_transTax",v);this.addToSignals("c_transShipping",m);this.addToSignals("c_transCity",w);this.addToSignals("c_transState",q);this.addToSignals("c_transCountry",y)},_trackSocial:function(a,p,m,o){this.addToSignals("c_socialNetwork",a);this.addToSignals("c_socialAction",p);this.addToSignals("c_socialTarget",m);this.addToSignals("c_socialPagePath",o)}},f=this.tv,h,d,j,g,l,b;for(h=0,d=f.length;h<d;h++){if(j=f[h],c.hasOwnProperty(j)&&k.hasOwnProperty(j)&&(b=c[j],b instanceof Array)){for(g=0,l=b.length;g<l;g++){k[j].apply(this,b[g])}}}},submit:function(){try{if(""!==this.errorMessage){return this.errorMessage}this.constructSignals();return this.hasSignals?(this.dil.api.signals(this.signals).submit(),"Signals sent: "+this.dil.helpers.convertObjectToKeyValuePairs(this.signals,"=",!0)+this.dil.log):"No signals present"}catch(a){return this.handle(a,"DIL.modules.GA.submit() caught error with message ",this.dil)}},Stuffer:{LIMIT:5,dil:null,cookieName:null,delimiter:null,errorMessage:"",handle:DIL.modules.helpers.handleModuleError,callback:null,v:function(){return !1},init:function(a,d,b){try{this.callback=this.dil=null,this.errorMessage="",a instanceof DIL?(this.dil=a,this.v=this.dil.validators.isPopulatedString,this.cookieName=this.v(d)?d:"aam_ga",this.delimiter=this.v(b)?b:"|"):this.handle({message:"dilInstance is not a valid instance of DIL"},"DIL.modules.GA.Stuffer.init() error: ")}catch(c){this.handle(c,"DIL.modules.GA.Stuffer.init() caught error with message ",this.dil)}finally{return this}},process:function(a){var h,c,f,b,g,d;d=!1;var j=1;if(a===Object(a)&&(h=a.stuff)&&h instanceof Array&&(c=h.length)){for(a=0;a<c;a++){if((f=h[a])&&f===Object(f)){if(b=f.cn,g=f.cv,b==this.cookieName&&this.v(g)){d=!0;break}}}}if(d){h=g.split(this.delimiter);if("undefined"==typeof window._gaq){window._gaq=[]}f=window._gaq;for(a=0,c=h.length;a<c&&!(d=h[a].split("="),g=d[0],d=d[1],this.v(g)&&this.v(d)&&f.push(["_setCustomVar",j++,g,d,1]),j>this.LIMIT);a++){}this.errorMessage=1<j?"No errors - stuffing successful":"No valid values to stuff"}else{this.errorMessage="Cookie name and value not found in json"}if("function"==typeof this.callback){return this.callback()}},submit:function(){try{var a=this;if(""!==this.errorMessage){return this.errorMessage}this.dil.api.afterResult(function(c){a.process(c)}).submit();return"DIL.modules.GA.Stuffer.submit() successful"}catch(b){return this.handle(b,"DIL.modules.GA.Stuffer.submit() caught error with message ",this.dil)}}}};DIL.modules.Peer39={aid:"",dil:null,optionals:null,errorMessage:"",calledBack:!1,script:null,scriptsSent:[],returnedData:[],handle:DIL.modules.helpers.handleModuleError,init:function(a,g,c){try{this.dil=null;this.errorMessage="";this.calledBack=!1;this.optionals=c===Object(c)?c:{};var c={name:"DIL Peer39 Module Error"},d=[],b="";if(this.isSecurePageButNotEnabled(document.location.protocol)){b="Module has not been enabled for a secure page",d.push(b),c.message=b,DIL.errorModule.handleError(c)}g instanceof DIL?(this.dil=g,c.partner=this.dil.api.getPartner()):(b="dilInstance is not a valid instance of DIL",d.push(b),c.message=b,DIL.errorModule.handleError(c));"string"!=typeof a||!a.length?(b="aid is not a string or is empty",d.push(b),c.message=b,DIL.errorModule.handleError(c)):this.aid=a;this.errorMessage=d.join("\n")}catch(f){this.handle(f,"DIL.modules.Peer39.init() caught error with message ",this.dil)}finally{return this}},isSecurePageButNotEnabled:function(a){return"https:"==a&&!0!==this.optionals.enableHTTPS?!0:!1},constructSignals:function(){var a=this,c=this.constructScript(),b=DIL.variables.scriptNodeList[0];window["afterFinished_"+this.aid]=function(){try{var e=a.processData(p39_KVP_Short("c_p","|").split("|"));e.hasSignals&&a.dil.api.signals(e.signals).submit()}catch(d){}finally{a.calledBack=!0,"function"==typeof a.optionals.afterResult&&a.optionals.afterResult()}};b.parentNode.insertBefore(c,b);this.scriptsSent.push(c);return"Request sent to Peer39"},processData:function(a){var h,c,f,b,g={},d=!1;this.returnedData.push(a);if(a instanceof Array){for(h=0,c=a.length;h<c;h++){f=a[h].split("="),b=f[0],f=f[1],b&&isFinite(f)&&!isNaN(parseInt(f,10))&&(g[b] instanceof Array||(g[b]=[]),g[b].push(f),d=!0)}}return{hasSignals:d,signals:g}},constructScript:function(){var a=document.createElement("script"),d=this.optionals,b=d.scriptId,c=d.scriptSrc,d=d.scriptParams;a.id="string"==typeof b&&b.length?b:"peer39ScriptLoader";a.type="text/javascript";"string"==typeof c&&c.length?a.src=c:(a.src=(this.dil.constants.IS_HTTPS?"https:":"http:")+"//stags.peer39.net/"+this.aid+"/trg_"+this.aid+".js","string"==typeof d&&d.length&&(a.src+="?"+d));return a},submit:function(){try{return""!==this.errorMessage?this.errorMessage:this.constructSignals()}catch(a){return this.handle(a,"DIL.modules.Peer39.submit() caught error with message ",this.dil)}}};var scDil=DIL.create({partner:"shaw",uuidCookie:{name:"aam_uuid",days:30}});var _scObj=s_gi(s_account);DIL.modules.siteCatalyst.init(_scObj,scDil,{names:["pageName","channel","campaign","products","events","pe","referrer","server","purchaseID","zip","state"],iteratedNames:[{name:"eVar",maxIndex:75},{name:"prop",maxIndex:75},{name:"pev",maxIndex:3},{name:"hier",maxIndex:4}]});var AamGpt={strictEncode:function(a){return encodeURIComponent(a).replace(/[!'()]/g,escape).replace(/\*/g,"%2A")},getCookie:function(b){var d,e,f,a=document.cookie.split(";");for(d=0;d<a.length;d++){e=a[d].substr(0,a[d].indexOf("="));f=a[d].substr(a[d].indexOf("=")+1);e=e.replace(/^\s+|\s+$/g,"");if(e==b){return unescape(f)}}},getKey:function(b){var a=this.getCookie(b);a=this.strictEncode(a);if(typeof a!="undefined"&&a.match(/\w+%3D/)){var d=a.split("%3D");if(typeof d[0]!="undefined"&&d[0].match(/\w+/)){return d[0]}}},getValues:function(b){var a=this.getCookie(b);a=this.strictEncode(a);if(typeof a!="undefined"&&a.match(/\w+%3D\w+/)){var d=a.split("%3D");if(typeof d[1]!="undefined"&&d[1].match(/\w+/)){var e=d[1].split("%2C");if(typeof e[0]!="undefined"){return e}else{return null}}else{return null}}else{return null}}};s.getValOnce=new Function("v","c","e","var s=this,k=s.c_r(c),a=new Date;e=e?e:0;if(v){a.setTime(a.getTime()+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v");function OmnitureHelper(){}OmnitureHelper.date=new Date();OmnitureHelper.location=window.location;OmnitureHelper.GetPageURL=function(){var a=OmnitureHelper.location.pathname.toLowerCase();if(a=="/"){a="default.aspx"}else{if(a.substring(a.length-1,a.length)=="/"){a+="default.aspx"}}return a};OmnitureHelper.GetServerName=function(){return OmnitureHelper.location.hostname.toLowerCase()};OmnitureHelper.sendOmniNavClick=function(e,a,b,d){s.linkTrackEvents="";s.linkTrackVars="";if(b.length>0){s.linkTrackVars+=",events";s.linkTrackEvents=b.join(",");s.events=s.linkTrackEvents}if(a!=null){for(var c in a){s.linkTrackVars+=","+c;s[c]=a[c]}}if(s.linkTrackVars){s.linkTrackVars=s.linkTrackVars.substr(1)}s.tl(this,"o",e,null,function(){if(d){document.location.href=d}})};OmnitureHelper.GetInternalSearchTerms=function(){var b=OmnitureHelper.GetURLParameter("nav");if(b){var a=b.match(/^Ntk:AllSearch|(.*)|1|/g);if(a[1]){return a[1].substr(1,a[1].indexOf("|1|")-1)}}return OmnitureHelper.GetURLParameter("q").toLowerCase()};OmnitureHelper.GetURLParameter=function(a){var b=OmnitureHelper.LoadQueryString();if(b[a]){return b[a]}else{return""}};OmnitureHelper.LoadQueryString=function(){var d={};var f=OmnitureHelper.location.search.substr(1);var c=f.split("&");var e;for(i=0;i<c.length;i++){e=c[i].split("=");var b=e[0];var a=decodeURI(e[1]);d[b]=a}return d};OmnitureHelper.GetSiteSection=function(){return OmnitureHelper.location.pathname.split("/")["1"]};OmnitureHelper.GetHourOfDay=function(){return OmnitureHelper.date.getHours()};OmnitureHelper.GetDayOfWeek=function(){var a=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");return a[OmnitureHelper.date.getDay()]};OmnitureHelper.IsWeekend=function(){var a=OmnitureHelper.GetDayOfWeek();if(a=="Sunday"||a=="Saturday"){return true}else{return false}};OmnitureHelper.SetParameters=function(b){for(var a in b){s[a]=b[a]}s.t()};OmnitureHelper.SetParametersWithoutNewPageView=function(b){for(var a in b){s[a]=b[a]}s.tl()};OmnitureHelper.SetPageViewParameters=function(){s.pageName=OmnitureHelper.GetPageURL();s.server=OmnitureHelper.GetServerName();s.channel=OmnitureHelper.GetSiteSection();s.prop11=OmnitureHelper.GetInternalSearchTerms();s.prop23=document.title;s.eVar2=s.pageName;s.eVar3=document.title;s.eVar4="";s.eVar5="";s.eVar6=s.channel;s.eVar11=OmnitureHelper.GetHourOfDay();s.eVar12=OmnitureHelper.GetDayOfWeek();s.eVar13=OmnitureHelper.IsWeekend()?"Weekend":"Weekday";s.campaign=OmnitureHelper.GetURLParameter("cid");if(s.campaign==""){s.campaign=OmnitureHelper.GetURLParameter("utm_campaign")}if(s.campaign!=""){s.campaign=OmnitureHelper.GetURLParameter("cid")}s.campaign=s.getValOnce(s.campaign,"s_campaign",0);if(!s.campaign){s.eVar18=OmnitureHelper.GetURLParameter("utm_medium");s.eVar19=OmnitureHelper.GetURLParameter("utm_source");s.eVar20=OmnitureHelper.GetURLParameter("utm_campaign");s.eVar21=OmnitureHelper.GetURLParameter("utm_term");s.eVar22=OmnitureHelper.GetURLParameter("utm_content");s.tempmedium=s.eVar18;if(s.eVar19=="ie9"&&utm_medium_override!=false){s.tempmedium=utm_medium_override}if(s.eVar19||s.eVar20||s.eVar21||s.eVar22){s.campaign=s.tempmedium+"|"+s.eVar19+"|"+s.eVar20+"|"+s.eVar21+"|"+s.eVar22}}};OmnitureHelper.SetAuthenticationCookies=function(a){if(!History.Utils.getCookie("auth")){var b=30;History.Utils.setCookie("auth",a.BDUId+";"+a.AltID,b);OmnitureHelper.sendOmniNavClick("Successful Login Attempt",{eVar8:"Successful Login Attempt"},["event8"])}};OmnitureHelper.ClearAuthenticationCookies=function(){History.Utils.deleteCookie("auth")};OmnitureHelper.SetAuthenticationParameters=function(){if(!History.Utils.getCookie("auth")){s.prop55="Non-authenticated User"}else{var b=History.Utils.getCookie("auth").split(";");var a=History.Utils.getCookie("authTID");s.prop55="Authenticated User";if(a){s.prop54=a}if(b[0]){s.prop56=b[0]}if(b[1]){s.prop57=b[1]}s.prop58="";s.prop59=""}s.eVar54=s.prop54;s.eVar55=s.prop55;s.eVar56=s.prop56;s.eVar57=s.prop57};OmnitureHelper.SendPageViewParameters=function(){OmnitureHelper.SetAuthenticationParameters();OmnitureHelper.SetPageViewParameters();var a=s.t();if(a){document.write(a)}};$(function(){OmnitureHelper.SendPageViewParameters()});$(function(){$(".main-nav a").click(function(a){a.preventDefault();var b=$(this).text().replace("&","and");OmnitureHelper.sendOmniNavClick(b,{prop14:b},["event14"],$(this).attr("href"))});$(".feature-nav a").click(function(a){a.preventDefault();var b="Features Menu - "+$(this).text().replace("&","and");OmnitureHelper.sendOmniNavClick(b,{prop17:b},["event17"],$(this).attr("href"))});$(".pg-home_page #main a").click(function(a){a.preventDefault();var h=$(this);var d=h.parents("div[id]");var f="";var b=h.attr("title");var c="";var g=false;if(h.hasClass("btn-widget")){d=h.prev()}f=$(d[0]).attr("data-title");if(typeof f==="undefined"||typeof b==="undefined"){f=$(d[0]).attr("id")}c=f+" - "+b;if(!h.hasClass("locked")){g=h.attr("href")}OmnitureHelper.sendOmniNavClick(c,{prop13:c},["event13"],g)});$(".feature-home a").click(function(a){a.preventDefault();var c=$(".feature-home h1 a").text();var b=$(this).attr("title");var d=c+":"+b;OmnitureHelper.sendOmniNavClick(d,{eVar26:d},[],$(this).attr("href"))})});
