weebly statistics

Makana Local Municipality

Physical: City Hall, High Str, Grahamstown, 6139
Postal: P.O Box 176 Grahamstown, 6140
Tel: +27 (0) 46 603 6111 - Fax: +27 (0) 46 622 9488
Email: info@makana.gov.za
Emergency Numbers
Emergency:  10177 / 112 - Police: 10111
Ambulance: 10177, 083 708 2928 / 046 622 9102, 046 622 7976 (Medlife), 082 911 (NetCare 911)
Hospital: 046 622 4444 / 046 622 2923, 080 111 444 (toll free)
Electricity: 046 603 6062 - Water: 046 603 6136
Auto Breakdown: 046 622 3075 / 046 622 8238

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