<repo_name>jmichaeln5/chris_g_page<file_sep>/javascript/basicslider.js
var i = 0; //Starting Point
var images = [];
var time = 3300;

// Image List
images[0] = 'pic4.jpg'
images[1] = 'pic1.jpg'
images[2] = 'pic3.jpg'
images[3] = 'pic2.jpg'

// Change Image Func
function changeImg(){
  document.slide.src = images[i];

  if (i < images.length - 1){
    i ++;
  } else {
    i = 0;
  }

  setTimeout("changeImg()", time);
}

window.onload = changeImg;
