Whole House Systems
  • Drinking Water Systems
  • Replacement Filters





  • window.addEventListener("load", function() { // Only enable mobile windowed chat on screens < 768px if(window.innerWidth >= 768) return; const container = document.querySelector("#mindpal-chatbot-container"); if(!container) return; // Create close button if it doesn't exist let closeBtn = document.createElement("div"); closeBtn.id = "mindpal-chatbot-close"; closeBtn.innerHTML = "✕"; container.appendChild(closeBtn); // Select all MindPal bubbles/widgets const bubbles = document.querySelectorAll(".mindpal-chatbot-bubble, .mindpal-chatbot"); // Open mobile window bubbles.forEach(b => { b.addEventListener("click", function() { container.style.display = "block"; // show mobile window bubbles.forEach(x => x.style.display = "none"); // hide other bubbles }); }); // Close button functionality closeBtn.addEventListener("click", function() { container.style.display = "none"; // hide window bubbles.forEach(x => x.style.display = "flex"); // restore bubbles if(window.MindPal && MindPal.closeChat){ MindPal.closeChat(); // collapse chat via MindPal API } }); // Initially hide window if minimized by default if(window.mindpalConfig && window.mindpalConfig.minimizedByDefault){ container.style.display = "none"; } });