	// Array Declaration:
	var slides = new Array("images/home/1.jpg",
						   "images/home/2.jpg",
						   "images/home/3.jpg",
						   "images/home/4.jpg");		   
	
	// Variable Declaration:
	var thisSlide = 0;
	var slideCount = slides.length;
	
	// Array Declaration:
	var slides2 = new Array("images/home/5.jpg",
							"images/home/6.jpg",
							"images/home/7.jpg",
							"images/home/8.jpg");		   
	
	// Variable Declaration:
	var thisSlide2 = 0;
	var slideCount2 = slides2.length;

	
	
	function rotate()
	{
	
		// if there are images objects in the document
		if (document.images)
		{
			// add one to the value of thisAd
			thisSlide++;
			
			//if value of thisAd is equal to the value of imageCount
			if (thisSlide == slideCount)
			{
				// then reset thisAd to zero
				thisSlide = 0;
			} // end if
		// display the item in the adImages array that is at the index of the thisAd variable value
		document.slide.src = slides[thisSlide];		
		
		setTimeout("rotate();", 4 * 1000);
		} // end if		
	} // end rotate()
	
	function rotate2()
	{
	
		// if there are images objects in the document
		if (document.images)
		{
			// add one to the value of thisAd
			thisSlide2++;
			
			//if value of thisAd is equal to the value of imageCount
			if (thisSlide2 == slideCount2)
			{
				// then reset thisAd to zero
				thisSlide2 = 0;
			} // end if
		// display the item in the adImages array that is at the index of the thisAd variable value
		document.slide2.src = slides2[thisSlide2];		
		
		setTimeout("rotate2();", 4 * 1000);
		} // end if		
	} // end rotate2()
	
	