function changeImage(name, url) {
  if (document.images[name]) {
    document.images[name].src = url;
  }
}
