var theCounter
theCounter = 0 ;

var myInterval = setInterval('swapPicture();',4000)

var picArr = new Array() ;
picArr[0] = new Array(2) ;
picArr[0][0] ='hairshots/slideShow1/stanComp.jpg';
picArr[0][1] ='&nbsp;';
picArr[1] = new Array(2) ;
picArr[1][0] ='hairshots/slideShow1/rickComp.jpg';
picArr[1][1] ='&nbsp;';
picArr[2] = new Array(2) ;
picArr[2][0] ='hairshots/slideShow1/johnComp.jpg';
picArr[2][1] ='&nbsp;';


function swapPicture()
{

	if(navigator.appName!='Netscape'){
		//document.getElementById("slideshow").style.filter="blendTrans(duration=2)";
		//document.getElementById("slideshow").filters.blendTrans(duration=5).Apply();
		document.getElementById("thePic").style.filter="blendTrans(duration=2)";
		document.getElementById("thePic").filters.blendTrans(duration=5).Apply();
		document.getElementById("thePic").src= picArr[theCounter][0];
		//document.getElementById("slideshow").innerHTML= picArr[theCounter][1];
		//document.getElementById("slideshow").filters.blendTrans.Play();
		document.getElementById("thePic").filters.blendTrans.Play();
  		}
		
	  else{ 
	  	document.getElementById("thePic").src= picArr[theCounter][0];
		//document.getElementById("slideshow").innerHTML= picArr[theCounter][1];
		}
	if(theCounter < 2){theCounter = theCounter + 1}
	else{theCounter = 0}
}