window.onload = function () {
    // Get the modal
    var modal = document.getElementById("notice");

    // Get the button that opens the modal
   

    // Get the <span> element that closes the modal
    var span = document.getElementById("close");

    // When the user clicks the button, open the modal 
 

    // When the user clicks on <span> (x), close the modal
    span.onclick = function () {
      modal.style.display = "none";
    }
};
