var the_images = new Array();
the_images[0] = new Image();
the_images[0].src = "slideshow/COSC_Build.jpg";
the_images[1] = new Image();
the_images[1].src = "slideshow/COSC_Build2.jpg";
the_images[2] = new Image();
the_images[2].src = "slideshow/COSC_Build3.jpg";
the_images[3] = new Image();
the_images[3].src = "slideshow/COSC_picnic1.jpg";
the_images[4] = new Image();
the_images[4].src = "slideshow/COSC_picnic2.jpg";
the_images[5] = new Image();
the_images[5].src = "slideshow/COSC_picnic3.jpg";
the_images[6] = new Image();
the_images[6].src = "slideshow/COSC_picnic4.jpg";
the_images[5] = new Image();
the_images[5].src = "slideshow/COSC_picnic5.jpg";

var the_timeout;
var index = 0;
function rotateImage()
{
	window.document.my_image.src = the_images[index].src;
	index++;
	if (index >= the_images.length)
	{
		index = 0;
	}
	the_timeout = setTimeout("rotateImage();", 5000);
}

function swapTextFaculty()
{
	var theDiv = document.getElementById('spotlightText');
		theDiv.innerHTML = "<p align='center'><strong>Dr. Daryl Stone</strong></p><p>Dr. Daryl Stone, BSU Class of 1992, successfully defended his Doctoral Dissertation, at George Washington University, on Election Day, November 4, 2008.  The title of his dissertation is “African-American Males in Computer Science – Examining the Pipeline for Clogs”.  His goal is to find ways to recruit, prepare and retain more minorities in the Science, Technology, Engineering and Mathematics (STEM) areas, specifically, the Computing Discipline.</p>";
}
function swapTextStudent()
{
		var theDiv = document.getElementById('spotlightText');
		theDiv.innerHTML = "<p align='center'><strong>Jihad Ashkar</strong></p><p align='right'><small>Graduation Year: 2011</small></p><p>Jihad is a first semester sophomore majoring in Computer Science.   He graduated from Eleanor Roosevelt  High School in May 2009.  He’s currently the President of the BSU Honors Student Organization.  Jihad maintains the Computer Science Department website, which allows him to apply his programming skills.  This past summer, to upgrade the website, Jihad used a combination of HTML, CSS, JavaScript, PHP and mySQL.  Jihad currently holds a cumulative GPA of 3.91.</p>";		
}
function swapTextAlumni()
{
		var theDiv = document.getElementById('spotlightText');
		theDiv.innerHTML = "<p align='center'><strong>Maurice Johnson</strong></p><p align='right'><small>Graduation Year: 2006</small></p><p>Maurice, a Computer Technology Alumnus, is a Senior Consultant at Booz Allen Hamilton.  He is the lead Database Administrator for a military project that services sixteen military bases, including bases in Japan and Hawaii.  Additionally, Maurice serves as the technical mentor for his DBA team.   As a student, he was the team leader on the development of the Department, the HBCU-UP Conference and CIBAC.net websites.  Maurice also created the COSC Department logo (“Pyramid of Building & Excellence”).</p>";		
}