// Set headerSlideShowSpeed (milliseconds)
var headerSlideShowSpeed = 4500;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var HeadPic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

HeadPic[0] = 'gifs/bg1.jpg';
HeadPic[1] = 'gifs/bg2.jpg';
HeadPic[2] = 'gifs/bg3.jpg';
HeadPic[3] = 'gifs/bg.jpg';

// do not edit anything below this line
var t;
var j1 = 0;
var p1 = HeadPic.length;
var headpreLoad = new Array();
for (i = 0; i < p1; i++) {
headpreLoad[i] = new Image();
headpreLoad[i].src = HeadPic[i];
}
function runheaderSlideShow() {
if (document.all) {
document.images.headerSlideShow.style.filter="revealTrans(duration=2)";
document.images.headerSlideShow.style.filter="revealTrans(duration=1,transition=25";
document.images.headerSlideShow.filters.revealTrans.Apply();
}
document.images.headerSlideShow.src = headpreLoad[j1].src;
if (document.all) {
document.images.headerSlideShow.filters.revealTrans.Play();
}
j1 = j1 + 1;
if (j1 > (p1 - 1)) j1 = 0;
t = setTimeout('runheaderSlideShow()', headerSlideShowSpeed);
}
//  End -->

