function changeImg(img, name){
  document.images[name].src=img;
}

