	// (C) 2000 www.CodeLifter.com
	// http://www.codelifter.com
	// Set slideShowSpeed (milliseconds)
	var slideShowSpeed = 9000
	// Duration of crossfade (seconds)
	var crossFadeDuration = 2
	var Pic = new Array() // don't touch this
	var t
	var j = 0

	var preLoad = new Array()

	Pic[0] = 'images/circles.gif'
	Pic[1] = 'images/circles.gif'
	Pic[2] = 'images/circles.gif'
	var p = Pic.length
	for (i = 0; i < p; i++){
   		preLoad[i] = new Image()
   		preLoad[i].src = Pic[i]
	}
	
function doHighlightNav(){
	
	var lastSlash // the position of the last slash in the path
	var fileName  // the name of the file
	var hashPos // the position of the hash symbol in the case of anchors
	var fullPath
	fullPath = document.URL;
//	fullPath = fullPath.replace(/\\/g,"/");     for local testing
	lastSlash = fullPath.lastIndexOf("/");
	fileName = fullPath.substring(lastSlash+1,fullPath.length);
	hashPos = fileName.lastIndexOf("#");
	if (hashPos!=-1) {
		noAnchor = fileName.substring(0,hashPos);
	}
	else {
		noAnchor = fileName;
	}
	
	switch (noAnchor){
		case "":
			navhome.className='over';
			break;
		case "index.html":
			navhome.className='over';
			break;
		case "benefits.html":
			benefits.className='over';
			break;
		case "commercial.html":
			commercial.className='over';
			break;
		case "residential.html":
			residential.className='over';
			break;
		case "products.html":
			products.className='over';
			break;
		case "features.html":
			features.className='over';
			break;
		case "past-projects.html":
			past.className='over';
			break;
		case "servicing.html":
			servicing.className='over';
			break;
		case "contact-us.php":
			contact.className='over';
			break;
		case "contact-us.html":
			contact.className='over';
			break;
		case "finish.html":
			finish.className='over';
			break;
		case "load-capacity.html":
			load.className='over';
			break;
		case "steps.html":
			steps.className='over';
			break;
		case "moving-floors.html":
			moving.className='over';
			break;
		case "fixed-floors.html":
			fixed.className='over';
			break;
		case "booms.html":
			booms.className='over';
			break;	
		case "Filtration.html":
			filtration.className='over';
			break;
		case "StainlessSteelPools.html":
			sspools.className='over';
			break;
		case "StainlessSteelBulkheads.html":
			ssbulkheads.className='over';
			break;	
	}
}

function runSlideShow(){
//   if (document.all){
//      document.images.SlideShow.style.filter="progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0, wipeStyle=0,motion='forward')";
//      document.images.SlideShow.filters[0].Apply();     
//   }
   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[j].src
   if (document.all){
      document.images.SlideShow.filters[0].Play(duration=crossFadeDuration);
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}