//Creative template: Connatix Playspace - JS Tagless - COLLAPSE
window.supportsAds = true;
window.cnxps || (window.cnxps = {}, window.cnxps.cmd = []);
try{
	window.collapseConnatix();
}catch(e){}

//motorola userid3p override
!function(){try{window.adInfo&&window.adInfo.partner&&"motorolawidget"==window.adInfo.partner&&(window.adInfo.userid3p="active")}catch(a){}}();

!function(){try{document.getElementsByClassName("right-rail")[0].classList.remove("left-align-children")}catch(e){}}();


/*================
 Move top slot on mWeb
==================*/
!function(){try{var e="a";Math.random()>0.5&&(e="b");var t,a,n=serverAdsOnPageLite.top.adUnitCode;if(-1==n.indexOf("mweb"))return;a=document.getElementById("top"),-1!=n.indexOf("local_home")&&0==document.getElementsByClassName("minutecast-banner").length&&((t=document.getElementsByClassName("weather-card")[0]).appendChild(a),a.style.padding="0 0 20px 0px"),-1!=n.indexOf("hourly-p")?(t=document.getElementsByClassName("hourly-wrapper")[0]).insertBefore(a,t.firstChild):-1!=n.indexOf("hourly")&&(t=document.getElementsByClassName("hourly-card-top")[0]).parentNode.insertBefore(a,t.nextSibling);var d=function(e,t){e.parentNode.insertBefore(t,e.nextSibling),t.style.background="#ffffff",t.style.margin="0",t.style.padding="0 0 12px 0"};if(-1!=n.indexOf("extended-p"))(t=document.getElementsByClassName("page-content")[0]).insertBefore(a,t.firstChild);else if(-1!=n.indexOf("extended")){d(document.getElementsByClassName("daily-forecast-card")[0],a);for(var l=document.getElementsByClassName("glacier-ad middle"),r=0;r<l.length;r++)d(l[r].previousElementSibling.getElementsByClassName("daily-forecast-card")[0],l[r])}if(-1!=n.indexOf("extended")){var s=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");s.appendChild(i),i.type="text/css",i.appendChild(document.createTextNode(".half-day-card-content{background: hsla(0,0%,100%,.55)} .daily-forecast-card {background: #ffffff}"))}}catch(f){}}();

/********
Google Multiplex - 10
*********/
 !function(){let e="/6581/web/ca/video_player/news_info/news";if(-1!=e.indexOf("/us/"))return;let t=parseInt("0"),a=!1,l=!1,n="9224325968",s=parseInt("1"),i="width:970px;margin:0 auto 20px auto;",o="width:930px;height:450px",r="background-color: #fff;color: rgba(0, 0, 0, .6);font-size: .75rem;font-weight: 700;letter-spacing: .5px;margin-bottom: 1px;padding: 20px 20px 12px;text-transform:uppercase;";-1!=e.indexOf("/mweb/")?(l=!0,n="3311122915",o="display:block;",i="margin:0 auto 20px auto;",r="background-color: #fff;color: rgba(0, 0, 0, 1);font-size: 1.375rem;font-weight: 700;letter-spacing: .5px;padding: 20px 20px 12px;"):(-1!=e.indexOf("/ios/")||-1!=e.indexOf("/android/"))&&(a=!0,n=-1!=e.indexOf("/android/")?"7100865123":"1443647090",o="display:block;",i="",r="background-color: #fff;color: rgba(0, 0, 0, 1);font-size: 1.375rem;font-weight: 700;letter-spacing: .5px;padding: 20px 20px 12px;");let d=document.createElement("script");d.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5771594739411148",d.setAttribute("crossorigin","anonymous"),d.async=!0;let p=document.createElement("ins");p.setAttribute("class","adsbygoogle"),p.setAttribute("style",o),(l||a)&&p.setAttribute("data-ad-format","autorelaxed"),p.setAttribute("data-ad-client","ca-pub-5771594739411148"),p.setAttribute("data-ad-slot",n);let c=document.createElement("div");c.setAttribute("style","display:block;background:#fff;padding:10px 20px"),c.appendChild(d),c.appendChild(p);let g=document.createElement("h2");g.setAttribute("style",r),g.innerHTML="Around The Web";let $=document.createElement("div");a?$.setAttribute("class","full-mobile-width multiplex"):$.setAttribute("class","content-module glacier-ad ad multiplex"),$.setAttribute("style",i),$.appendChild(g),$.appendChild(c);let u=document.head||document.getElementsByTagName("head")[0],b=e=>{let t=document.createElement("style");return t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),u.appendChild(t)};function m(){b('.multiplex{display:block} .multiplex:has(ins[data-ad-status="unfilled"]){display:none}'),console.log("multiplex loaded");try{if(a)document.getElementsByClassName("zone-centerWell2")[0].appendChild($);else if(l){let e=document.getElementsByClassName("page-content")[0];e.appendChild(document.getElementById("bottom")),e.appendChild($)}else{let t=document.getElementsByClassName("breadcrumbs");t.length>1?t[1].parentNode.insertBefore($,t[1]):t[0].parentNode.insertBefore($,t[0])}(adsbygoogle=window.adsbygoogle||[]).push({})}catch(n){}}"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype||(s=!1);let x=document.getElementById("bottom");if(x||(x=document.getElementsByClassName("zone-centerWell2")[0]),s)new IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting&&(m(),t.unobserve(e.target))})},{rootMargin:"0px 0px 500px 0px"}).observe(x);else if(t)try{window.googletag.cmd.push(()=>{let e=t=>{window.googletag.pubads().removeEventListener("slotRenderEnded",e),m()};window.googletag.pubads().addEventListener("slotRenderEnded",e)})}catch(f){m()}else m()}();

//TripleLift Native Width Fix
!function(){try{window.googletag.cmd.push(()=>{let e=t=>{"native"==t.slot.getSlotElementId()&&(window.googletag.pubads().removeEventListener("slotRenderEnded",e),setTimeout(function(){if(document.getElementsByClassName("accuweather_d_weather_native_pbjs").length){let e=document.getElementsByClassName("native")[0];e.getElementsByTagName("div")[0].style.width="100%",e.getElementsByTagName("iframe")[0].style.width=e.clientWidth+"px"}},300))};window.googletag.pubads().addEventListener("slotRenderEnded",e)})}catch(e){}}();

//remove criteo fast bid
try{localStorage.removeItem('criteo_fast_bid');localStorage.removeItem('criteo_fast_bid_expires');} catch (e){}

//Tracker
(function(){try { if ('No' == 'Yes'){ const t=new Image();t.src='https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsvzYYV1wlGf50L02rEYGgKQqUgFrN0kc2kOy6YqmjO_Qyv3eWDaP62y-iBxokpPAWglgbR3XGiBxRBJRGz_PKAJ1mgB9cy9AVPmNYEawUkmTdG8vW7XypkAaRX5mRUzYwi1Q0cVS7VzBdKPtMRJi_tw-ULaHwyGLHsBfmSFGpkPRNAYHxHv3oCLSimHgdzehpmK2sNAIJEieik4eZgG5Vu0QKD7UNoT8jhBR4qqOoKfUL4oUAkUDYm7nYuccWJ6Fj7ZNQHa12PGAwwvjmYJEzSEejYdIu6f3efxStOaOxZ780wJxZFpcCne8Mu3jOwdss_J_3_5axtMLFjT1aawFl4qpdIIOdon5nGAfDjyPV2qGKvKeU3jfhM1p3BZTCxXyiFKtBc30B_wnc5f-VD1gQAa3e6KxeC8nZxwLHLAajY&sai=AMfl-YQqihNYlSepRds5FgS9YTVRnF4u20MA5uProXpSo13D7z0_zFEyUYOeGDCLZLwYxRthcSycui9BcOZlTGOkO38hRKmWUDf9H07JPEnarGP30q9SBUpqaGBcllo&sig=Cg0ArKJSzK4jjv_2uCETEAE&uach_m=%5BUACH%5D&urlfix=1&adurl=';}} catch (e){}})();