function swap(imageName,url) {
  var objImage = document.getElementById(imageName);
  objImage.src = url;
}