
                lastShot = 1;
                currentShot = 0;
                function shotAdvance(){
                  document.getElementById("shot" + currentShot).style.display = "none";
                  currentShot++;
                  if (currentShot>lastShot){currentShot=0};
                  document.getElementById("shot" + currentShot).style.display = "block";
                  document.getElementById("shotName").innerHTML = "Preview " + (currentShot+1) + " of " + (lastShot+1);
                }
                function shotReverse(){
                  document.getElementById("shot" + currentShot).style.display = "none";
                  currentShot--;
                  if (currentShot<0){currentShot=lastShot};
                  document.getElementById("shot" + currentShot).style.display = "block";
                  document.getElementById("shotName").innerHTML = "Preview " + (currentShot+1) + " of " + (lastShot+1);
                }