// Set slideShowSpeed (milliseconds)
var mvslideShowSpeed = 3000;
// Duration of crossfade (seconds)
var mvcrossFadeDuration = 3;
// Specify the image files
var mvPic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

mvPic[0] = 'images/video_click_285x295.jpg'
mvPic[1] = 'images/video_select_285x295.jpg'
mvPic[2] = 'images/video_prepare_285x295.jpg'
mvPic[3] = 'images/video_cook_285x295.jpg'
mvPic[4] = 'images/video_serve_285x295.jpg'
mvPic[5] = 'images/video_class_285x295.jpg'

// do not edit anything below this line
var mvt;
var mvj = 0;
var mvp = mvPic.length;
var mvpreLoad = new Array();
for (i = 0; i < mvp; i++) {
  mvpreLoad[i] = new Image();
  mvpreLoad[i].src = mvPic[i];
}
function mvrunSlideShow() {
  if (document.all) {
    document.images.mvSlideShow.style.filter="blendTrans(duration=2)";
    document.images.mvSlideShow.style.filter="blendTrans(duration=mvcrossFadeDuration)";
    document.images.mvSlideShow.filters.blendTrans.Apply();
  }
  document.images.mvSlideShow.src = mvpreLoad[mvj].src;
  if (document.all) {
    document.images.mvSlideShow.filters.blendTrans.Play();
  }
  mvj = mvj + 1;
  if (mvj > (mvp - 1)) mvj = 0;
  mvt = setTimeout('mvrunSlideShow()', mvslideShowSpeed);
}

