// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 2500;
// Duration of crossfade (seconds)
var crossFadeDuration = 4;
// Specify the image files
var Picture = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Picture[0] = 'imgs/servo-trun-hydrualic-machin.jpg'
Picture[1] = 'imgs/single-tracer-copy-lathe.jpg'
Picture[2] = 'imgs/slant-bed-cnc-lathe.jpg'
Picture[3] = 'imgs/precision-all-geared-lathes.jpg'

// do not edit anything below this line
var t;
var ja = 0;
var pa = Picture.length;
var preLoad = new Array();
for (ia = 0; ia < pa; ia++) {
preLoad[ia] = new Image();
preLoad[ia].src = Picture[ia];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[ja].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
ja = ja + 1;
if (ja > (pa - 1)) ja = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}

//  End -->
