
  var aryImages = new Array(4);



  aryImages[0] = "Images/home/home-0.jpg";

  aryImages[1] = "Images/home/home-1.jpg";
  
  aryImages[2] = "Images/home/home-2.jpg"; 
  
  aryImages[3] = "Images/home/home-3.jpg";
  
  aryImages[4] = "Images/a-flowing-walls/fw-1.jpg";



  for (i=0; i < aryImages.length; i++) {

    var preload = new Image();

    preload.src = aryImages[i];

  }



  function swap(imgIndex) {

    document['imgMain'].src = aryImages[imgIndex];

  }


