function popper() {
	if ( window.location.href.charAt(window.location.href.length-1) == "/" ) {
		//Home Page
		window.open(window.location.href + 'index.cfm?print=1');
	} else if (window.location.href.indexOf("?") > 0 ) {
		// Page with value pairs in URL string
		window.open(window.location.href + '&print=1');
	} else {
		//Page with no value pairs in URL string
		window.open(window.location.href + '?print=1');
	}
}
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 2700;
// Duration of crossfade (seconds)
var crossFadeDuration = 10;
// Specify the image files
// =======================================
// Duplicate This Part For New Slice
var Pic = new Array();
var Pic2 = new Array(); 
var Pic3 = new Array(); 
var Pic4 = new Array(); 

// don't touch this 
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'Files/Images/Graphics/home1_1.jpg';
Pic[1] = 'Files/Images/Graphics/home1_2.jpg';
Pic[2] = 'Files/Images/Graphics/home1_3.jpg';
Pic[3] = 'Files/Images/Graphics/home1_4.jpg';

Pic2[0] = 'Files/Images/Graphics/home2_1.jpg';
Pic2[1] = 'Files/Images/Graphics/home2_2.jpg';
Pic2[2] = 'Files/Images/Graphics/home2_3.jpg';
Pic2[3] = 'Files/Images/Graphics/home2_4.jpg';

Pic3[0] = 'Files/Images/Graphics/home3_1.jpg';
Pic3[1] = 'Files/Images/Graphics/home3_2.jpg';
Pic3[2] = 'Files/Images/Graphics/home3_3.jpg';
Pic3[3] = 'Files/Images/Graphics/home3_4.jpg';

Pic4[0] = 'Files/Images/Graphics/home4_1.jpg';
Pic4[1] = 'Files/Images/Graphics/home4_2.jpg';
Pic4[2] = 'Files/Images/Graphics/home4_3.jpg';
Pic4[3] = 'Files/Images/Graphics/home4_4.jpg';

// =======================================
// do not edit anything below this line
// =======================================

var t;
var j = 0;
var p = Pic.length;

var preLoad = new Array();
var preLoad2 = new Array();
var preLoad3 = new Array();
var preLoad4 = new Array();


for (i = 0; i < p; i++) {
	preLoad[i] = new Image();
	preLoad[i].src = Pic[i];
	preLoad2[i] = new Image();
	preLoad2[i].src = Pic2[i];
	preLoad3[i] = new Image();
	preLoad3[i].src = Pic3[i];
	preLoad4[i] = new Image();
	preLoad4[i].src = Pic4[i];
}

function runSlideShow() {
if (document.all) {
document.images.SlideShow1.style.filter="blendTrans(duration=2)";
document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow1.filters.blendTrans.Apply() ;
document.images.SlideShow2.style.filter="blendTrans(duration=2)";
document.images.SlideShow2.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow2.filters.blendTrans.Apply() ;
document.images.SlideShow3.style.filter="blendTrans(duration=2)";
document.images.SlideShow3.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow3.filters.blendTrans.Apply() ;
document.images.SlideShow4.style.filter="blendTrans(duration=2)";
document.images.SlideShow4.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow4.filters.blendTrans.Apply() ;
}

document.images.SlideShow1.src = preLoad[j].src;
document.images.SlideShow2.src = preLoad2[j].src;
document.images.SlideShow3.src = preLoad3[j].src;
document.images.SlideShow4.src = preLoad4[j].src;

if (document.all) {
	document.images.SlideShow1.filters.blendTrans.Play();
	document.images.SlideShow2.filters.blendTrans.Play();
	document.images.SlideShow3.filters.blendTrans.Play();
	document.images.SlideShow4.filters.blendTrans.Play();
}

j = j + 1;

if (j > (p-1)) j=0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}