tWindow">
        <div id="chatHeader">
            Chat
            <button id="closeButton">&times;</button>
        </div>
        <div id="chatBody"></div>
        <div id="chatFooter">
            <input type="text" id="chatInput" placeholder="Type a message...">
            <button id="sendButton">Send</button>
        </div>
    </div>

    <script>
        document.getElementById('chatButton').addEventListener('click', function() {
            var chatWindow = document.getElementById('chatWindow');
