function preloadImage(imgFile) {
  if (document.images) {
   img = new Image();
   img.src = imgFile;
  }
}
