/* This Site Intercept is not active (ESIE02): SI_001WXtyipoXANN3 *//* This Site Intercept is not active (ESIE02): SI_0HBPh5vVaITU9kp *//* This Site Intercept is not active (ESIE02): SI_39uvlN7ZvGkNmuh *//* This Site Intercept is not active (ESIE02): SI_4G81W06xdojcXMF *//* This Site Intercept is not active (ESIE02): SI_4ZRWqyijn6ATQqx *//* This Site Intercept is not active (ESIE02): SI_5oLIl9I4WzIQDv7 *//* This Site Intercept is not active (ESIE02): SI_880q3LY1uEIO2ln *//* This Site Intercept is not active (ESIE02): SI_b0WQlfNZiIlshBH *//* This Site Intercept is not active (ESIE02): SI_b1VhW0UBJaofHFP *//* This Site Intercept is not active (ESIE02): SI_cImCM80tGZI7WTP *//* This Site Intercept is not active (ESIE02): SI_cOB2AGRAN6CZDbn */try { /***************** * Setup Module ****************/ if(window.QSI === undefined) window.QSI = {}; if (!QSI.dbg) QSI.dbg = { log:function() {}, c:function(m) {QSI.dbg.log(m);}, d:function(m) {QSI.dbg.log(m);}, t:function(m) {QSI.dbg.log(m);}, e:function(m) {QSI.dbg.log(m);} }; if (QSI.reg === undefined) QSI.reg = {}; if (QSI.ed === undefined) QSI.ed = {}; if (QSI.reqID === undefined) QSI.reqID = {}; if (QSI.global === undefined) { QSI.global = { currentZIndex:2000000000, imagePath:"http://zn_5u81q8n4jdu5ls9-cbs.siteintercept.qualtrics.com/WRSiteInterceptEngine/../WRQualtricsShared/Graphics/", graphicPath:"http://zn_5u81q8n4jdu5ls9-cbs.siteintercept.qualtrics.com/WRSiteInterceptEngine/../WRQualtricsSiteIntercept/Graphic.php?IM=", intercepts:{}, brandID:"cbs", maxCookieSize:500, featureFlags:{ deferredSliderLoadingFeatureEnabled:false }, eventTrackers:[] }; } QSI.baseURL = 'http://siteintercept.qualtrics.com/WRSiteInterceptEngine/'; QSI.adobeVar = 's'; //This is used by IE to get the stored user data off the storage element QSI.id = 'ZN_5u81q8n4JDU5Ls9'; QSI.reqID.ZN_5u81q8n4JDU5Ls9 = true; QSI.Browser = { name:'Firefox', version:49, isMobile:false, isBrowserSupported:true }; QSI.CookieDomain = ''; QSI.currentURL = window.location.href.split('?')[0]; (function(){ // Create the measurement node var scrollDiv = document.createElement("div"); scrollDiv.className = "scrollbar-measure"; scrollDiv.style.width = '100px'; scrollDiv.style.height = '100px'; scrollDiv.style.overflow = 'scroll'; scrollDiv.style.position = 'absolute'; scrollDiv.style.top = '-99999px'; document.body.appendChild(scrollDiv); // Get the scrollbar width var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth; QSI.scrollbarWidth = scrollbarWidth; // Mac: 15 // Delete the DIV document.body.removeChild(scrollDiv); })(); /**************** * Global Includes ****************/ QSI.util={creativeTypes:{EMPTY:"Empty",FEEDBACK_LINK:"FeedbackLink",HTTP_REDIRECT:"HTTPRedirect",IFRAME:"IFrame",INFO_BAR:"InfoBar",LINK:"Link",NO_CREATIVE:"NoCreative",POP_OVER:"PopOver",POP_UNDER:"PopUnder",POP_UP:"PopUp",RELAY:"Relay",SLIDER:"Slider",SOCIAL_MEDIA:"SocialMedia",USER_DEFINED_HTML:"UserDefinedHTML"},originalDocumentOverflow:"auto",$:function(a){"string"==typeof a&&(a=document.getElementById(a));return a},setStyle:function(a,b){QSI.util.forOwn(b,function(c,d){try{a.style[d]=b[d]}catch(e){QSI.dbg.e(e)}})}, getStyle:function(a,b){var c=this.getStyles(a),d;try{d=c?c[b]||c.getPropertyValue(b):void 0}catch(e){d=void 0}return void 0===d?d:d+""},getStyles:function(a){if(window.getComputedStyle)return a.ownerDocument.defaultView.opener?a.ownerDocument.defaultView.getComputedStyle(a,null):window.getComputedStyle(a,null);if(document.documentElement.currentStyle)return a.currentStyle},prependElement:function(a,b){b.firstChild?b.insertBefore(a,b.firstChild):b.appendChild(a)},getTempID:function(){return"QSI_"+ Math.floor(1E5*Math.random()+1)},getDateNow:function(){return!Date.now?(new Date).valueOf():Date.now()},getElementHTML:function(a){var b=document.createElement("div");b.appendChild(a.cloneNode(!0));return b.innerHTML},getOriginInterceptOfMessage:function(a){if(!QSI.reg)return null;for(var b in QSI.reg){var c=QSI.reg[b];if(c.embeddedTargets)for(var d=0;dQSI.Browser.version&&(a=a.substring(0,2050-c.length)),c+="&Q_ED="+a;return c};a.prototype.getTargetHelper= function(a){var c=this;return function(){return c.getTarget(a)}};a.prototype.resetStyles=function(){if(this.options.resetStyle){var a=QSI.util.build("style",{type:"text/css"});if(a.styleSheet)document.getElementsByTagName("head")[0].appendChild(a),a.styleSheet.cssText=this.options.resetStyle;else{document.body.appendChild(a);var c=document.createTextNode(this.options.resetStyle);a.appendChild(c)}}};a.prototype.killPopUnder=function(){try{var a="QSIPopUnder_"+this.id;if(QSI.cookie.get(a)){var c=QSI.util.openWin("", a);c&&c.w&&(c.w.popunderDead=!0);c.close();QSI.cookie.erase(a)}}catch(d){}};a.prototype.shouldShow=function(){var a=!0;this.interceptDisplayOptions.hideOnCookiesDisabled&&(QSI.cookie.areCookiesEnabled()?this.cookiesEnabled.resolve():(this.cookiesEnabled.reject(),a=!1));this.interceptDisplayOptions.hideOnLocalStorageDisabled&&(QSI.localStorage.isLocalStorageEnabled()?this.localStorageEnabled.resolve():(this.localStorageEnabled.reject(),a=!1));this.shouldPreventRepeatedDisplay()?(this.preventRepeatedDisplay.resolve(), a=!1):this.preventRepeatedDisplay.reject();if(a)return this.willShow.resolve(),!0;this.willShow.reject();return!1};a.prototype.shouldPreventRepeatedDisplay=function(){var a=!1;if(0!=this.interceptDisplayOptions.noshow)try{null!==QSI.cookie.get(this.id+"_intercept")?(a=!0,QSI.cookie.erase(this.id+"_intercept")):null!==QSI.cookie.get("QSI_"+this.id+"_intercept")&&(a=!0)}catch(c){QSI.dbg.e(c)}else QSI.cookie.erase("QSI_"+this.id+"_intercept");return a};a.prototype.setPreventRepeatedDisplayCookie=function(){if(this.interceptDisplayOptions&& this.interceptDisplayOptions.noshow&&0!=this.interceptDisplayOptions.noshow&&null===QSI.cookie.get("QSI_"+this.id+"_intercept"))try{QSI.cookie.set("QSI_"+this.id+"_intercept",!0,this.interceptDisplayOptions.noshow,this.interceptDisplayOptions.cookieDomain,{force:!0})}catch(a){QSI.dbg.e(a)}};a.prototype.impress=function(){QSI.util.impress(this.options.impressionURL);try{var a=(new Date).getTime()/1E3,c=JSON.parse(QSI.localStorage.get("Q_INTER"));null===c&&(c={});c[this.id]=a;QSI.localStorage.set("Q_INTER", JSON.stringify(c))}catch(d){QSI.dbg.e(d)}this.setPreventRepeatedDisplayCookie()};a.prototype.close||(a.prototype.close=function(){});a.prototype.remove||(a.prototype.remove=a.prototype.close);return a},evalJSON:function(a){try{return eval("("+a+")")}catch(b){QSI.dbg.e(b)}},isString:function(a){return"string"==typeof a},isArray:function(a){return"object"==typeof a&&a instanceof Array},isFunction:function(a){return"function"===typeof a||!1},isIE8:function(){return this.isIE(8)},isIE:function(a){return"Internet Explorer"!= QSI.Browser.name?!1:!a?!0:a==QSI.Browser.version},isChrome:function(){return"Chrome"===QSI.Browser.name},isOpera:function(){return"Opera"===QSI.Browser.name},isFF:function(){return"Firefox"===QSI.Browser.name},removePx:function(a){a=a||"";var b=a.indexOf("px");0QSI.Browser.version){var a=document.getElementsByTagName("html")[0]; QSI.util.setStyle(a,{overflow:this.originalDocumentOverflow})}else QSI.util.setStyle(document.body,{overflow:this.originalDocumentOverflow});document.ontouchmove=QSI.touchScrollEvent;QSI.touchScrollEvent=null},stopScrolling:function(){if("Internet Explorer"==QSI.Browser.name&&8>QSI.Browser.version){var a=document.getElementsByTagName("html")[0];this.originalDocumentOverflow=this.originalDocumentOverflow||this.getStyle(a,"overflow");QSI.util.setStyle(a,{overflow:"hidden"})}else this.originalDocumentOverflow= this.originalDocumentOverflow||this.getStyle(document.body,"overflow"),QSI.util.setStyle(document.body,{overflow:"hidden"});document.ontouchmove&&(QSI.touchScrollEvent=document.ontouchmove);document.ontouchmove=function(a){a.preventDefault()}},hasVerticalScrollbar:function(){var a=document.documentElement;return"Internet Explorer"===QSI.Browser.name&&8>QSI.Browser.version?!0:"Internet Explorer"===QSI.Browser.name&&9>QSI.Browser.version?6QSI.Browser.version?!0:"Internet Explorer"===QSI.Browser.name&&9>QSI.Browser.version?6=document.body.scrollHeight*(a/100)?!0:!1},remove:function(a){a&& a.parentNode&&a.parentNode.removeChild(a)},removeAllByQuery:function(a,b){var c=a.querySelectorAll(b);Array.prototype.forEach.call(c,function(a){QSI.util.remove(a)})},buildWidget:function(a,b){var c="build"+a+"Widget";return this[c]?this[c](b):""},buildCCDWidget:function(a){a=a||{};if(a.close&&0=b)){var a=e.$(c);a&&(a.innerHTML=--b+"");setTimeout(d, 1E3)}};a.delay&&0h||h+e>g)){var f=h+b,m=f-d,l=0<=m?20:-20;10>Math.abs(m)&&(l=m);var k;d=f;"auto"==c?k=setInterval(function(){var b=parseInt(a.style.top,10)+l;a.style.top=b+"px";a.style.bottom=c;0=f&&(clearInterval(k),QSI.util.observe(window,"scroll",j)):b<=f&&(clearInterval(k),QSI.util.observe(window,"scroll",j)); QSI.util.observe(window,"scroll",j)},15):"auto"==b&&(k=setInterval(function(){var d=parseInt(a.style.bottom,10)+l;a.style.bottom=h+e-c+"px";a.style.top=b;a.style.bottom=d+"px";0=f&&(clearInterval(k),QSI.util.observe(window,"scroll",j)):d<=f&&(clearInterval(k),QSI.util.observe(window,"scroll",j));QSI.util.observe(window,"scroll",j)},15))}},60)};QSI.util.observe(window,"scroll",j)},each:function(a,b){var c=a.length;if(c)for(var d=0;dd&&e.resolve(b);return e.promise()},moveToBackground:function(){("Firefox"===QSI.Browser.name||"Internet Explorer"===QSI.Browser.name&&11<=QSI.Browser.version)&&window.open("javascript:window.focus();","_self","")},handleMailTo:function(a, b,c,d){this.addClickImg(b,c,d,function(){window.location.href=a})},addClickImg:function(a,b,c,d){a=QSI.baseURL+"?Q_Click=1&Q_CID="+c+"&Q_SIID="+a+"&Q_ASID="+b+"&T="+(new Date).getTime()+"&Q_LOC="+encodeURIComponent(window.location.href);this.addImage(a,d)},addImage:function(a,b){var c=QSI.util.build("img",{src:a,alt:""});QSI.util.isIE()&&QSI.util.setStyle(c,{display:"none"});b&&QSI.util.observe(c,"load",b);document.body.appendChild(c)},processLocators:function(a,b){for(var c=0,d=a.length;ca.search(/^UA-\d+-\d{1,2}$/)?QSI.dbg.c("Google Anylytics Account number is incorrect "+a):window.GoogleAnalyticsObject?this.googleEventAnyalytics(window.GoogleAnalyticsObject,a,b,c):this.googleEventGA(a,b,c)},googleEventGA:function(a,b,c){var d="SITracker"+this.getTempID(),e=window._gaq||[];e.push([d+"._setAccount",a]);e.push([d+"._trackEvent",b,c])},googleEventAnyalytics:function(a,b,c,d){var e="SITracker"+this.getTempID();window[a]("create", b,{name:e});window[a](e+".send","event",c,d)},evalJS:function(a){return function(){try{eval(a)}catch(b){QSI.dbg.c("Error During Eval JavaScript "+b)}}},processElementEvents:function(a,b,c){if(a&&!(0>=a.length||0>=a[0].length)){c=new QSI.ActionModule(c);a=a[0];for(var d=0,e=a.length;d=b)QSI.cookie.erase("QSI_HistorySession",encodeURIComponent(a),0);else{b=b||QSI.global.maxCookieSize||this.limit; var c=encodeURIComponent(a),c=this.limitSize(c,b);try{QSI.cookie.set("QSI_HistorySession",c,0)}catch(d){a=decodeURIComponent(c),this.writeHistory(a,b-500)}}},limitSize:function(a,b){if(!a.length)return a;for(b=b||this.limit;a.length>b;){var c=decodeURIComponent(a).split("|");c.splice(0,1);a=c.join("|");a=encodeURIComponent(a)}return a},get:function(){var a=QSI.cookie.get("QSI_HistorySession");a||(a=[]);a=this.limitSize(a);return decodeURIComponent(a)},logCurrentURL:function(){this.logSite(window.location.href, 1*new Date)},getReferrer:function(){return document.referrer},logSearch:function(){var a,b=this.getReferrer();if(0<=b.search(/(google.com)|(bing.com)|(yahoo.com)/)){var c="";0<=b.search(/(google.com)|(bing.com)/)?(a=/q=(.*?)\&/,(a=b.match(a))&&(a.length&&a[1])&&(c=a[1])):0<=b.search(/yahoo.com/)&&(a=/p=(.*?)\&/,(a=b.match(a))&&(a.length&&a[1])&&(c=a[1]));c=unescape(c);QSI.profile.set("History","SearchTerm",c)}},logReferrer:function(){var a=this.getReferrer();a&&(QSI.util.build("a",{href:a}).hostname!= document.location.host&&QSI.profile.set("History","SiteReferrer",a),QSI.profile.set("History","PageReferrer",a))},logIntercept:function(a,b){b&&this.logActionSet(b)},logActionSet:function(a){if(0<=a.search("AS_")){var b=1*new Date;QSI.profile.set("ActionSetHistory",a,b);QSI.profile.set("ActionSetHistory",a,b,1)}},logSurvey:function(a,b){QSI.profile.set("QualtricsSurveyHistory",a,b,1)},getSiteReferrer:function(){return QSI.profile.get("History","SiteReferrer")},getPageReferrer:function(){return QSI.profile.get("History", "PageReferrer")},getSearch:function(){var a=QSI.profile.get("History","SearchTerm");a||(a="");return a},getTimeOnSite:function(){var a=this.getFocusTime(),b=this.getBlurTime();return a+b+"|"+a},getFocusTime:function(){var a=QSI.profile.get("History","FocusTime");a||(a=0);return a},getBlurTime:function(){var a=QSI.profile.get("History","BlurTime");a||(a=0);return a},getActionSetHistory:function(a,b){var c=QSI.profile.get("ActionSetHistory",a,b);c||(c=0);return c},getPageCount:function(){var a=QSI.cookie.get("QSI_HistorySession"), b=0,c=[];if(a){var a=decodeURIComponent(a),d=a.split("|"),a=0;for(ilen=d.length;a