
// You *must* add onload="runSlideShow()" to the <body> tag
// of the page.

// In the section marked Edit the HTML, above, remember to
// set the path and size for the first image.

// =======================================
// Set the following variables
// =======================================

// Set slideShowSpeed (milliseconds):
var slideShowSpeed = 4000

// Duration of crossfade (seconds) for IE:
var crossFadeDuration = 5

// Set the positioning variables, below:
// Negative numbers are relative to right (whereX) or bottom (whereY)
// Positive numbers are relative to left (whereX) or (whereY) top
// Experiment with values to get positioning exact, and allow
// for the dimensions of the image in the positioning

var whereX = 600;
var whereY = 100;

// Specify the image files:
var Pic = new Array() // don't touch this!
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/top_header1.jpg'
Pic[1] = 'images/top_header2.jpg'
Pic[2] = 'images/top_header3.jpg'
Pic[3] = 'images/top_header4.jpg'

// =======================================
// Do not edit *anything* below this line!
// =======================================

var t;var j=0;var p=Pic.length;var preLoad=new Array();

for (i=0;i<p;i++){preLoad[i]=new Image();preLoad[i].src = Pic[i];}

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();}
	
	if (document.all || document.getElementById){document.images.SlideShow.src = preLoad[j].src;}else{
		document.FloatSlideShow.document.images["SlideShow"].src = preLoad[j].src;}
	
	if (document.all){document.images.SlideShow.filters.blendTrans.Play();}
		
	j=j+1;if (j>(p-1))j=0;t=setTimeout('runSlideShow()', slideShowSpeed);}
	
	var dD=document,dH=dD.html,dB=dD.body,px=dD.layers?'':'px';



