function toggleImage(img, filename) {
  if (document.images)img.src = filename;
}
