| Server IP : 198.244.165.102 / Your IP : 216.73.216.218 [ Web Server : nginx/1.24.0 System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : colleary ( 1011) PHP Version : 8.3.23 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/midwest/public_html/ |
Upload File : |
<script>
(function () {
window.googletag = window.googletag || { cmd: [] };
var gptSrc = "https://securepubads.g.doubleclick.net/tag/js/gpt.js";
if (!document.querySelector('script[src="' + gptSrc + '"]')) {
var s = document.createElement("script");
s.async = true;
s.src = gptSrc;
s.crossOrigin = "anonymous";
document.head.appendChild(s);
}
window.googletag.cmd.push(function () {
var DIV_ID = "div-gpt-ad-mwr-home-banner";
var UNIT = "/138042652/MWR_Home_Banner"; // replace if you use a different all-pages unit
// Prevent redefining same DIV
var slots = googletag.pubads().getSlots();
var exists = slots.some(function (slot) {
return slot.getSlotElementId && slot.getSlotElementId() === DIV_ID;
});
if (!exists) {
// ONLY these sizes by breakpoint:
// - Mobile: 300x250
// - Desktop: 970x250
var mapping = googletag.sizeMapping()
.addSize([0, 0], [[300, 250]]) // mobile + tablets (default)
.addSize([1024, 0], [[970, 250]]) // desktop+
.build();
googletag.defineSlot(UNIT, [[300,250],[970,250]], DIV_ID)
.defineSizeMapping(mapping)
.addService(googletag.pubads());
}
// Enable services once
if (!window.__MWR_GPT_ENABLED__) {
window.__MWR_GPT_ENABLED__ = true;
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs(); // hides slot if no ad
googletag.enableServices();
}
// Display once
if (!window.__MWR_GPT_DISPLAYED__) window.__MWR_GPT_DISPLAYED__ = {};
if (!window.__MWR_GPT_DISPLAYED__[DIV_ID]) {
window.__MWR_GPT_DISPLAYED__[DIV_ID] = true;
googletag.display(DIV_ID);
}
});
})();
</script>
<div id="div-gpt-ad-mwr-home-banner" style="min-height:250px"></div>