//declare array, populate
	slidePix = new Array (
		"images\/slide1.jpg",
		"images\/slide2.jpg",
		"images\/slide3.jpg",
		"images\/slide4.jpg",
		"images\/slide5.jpg",
		"images\/slide6.jpg",
		"images\/slide7.jpg"
					);	  
//variable that will increment through the images	
	var i=0;
	
function slidereset()  {
document.getElementById("bullet0").style.color="#000";
document.getElementById("bullet0").style.fontWeight="normal";
document.getElementById("bullet1").style.color="#000";
document.getElementById("bullet1").style.fontWeight="normal";
document.getElementById("bullet2").style.color="#000";
document.getElementById("bullet2").style.fontWeight="normal";
document.getElementById("bullet3").style.color="#000";
document.getElementById("bullet3").style.fontWeight="normal";
document.getElementById("bullet4").style.color="#000";
document.getElementById("bullet4").style.fontWeight="normal";
document.getElementById("bullet5").style.color="#000";
document.getElementById("bullet5").style.fontWeight="normal";
document.getElementById("bullet6").style.color="#000";
document.getElementById("bullet6").style.cfontWeight="normal";
}

//function		
function slidebullets()	{	
//set the source of the image.
//alert(slidePix[i]);

		document.getElementById("Pic").src=slidePix[i];
		document.getElementById("bullet" + [i]).style.color="#000099";
		document.getElementById("bullet" + [i]).style.fontWeight="bold";

//increment step unless it is = to 6.
if (i<6){
i++;
}
else
{
	i=0;


setTimeout("slidereset()",3000);
}

//call function "slidebullets()" every 2000 millisecs
setTimeout("slidebullets()",3000);

}