//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/westwood2.jpg";
preLoad1[1] = new Image();preLoad1[1].src = "images/westwood3.jpg";
preLoad1[2] = new Image();preLoad1[2].src = "images/westwood4.jpg";
preLoad1[3] = new Image();preLoad1[3].src = "images/westwood1.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/vacation2.jpg";
preLoad2[1] = new Image();preLoad2[1].src = "images/vacation3.jpg";
preLoad2[2] = new Image();preLoad2[2].src = "images/vacation1.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 > (3 - 1)) j2 = 0;
}

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

function preLoadImages3()
{preLoad3[0] = new Image();
preLoad3[0].src = "images/granada2.jpg";
preLoad3[1] = new Image();preLoad3[1].src = "images/granada3.jpg";
preLoad3[2] = new Image();preLoad3[2].src = "images/granada4.jpg";
preLoad3[3] = new Image();preLoad3[3].src = "images/granada1.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 t1a;var j1a = 0;var preLoad1a = new Array();

function preLoadImages1a()
{preLoad1a[0] = new Image();
preLoad1a[0].src = "images/westwood2.jpg";
preLoad1a[1] = new Image();preLoad1a[1].src = "images/westwood3.jpg";
preLoad1a[2] = new Image();preLoad1a[2].src = "images/westwood4.jpg";
preLoad1a[3] = new Image();preLoad1a[3].src = "images/westwood1.jpg";
t1a = setInterval('runSlideShow1a()',4000);
document.getElementById("slide1a").style.display="none";
}

function runSlideShow1a()
{if (document.all)
	 { document.images.img1a.style.filter="blendTrans(duration=2)";
	document.images.img1a.filters.blendTrans.Apply();
	}
document.images.img1a.src = preLoad1a[j1a].src;
if (document.all) 
	{ document.images.img1a.filters.blendTrans.Play();}
j1a = j1a + 1;if (j1a > (4 - 1)) j1a = 0;
}


