if(document.images)
{
	var imgArray = new Array();
	imgArray[0] = new Image(368,245);
	imgArray[1] = new Image(368,245);
	imgArray[2] = new Image(368,245);
	imgArray[3] = new Image(368,245);
	imgArray[4] = new Image(368,245);
	imgArray[5] = new Image(368,245);
	imgArray[6] = new Image(368,245);
	imgArray[7] = new Image(368,245);
	
	
	imgArray[0].src = "images/home/slide1.jpg";
	imgArray[1].src = "images/home/slide2.jpg";
	imgArray[2].src = "images/home/slide3.jpg";
	imgArray[3].src = "images/home/slide4.jpg";
	imgArray[4].src = "images/home/slide5.jpg";
	imgArray[5].src = "images/home/slide6.jpg";
	imgArray[6].src = "images/home/slide7.jpg";
	imgArray[7].src = "images/home/slide8.jpg";
	
}


var current = 0;
var howMany = imgArray.length;
var timeDelay = 3500;

function start()
{
		setInterval("slide()", timeDelay);
}
function slide()
{
	current++;
	if (current >= howMany)
	{
		current = 0;
	}
		document.getElementById('show').src = imgArray[current].src;
		
}