
img = new Image;
function changeImg(imgName, target) 
{
  img.src = imgName;
  document[target].src = img.src;
}

