/* This Site Intercept is not active (ESIE02): SI_4ZRWqyijn6ATQqx */try { /***************** * Setup Module ****************/ if(window.QSI === undefined) window.QSI = {}; if (!QSI.dbg) QSI.dbg = { c:function(){}, d:function(){}, t:function(){}, e:function(){} }; 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:{}, maxCookieSize:500, eventTrackers:[], startTime:0 }; } 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:'Chrome', version:36, isMobile:false }; 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={$:function(a){"string"==typeof a&&(a=document.getElementById(a));return a},setStyle:function(a,b){for(var c in b)try{a.style[c]=b[c]}catch(d){QSI.dbg.e(d)}},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},buildQueryString:function(a){var b=[],c;for(c in a)b.push(encodeURIComponent(c)+"="+ encodeURIComponent(a[c]));return b.join("&")},truncateString:function(a,b){return null===a||void 0===a?null:a.length<=b?a:a.slice(0,b)+"..."},ScriptLoader:function(a){var b=document.getElementsByTagName("script")[0];this.getScriptURL=function(b){return a+b};this.load=function(a,d){if(!(void 0===a||null===a)){var e="";if(d){var e=[],f;for(f in d)e.push(f+"="+d[f]);e="?"+e.join("&")}var g=QSI.util.Deferred(),h;f=this.getScriptURL(a)+e;h=QSI.util.build("script",{src:f,"data-qsimodule":"script"});QSI.util.observe(h, "load",function(){g.resolve()});QSI.util.observe(h,"readystatechange",function(){("loaded"===h.readyState||"complete"===h.readyState)&&g.resolve()});b.parentNode.insertBefore(h,b);return g.promise()}}},generateRandomID:function(a){return a+"_"+Math.round(1E8*Math.random())},build:function(a,b,c){var d=document.createElement(a);if(b)for(var e in b)switch(e){case "style":this.setStyle(d,b[e]);break;case "className":d.className=b[e];break;case "id":d.id=b[e];break;default:d.setAttribute(e,b[e])}if(c)if(QSI.util.isString(c))"style"== a&&d.styleSheet?d.styleSheet.cssText=c:d.appendChild(document.createTextNode(String(c)));else if(QSI.util.isArray(c)){a=0;for(b=c.length;aQSI.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;if(0!=this.interceptDisplayOptions.noshow)try{null!==QSI.cookie.get(this.id+"_intercept")?(a=!1,QSI.cookie.erase(this.id+ "_intercept")):null!==QSI.cookie.get("QSI_"+this.id+"_intercept")&&(a=!1)}catch(c){QSI.dbg.e(c)}else QSI.cookie.erase("QSI_"+this.id+"_intercept");a?this.willShow.resolve():this.willShow.reject();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);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},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:"auto"})}else QSI.util.setStyle(document.body,{overflow:"auto"});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];QSI.util.setStyle(a,{overflow:"hidden"})}else QSI.util.setStyle(document.body,{overflow:"hidden"});document.ontouchmove&& (QSI.touchScrollEvent=document.ontouchmove);document.ontouchmove=function(a){a.preventDefault()}},hasScrollbars: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?6=document.body.scrollHeight*(a/100)?!0:!1},remove:function(a){a&&a.parentNode&&a.parentNode.removeChild(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&&0g||g+e>f)){var h=g+b,m=h-d,l=0<=m?20:-20;10>Math.abs(m)&&(l=m);var k;d=h;"auto"==c?k=setInterval(function(){var b=parseInt(a.style.top)+l;a.style.top=b+"px";a.style.bottom=c;0=h&&(clearInterval(k),QSI.util.observe(window,"scroll",j)):b<=h&&(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)+l;a.style.bottom=g+e-c+"px";a.style.top=b;a.style.bottom=d+"px";0=h&&(clearInterval(k),QSI.util.observe(window,"scroll",j)):d<=h&&(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)},addStatsImage:function(){try{if(!QSI.loggedStats&&1>Math.floor(100*Math.random())&&(window.performance||QSI.global.startTime)){QSI.loggedStats=!0;var a=(new Date).getTime();this.addImage(QSI.baseURL+"?Q_Stats=1&Q_T="+(a-(QSI.global.startTime||window.performance.timing.loadEventStart))+"&T="+a)}}catch(b){QSI.dbg.e(b)}},addImage:function(a,b){var c=QSI.util.build("img",{src:a});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; a=this.limitSize(a,b);try{QSI.cookie.set("QSI_HistorySession",encodeURIComponent(a),0)}catch(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=a.split("|");c.splice(0,1);a=c.join("|")}return a},get:function(){var a=QSI.cookie.get("QSI_HistorySession"),a=a?decodeURIComponent(a):[];return a=this.limitSize(a)},logCurrentURL:function(){this.logSite(window.location.href,1*new Date)},getReferrer:function(){return document.referrer},logSearch:function(){var a= this.getReferrer();if(0<=a.search(/(google.com)|(bing.com)|(yahoo.com)/)){var b="";if(0<=a.search(/(google.com)|(bing.com)/)){var c=/q=(.*?)\&/;(a=a.match(c))&&(a.length&&a[1])&&(b=a[1])}else 0<=a.search(/yahoo.com/)&&(c=/p=(.*?)\&/,(a=a.match(c))&&(a.length&&a[1])&&(b=a[1]));b=unescape(b);QSI.profile.set("History","SearchTerm",b)}},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