};function runPageScript(){ document.addEventListener('DOMContentLoaded', function() { // Dynamic City Header Update const citySpan = document.querySelector('.current-area'); if (citySpan) { const areas = ["Altadena", "Pasadena", "Palm Springs"]; let i = 0; setInterval(() => { citySpan.textContent = areas[i]; i = (i + 1) % areas.length; }, 3000); } // Ensure "Pasadena to Palm Springs" branding is present const footerNote = document.createElement('div'); footerNote.className = 'text-center text-muted small py-4'; footerNote.innerHTML = 'Serving homeowners from Pasadena to Palm Springs | UR TEAM Real Estate Services'; document.body.appendChild(footerNote); console.log('UR TEAM SEO & Style Script Active'); }); };