// Used to toggle the menu on small screens when clicking on the menu button function myFunction() { var x = document.getElementById("navMobile"); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } function myFunction1() { var x = document.getElementById("gravestones"); var a = document.getElementById("maps"); var b = document.getElementById("photogrammetry"); var c = document.getElementById("videos"); a.className = a.className.replace(" w3-show", ""); b.className = b.className.replace(" w3-show", ""); c.className = c.className.replace(" w3-show", ""); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } function myFunction2() { var x = document.getElementById("maps"); var a = document.getElementById("gravestones"); var b = document.getElementById("photogrammetry"); var c = document.getElementById("videos"); a.className = a.className.replace(" w3-show", ""); b.className = b.className.replace(" w3-show", ""); c.className = c.className.replace(" w3-show", ""); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } function myFunction3() { var x = document.getElementById("photogrammetry"); var a = document.getElementById("maps"); var b = document.getElementById("gravestones"); var c = document.getElementById("videos"); a.className = a.className.replace(" w3-show", ""); b.className = b.className.replace(" w3-show", ""); c.className = c.className.replace(" w3-show", ""); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } function myFunction4() { var x = document.getElementById("videos"); var a = document.getElementById("maps"); var b = document.getElementById("photogrammetry"); var c = document.getElementById("gravestones"); a.className = a.className.replace(" w3-show", ""); b.className = b.className.replace(" w3-show", ""); c.className = c.className.replace(" w3-show", ""); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } function myFunction5() { var x = document.getElementById("gravestones"); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } function myFunction6() { var x = document.getElementById("photogrammetry"); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } function myFunction7() { var x = document.getElementById("videos"); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } function myFunction8() { var x = document.getElementById("maps"); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } }