Right now this will work when I click "box1" but not "box2". I'd like to have a single tapBoxes variable that listens for a click on either box1 OR box2, and triggers the function. Any ideas?
var tapBoxes = document.getElementById("box1") || document.getElementById("box2");
tapBoxes.onclick = function() {
...
}