function swapImage(img, newsrc) {
  img.src = newsrc;
}
