//begin slideshow script


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

function preLoadImages1()
{preLoad1[0] = new Image();
preLoad1[0].src = "images/sheringham2.jpg";
preLoad1[1] = new Image();preLoad1[1].src = "images/sheringham3.jpg";
preLoad1[2] = new Image();preLoad1[2].src = "images/sheringham4.jpg";
preLoad1[3] = new Image();preLoad1[3].src = "images/sheringham1.jpg";
t1 = setInterval('runSlideShow1()',4000);
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 > (4 - 1)) j1 = 0;
}


var t2;var j2 = 0;var preLoad2 = new Array();

function preLoadImages2()
{preLoad2[0] = new Image();
preLoad2[0].src = "images/sheraton2.jpg";
preLoad2[1] = new Image();preLoad2[1].src = "images/sheraton3.jpg";
preLoad2[2] = new Image();preLoad2[2].src = "images/sheraton4.jpg";
preLoad2[3] = new Image();preLoad2[3].src = "images/sheraton1.jpg";
t2 = setInterval('runSlideShow2()',4000);
document.getElementById("slide2").style.display="none";
}

function runSlideShow2()
{if (document.all)
	 { document.images.img2.style.filter="blendTrans(duration=2)";
	document.images.img2.filters.blendTrans.Apply();
	}
document.images.img2.src = preLoad2[j2].src;
if (document.all) 
	{ document.images.img2.filters.blendTrans.Play();}
j2 = j2 + 1;if (j2 > (4 - 1)) j2 = 0;
}

var t3;var j3 = 0;var preLoad3 = new Array();

function preLoadImages3()
{preLoad3[0] = new Image();
preLoad3[0].src = "images/westwood2.jpg";
preLoad3[1] = new Image();preLoad3[1].src = "images/westwood3.jpg";
preLoad3[2] = new Image();preLoad3[2].src = "images/westwood4.jpg";
preLoad3[3] = new Image();preLoad3[3].src = "images/westwood1.jpg";
t3 = setInterval('runSlideShow3()',4000);
document.getElementById("slide3").style.display="none";
}

function runSlideShow3()
{if (document.all)
	 { document.images.img3.style.filter="blendTrans(duration=2)";
	document.images.img3.filters.blendTrans.Apply();
	}
document.images.img3.src = preLoad3[j3].src;
if (document.all) 
	{ document.images.img3.filters.blendTrans.Play();}
j3 = j3 + 1;if (j3 > (4 - 1)) j3 = 0;
}


var t4;var j4 = 0;var preLoad4 = new Array();

function preLoadImages4()
{preLoad4[0] = new Image();
preLoad4[0].src = "images/richmond2.jpg";
preLoad4[1] = new Image();preLoad4[1].src = "images/richmond3.jpg";
preLoad4[2] = new Image();preLoad4[2].src = "images/richmond4.jpg";
preLoad4[3] = new Image();preLoad4[3].src = "images/richmond1.jpg";
t4 = setInterval('runSlideShow4()',4000);
document.getElementById("slide4").style.display="none";
}

function runSlideShow4()
{if (document.all)
	 { document.images.img4.style.filter="blendTrans(duration=2)";
	document.images.img4.filters.blendTrans.Apply();
	}
document.images.img4.src = preLoad4[j4].src;
if (document.all) 
	{ document.images.img4.filters.blendTrans.Play();}
j4 = j4 + 1;if (j4 > (4 - 1)) j4 = 0;
}

