<!--  
function rotateImage()
{
	setInterval(grabImage,10000);
}	
		
	
function grabImage()
	{
	
	var pic=new Array();
	var cap=new Array();
	
	pic[0]='alumniandstudent.jpg';
	cap[0]='SHRS Alumni Board President Sue Klinger and student.';
	
	pic[1]='otclass09.jpg';
	cap[1]='The 2009 class of the School of Health and Rehabilitation Sciences Occupational Therapy program.';

	pic[2]='quaiddecordon.jpg';
	cap[2]='On Thursday, August 27 we welcomed our incoming student class at the annual Convocation, held in the Lilly Auditorium at the Riley Outpatient Center.  Our keynote speaker was Kimberly Quaid de Cordon, PhD of the Indiana University Center for Bioethics.  The evening was a great success and was a wonderful way for us all to get the year started off right. ';

	pic[3]='shrsaction1.jpg';
	cap[3]=' ';

	pic[4]='shrsaction2.jpg';
	cap[4]=' ';
	
	pic[5]='shrsaction3.jpg';
	cap[5]=' ';
	
	pic[6]='stevejonesfellowship09.jpg';
	cap[6]='Left to Right Dean Agho, Rebecca Phipps recipient of the Steven Jones Fellowship, Steven Jones.';
	
	pic[7]='students.jpg';
	cap[7]='On Thursday, August 27 we welcomed our incoming student class at the annual Convocation, held in the Lilly Auditorium at the Riley Outpatient Center.  Our keynote speaker was Kimberly Quaid de Cordon, PhD of the Indiana University Center for Bioethics.  The evening was a great success and was a wonderful way for us all to get the year started off right. ';
	
	pic[8]='joyce_safrica.jpg';
	cap[8]='The School of Health Technology at the Central University of Technology, Free State held a cocktail function to celebrate the contributions of Prof Joyce MacKinnon as external consultant to the NRF funded project on implementing an assessment model in the School of Health Technology since 2005. Pictured are: Profs. Linda de Jager, dean of the Faculty of Health and Environmental Sciences, Rocky Ralebipi-Simela, deputy vice-chancellor: Academic, Prof. Joyce MacKinnon, Dr Hesta Friedrich Nel, acting director of the School of Health Technology, and Prof. Laetus Lategan, dean: Research and Innovation.';

	x=Math.floor(Math.random()*(pic.length));
	
	document.getElementById('mainPhotoCap').innerHTML = cap[x];
	document.getElementById('mainPhoto').src = "/_assets/images/frontpage/" + pic[x];
	}
	
	var y=0;
	for(y=0;y<=7;y++)
{
	image[y]= new Image();
	image[y].src = "/_assets/images/" + pic[x];
}
		
	//-->