function showImage(img, name) {   
   if(document.images)
      img.src = name;   
}

