weebly statistics

​Umzimvubu Local Municipality

Mt Frere office
Physical: 813 Main Street, Mount Frere - Postal: Private Bag X9020, Mount Frere, 5090
Tel: +27 (0)39 255 8500 /166 - Fax: +27 (0) 39 255 0167
 Mt Ayliff office
Physical: 67 Church Street, Mt Ayliff, 4735 - Postal: Private Bag X9020, Mount Frere, 5090
Tel: +27 (0)39 254 6000 - Fax: +27 (0) 39 255 0167
Anti Fraud Corruption Line - 0800 701 701
 Customer Enquiries: enquiries@umzimvubu.gov.za

Mt. Frere Office
Mt. Ayliff Office
document.addEventListener("DOMContentLoaded", function() { var adsenseLoadTriggered = false; // 1. Function to load the main AdSense SDK function loadAdSenseSDK() { if (adsenseLoadTriggered) return; var script = document.createElement("script"); script.async = true; script.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4986925452700064"; script.crossOrigin = "anonymous"; document.head.appendChild(script); adsenseLoadTriggered = true; } // 2. Setup the Observer var adObserver = new IntersectionObserver(function(entries, observer) { entries.forEach(function(entry) { if (entry.isIntersecting) { // User is close to the ad! loadAdSenseSDK(); // Ensure SDK is there (adsbygoogle = window.adsbygoogle || []).push({}); // Trigger this specific ad observer.unobserve(entry.target); // Stop watching this ad } }); }, { rootMargin: "200px" }); // Starts loading 200px before it enters view // 3. Attach observer to all ad units document.querySelectorAll(".adsbygoogle").forEach(function(ad) { adObserver.observe(ad); }); });