function switchImg(imgName, imgSrc) {
  document[imgName].src = imgSrc;
}
