// JavaScript Document function openNotesWindow() { // Find the element to hide/unhide. var element = document.getElementById("notesBox"); // Check the element's current state. if (element.style.display == "none"){ // If hidden, unhide it. element.style.display = "block"; } } function closeNotes() { // Find the element to hide/unhide. var element = document.getElementById("notesBox"); // Check the element's current state. if (element.style.display == "block"){ // If hidden, unhide it. element.style.display = "none"; } }