//begin slideshow script
var t;var j = 0;var preLoad = new Array();

function preLoadImages()
{preLoad[0] = new Image();
preLoad[0].src = "images/banner12.jpg";
preLoad[1] = new Image();preLoad[1].src = "images/banner22.jpg";
preLoad[2] = new Image();preLoad[2].src = "images/banner32.jpg";
preLoad[3] = new Image();preLoad[3].src = "images/banner42.jpg";
t = setInterval('runSlideShow()',4000);
document.getElementById("banner").style.display="none";
}

function runSlideShow()
{if (document.all)
	 { document.images.img0.style.filter="blendTrans(duration=2)";
	document.images.img0.filters.blendTrans.Apply();
	}
document.images.img0.src = preLoad[j].src;
if (document.all) 
	{ document.images.img0.filters.blendTrans.Play();}
j = j + 1;if (j > (4 - 1)) j = 0;
}

var t1;var j1 = 0;var preLoad1 = new Array();

function preLoadImages1()
{preLoad1[0] = new Image();
preLoad1[0].src = "images/howgills3.jpg";
preLoad1[1] = new Image();preLoad1[1].src = "images/howgills1.jpg";
preLoad1[2] = new Image();preLoad1[2].src = "images/howgills2.jpg";

t1 = setInterval('runSlideShow1()',3000);
document.getElementById("slide1").style.display="none";
}

function runSlideShow1()
{if (document.all)
	 { document.images.img1.style.filter="blendTrans(duration=2)";
	document.images.img1.filters.blendTrans.Apply();
	}
document.images.img1.src = preLoad1[j1].src;
if (document.all) 
	{ document.images.img1.filters.blendTrans.Play();}
j1 = j1 + 1;if (j1 > (3- 1)) j1 = 0;
}



