//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/countrylodge2.jpg";
preLoad1[1] = new Image();preLoad1[1].src = "images/countrylodge3.jpg";
preLoad1[2] = new Image();preLoad1[2].src = "images/countrylodge4.jpg";
preLoad1[3] = new Image();preLoad1[3].src = "images/countrylodge1.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/chatsgold2.jpg";
preLoad2[1] = new Image();preLoad2[1].src = "images/chatsgold3.jpg";
preLoad2[2] = new Image();preLoad2[2].src = "images/chatsgold4.jpg";
preLoad2[3] = new Image();preLoad2[3].src = "images/chatsgold1.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/deene2.jpg";
preLoad3[1] = new Image();preLoad3[1].src = "images/deene3.jpg";
preLoad3[2] = new Image();preLoad3[2].src = "images/deene4.jpg";
preLoad3[3] = new Image();preLoad3[3].src = "images/deene1.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/concept2.jpg";
preLoad4[1] = new Image();preLoad4[1].src = "images/concept3.jpg";
preLoad4[2] = new Image();preLoad4[2].src = "images/concept4.jpg";
preLoad4[3] = new Image();preLoad4[3].src = "images/concept1.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;
}
