document.getElementById("bigboi").classList.add("isntRotating"); function change(small, row) { document.getElementsByClassName("smol")[row].src = small; } function lucky() { var image = ["carlson.jpg", "johnston.jpg", "morrill.jpg", "shepherd.jpg", "snyder.jpg", "walter.jpg"]; document.getElementById("bigboi").src = image[Math.floor(6 * Math.random())]; } let isRotating=0; function dizzy() { if (!isRotating) { document.getElementById("bigboi").classList.remove("isntRotating"); } else { document.getElementById("bigboi").classList.add("isntRotating"); } isRotating^=1; } let map; function initMap() { map = new google.maps.Map(document.getElementById("map"), { center: { lat: 44.9727, lng: -93.23540000000003 }, zoom: 14, }); var service = new google.maps.places.PlacesService(map); entries = document.getElementsByClassName("entry"); locations = []; for (e=0; e" + "" + newEntry.getElementsByClassName("name")[0].textContent + "" + "
" + newEntry.getElementsByClassName("category")[0].textContent + "
" + newEntry.getElementsByClassName("room")[0].textContent + " " + newEntry.getElementsByClassName("street")[0].textContent + "
" + newEntry.getElementsByClassName("city")[0].textContent + "", } }); marker.addListener('click', function () { if (!this.infoWindow) { this.infoWindow = new google.maps.InfoWindow({ content: this.data.content, }); } this.infoWindow.open(map, this); }) } }