var transTime = 6; /* Time in seconds between each transition. This value has to be greater or equal to 3 */
	
	var imgArray=new Array(
		"images/slide_show/strickland.jpg",
		"images/slide_show/ensemble1.jpg", 
		"images/slide_show/ensemble2.jpg", 
		"images/slide_show/ensemble3.jpg", 
		"images/slide_show/ensemble4.jpg", 
		"images/slide_show/strickland.jpg"); /*this image has to be the same as the first image in the array*/
	
	runItOrig=setInterval("blendimage2()",transTime * 1000);


var changeA=100;
	var imgArrayPos=0;

	function yes2() {
	document.getElementById("imgBgSlideShow").style.background='url('+ imgArray[imgArrayPos+1] + ')';	
	document.getElementById("blendimage").style.opacity=1.0;
	document.getElementById("blendimage").filters.alpha.opacity=100;

	}


	function yes() {

	changeA=changeA-2;

	//alert (changeA);

	if(changeA<0) {
	clearInterval(runIt);
		imgArrayPos=imgArrayPos+1;
		document.images["blendimage"].src=imgArray[imgArrayPos];
		document.getElementById("imgBgSlideShow").style.background='url('+ imgArray[imgArrayPos+1] + ')';	
		document.getElementById("blendimage").style.opacity=1.0;
		document.getElementById("blendimage").filters.alpha.opacity=100;
		}else{
		document.getElementById("blendimage").style.opacity=changeA/100;
		document.getElementById("blendimage").filters.alpha.opacity=changeA;
	
		}
	}

	function blendimage2() {
	changeA=100;

	if (imgArrayPos==meter) {
		imgArrayPos= -1;}
	
	runIt=setInterval("yes()",30);
	}

	var meter=imgArray.length-2;