weebly statistics


​Witzenberg Local Municipality

Postal: PO Box 44, CERES, 6835
Physical: 50 Voortrekker Road, CERES
Tel: 023 316 1854 - Fax: 023 316 1877
Important Numbers
Ambulance: 023 342 0478
Hospital (Prov.): 023 312 1116 - Hospital (Priv.): 023 316 1304
Police: 023 312 1204 - Fire Brigade: 023 316 1998
Water: 023 316 1854 - Electricity: 023 316 1854

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); }); });