function ChangeImg(ImgURL){
  document.images["mainImg"].src = ImgURL;
}