     // When the user clicks anywhere outside of the popup, close it
        window.onclick = function (event) {
          if (event.target == popup) {
            popup.style.display = 'none';
          }
        }
      });
    </script>
    <!-- Popup for Google Translate -->
    <div id="translatePopup" class="popup">
      <div class="popup-content">
        <span class="close">&times;</span>
        <div id="google_translate_element"></div>
      </div>
    </div>
    <script type="text/javascript">
 