window.__tnt || (window.__tnt = {}); __tnt.header = function(){ try { var __tntHeader = " | First. Best. In Up-To-The Minute Local News \x3Cscript defer src=\"https://bloximages.chicago2.vip.townnews.com/rapidcityjournal.com/shared-content/art/tncms/templates/libraries/flex/components/plugins/resources/scripts/fontawesome.4a9fdca450d57375be3be7a06b5bc5f0.js\">\x3C/script>
\x3Cscript> (function(s, p, d) { var h=d.location.protocol, i=p+\"-\"+s, e=d.getElementById(i), r=d.getElementById(p+\"-root\"), u=h===\"https:\"?\"d1z2jf7jlzjs58.cloudfront.net\" :\"static.\"+p+\".com\"; if (e) return; e = d.createElement(s); e.id = i; e.async = true; e.src = h+\"//\"+u+\"/p.js\"; r.appendChild(e); })(\"script\", \"parsely\", document); \x3C/script> \x3Cscript> (function() { if(!__tnt.user.loggedIn){ var ARTICLE_URL = window.location.href; var CONTENT_ID = \'everything\'; document.write( \'\'+\'\\x3C/scr\'+\'ipt>\' ); __tnt.log(\'Google Survey: script loaded\'); } })(); \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\":\"rapidcityjournal.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\":34,\"weather_conditions\":\"Cloudy\",\"subscription_max_views\":5}); 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>
"; 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){} }