window.__tnt || (window.__tnt = {}); __tnt.header = function(){ try { var __tntHeader = " | A Lee Enterprises Newspaper \x3Cscript defer src=\"https://bloximages.chicago2.vip.townnews.com/nwitimes.com/shared-content/art/tncms/templates/libraries/flex/components/plugins/resources/scripts/fontawesome.0fe42e9a012c922effb32cf7de14783d.js\">\x3C/script> \x3Cscript> var dataLayer = window.dataLayer || []; dataLayer.push({\"ga_ua\":\"UA-54716522-2\",\"chartbeat\":\"true\",\"gravity\":\"8e869b3a021a8bf8e030fa6bc6ebd3d6\",\"taxonomy_1\":\"homepage\",\"taxonomy_2\":null,\"taxonomy_3\":null,\"taxonomy_4\":null,\"taxonomy_5\":null,\"blox_platform\":\"desktop\",\"blox_page_type\":\"homepage\",\"blox_domain\":\"nwitimes.com\",\"blox_skin\":\"flex-editorial\",\"blox_application\":\"editorial\",\"groups\":{\"content\":\"1\",\"advertising\":\"2\",\"utility\":\"3\"},\"content_group\":\"1\",\"content_group_id\":\"\",\"blox_sections\":\"\",\"weather_temp\":40,\"weather_conditions\":\"Cloudy\"}); dataLayer.push( {\'user_id\': __tnt.user.screenName}, {\'user_state\': __tnt.user.loggedIn ? \'logged in\' : \'anonymous\'}, {\'utm_label\': __tnt.urlHash(\'utm_label\')} ); \x3C/script> \x3Cscript> (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); })(window,document,\'script\',\'dataLayer\',\'GTM-TDWDC2\'); \x3C/script> \x3Cscript> __tnt.googleEvent = function(obj) { dataLayer.push({ \'event\': \'gaTriggerEvent\', \'gaEventCategory\': obj.category, \'gaEventAction\': obj.action, \'gaEventLabel\': obj.label, \'gaEventValue\': obj.value }); } __tnt.googleSocial = function(obj) { dataLayer.push({ \'event\': \'socialEvent\', \'socialNetwork\': obj.network, \'socialAction\': obj.socialAction, \'socialTarget\': obj.url }); } __tnt.googlePageView = function(obj) { var sURL = obj.url.replace(/^.*\\/\\/[^\\/]+/, \'\'); dataLayer.push({ \'event\': \'VirtualPageview\', \'virtualPageURL\': sURL, \'virtualPageTitle\': obj.title }); } \x3C/script> \x3Cscript> $(function(){ var bloxServiceIDs = []; var bloxUserServiceIds = []; var dataLayer = window.dataLayer || []; bloxServiceIDs.push(); if (__tnt.user.services){ var bloxUserServiceIDs = __tnt.user.services.replace(\'%2C\',\',\').split(\',\'); } // GTM tncms.subscription.paid_access_service_ids if(bloxServiceIDs){ dataLayer.push({\'tncms\':{\'subscription\':{\'access_service_ids\':bloxServiceIDs.toString()}}}); } // GTM tncms.subscrption.user_service_ids if(bloxUserServiceIDs){ dataLayer.push({\'tncms\':{\'subscription\':{\'user_service_ids\':bloxUserServiceIDs.toString()}}}); } }); \x3C/script>
"; document.write(__tntHeader); } catch(e){} } __tnt.footer = function(){ try { var __tntFooter = "
\x3Cscript> window.__tnt || (window.__tnt = {}); __tnt.compatibility || (__tnt.compatibility = {}); __tnt.compatibility.status = \"\"; __tnt.compatibility.check = function(){ var compatible = true; var status = \"\"; if(typeof(__tnt.advertisements)==\"undefined\"){ compatible = false; status += \"FAIL: object 0 undefined \" } __tnt.compatibility.status = status; return compatible; } __tnt.compatibility.notification = function(){ } $(function(){ if(!__tnt.compatibility.check()){ if(window.ga){ __tnt.trackEvent({\'category\':\'subscription\',\'action\':\'adblock\',\'label\':\'adblock detected\',\'value\':\'1\'}); } __tnt.compatibility.notification(); } }); \x3C/script> \x3Cscript> jQuery(function() { if(typeof TNCMS.Tracking != \'undefined\'){ jQuery(TNCMS.Tracking.trackDeclarativeEvents); } }); \x3C/script> \x3Cscript> __tnt.trackEvent = function(obj) { if( jQuery.type(obj) === \'object\' ){ if(obj.category && obj.action){ __tnt.googleEvent(obj); } else if(obj.network && obj.socialAction){ __tnt.googleSocial(obj); } else if(obj.url){ __tnt.googlePageView(obj); } if(typeof TNCMS.Tracking != \'undefined\' && obj.metric){ TNCMS.Tracking.addEvent({ app: obj.app, metric: obj.metric, id: obj.uuid }); } } } if(__tnt.trackEventLater.length > 0){ jQuery(__tnt.trackEventLater).each(function(){ __tnt.trackEvent($(this)); }); } jQuery(\'body\').on(__tnt.client.clickEvent, \'[data-track]\', function(){ var trkObj = jQuery(this).data(\'track\'); __tnt.trackEvent(trkObj); }); jQuery(\'body\').on(__tnt.client.clickEvent, \'[data-tncms-track-event]\', function(){ var trkObj = jQuery(this).data(\'tncms-track-event\'); __tnt.trackEvent(trkObj); }); jQuery(\'body\').on(__tnt.client.clickEvent, \'[data-tncms-track-dmp]\', function(){ var dmpData = jQuery(this).data(\'tncms-track-dmp\'); _cc6894.add(\'act\', dmpData); _cc6894.bcp(); }); \x3C/script> "; document.write(__tntFooter); } catch(e){} }