var num = 13
var current=Math.floor(Math.random()*num) + 1

function rotate() {
	rotator = document.getElementById("rotator")
	var data ="<br />"	
	switch (current) {
		case 1:
			data += "<p align=center><img src=images/people/ryann.jpg width=160></p>"
			data += "<p class=leftbar>"
			data += "The mission of the Black Community Services Center is to provide a welcoming and safe space for Black students at Stanford. Grounded in service, the BCSC continues to create quality programs and opportunities that enrich the intellectual, social, and emotional aspects of the lives of students, faculty, and the greater community.<br /><br /><br /><br /></p>"
			current += 1
		break
		case 2:
			data += "<p align=center><img src=images/people/tiff.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += "The mission of the Black Community Services Center is to provide a safe and engaging space within the black community that fosters self-growth and community unity. It is a venue for black students to become more involved with both the black community and Stanford community at large, ensuring that their needs are met and that they have the means to seriously impact Stanford as a university. The BCSC aims to help everyone find his or her niche at Stanford.<br /><br /><br /></p>"
			current += 1
		break
		case 3:
			data += "<p align=center><img src=images/people/natie.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += "The mission of the Black Community Services Center is to produce enriching programs and events that explore the African Diaspora at Stanford. Along with exciting us intellectually, the BCSC hosts social gatherings that foster a sense of community for those interested in learning more about what it means to be black at Stanford.<br /><br /><br /></p>"
			current += 1
		break
		case 4:
			data += "<p align=center><img src=images/people/toni.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += "The mission of the Black Community Services Center is to ensure that issues pertaining to the Black community are discussed, analyzed, and improved to make life at Stanford better. It is a resource that provides support so Stanford students can have a full experience at the university. The BCSC provides the opportunities for students to enrich the Black community and the greater Stanford community as a whole.<br /><br /><br /></p>"
			current += 1
		break
			case 5:
			data += "<p align=center><img src=images/people/keisha08.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += "The mission of the Black Community Services Center is to reach out to unite and educate the black community at Stanford by implementing thought provoking programs as well as being a hub for various students and Black Volunteer Student Organizations (BVSOs) to seek guidance.<br /><br /><br /></p>"
			current += 1
		break
			case 6:
			data += "<p align=center><img src=images/people/ruby08.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += " The BCSC is in existence to provide a safe, intellectual environment where not only the black community, but also members of other communities can come to discuss issues pertaining to the Black Community. The center serves as an umbrella for BVSO's and fosters unity among them because a united front is vital. It is a place where students can come when they need advice or simply someone to listen - - a home away from home.<br /><br /><br /></p>"
			current += 1
		break
			case 7:
			data += "<p align=center><img src=images/people/just.jpg width=160></p>"
			data += "<p class=leftbar>"
			data += " The Black Community Services Center seeks to promote social, cultural, and intellectual growth for students in the black community, both by unifying students of color and by creating awareness of issues relevant to African-American culture and development. Its goal is to create a safe, community environment in which students may develop their potential as students and as leaders.<br /><br /><br /></p>"
			current += 1
		break
			case 8:
			data += "<p align=center><img src=images/people/amber.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += "  The mission of the Black Community Services Center is to provide Black Stanford students with support, resources, and guidance necessary to be successful personally, academically, and professional with their endeavors at Stanford and beyond. The BCSC is a safe space where students can express and act on their ideas, opinions, concerns, passions, and joys at Stanford.<br /><br /><br /></p>"
			current += 1
		break
			case 9:
			data += "<p align=center><img src=images/people/jones08.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += " The BCSC exists to create an environment where Black students may thrive socially, culturally and intellectually. Its mission is to ensure that the Stanford experience is one which sets a foundation for students to be actively involved in their communities both within and beyond Stanford.<br /><br /><br /></p>"
			current += 1
		break
			case 10:
			data += "<p align=center><img src=images/people/julian.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += "The mission of the Black Community Services Center is to provide the aggregate resources that enable its community to achieve individual and collective goals. The Black Community Services Center aims to do that by coordinating programs and events that promote the academic, social, and cultural development of the African-American community.<br /><br /><br /></p>"
			current += 1
		break
			case 11:
			data += "<p align=center><img src=images/people/sos08.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += " The mission of the Black Community Services Center is to produce students with the tools needed to reach their personal & academic goals both here and beyond Stanford, and at the same time provide an open and safe space for the exchange of ideas, opinions, concerns and issues about Black life at Stanford.<br /><br /><br /></p>"
			current += 1
		break
			case 12:
			data += "<p align=center><img src=images/people/eki.jpg width=160></p>"
			data += "<p class=leftbar>"
			data += " The mission of the Black Community Services Center is to provide a safe space at Stanford for the entire Black community and to educate, support, and uplift this community and the greater Stanford community.<br /><br /><br /></p>"
			current += 1
		break
			case 13:
			data += "<p align=center><img src=images/people/kiana.jpg width=160></p>"
			data += "<p class=leftbar align=left>"
			data += " The mission of the Black Community Services Center is to foster community and unity among the black community and create a support network for the needs of these students and help them become an active part of the Stanford community as a whole, and the world beyond the bubble. The BCSC is a way for students to find out how they want to contribute to the community and gives them the information, tools, encouragement, and support to do whatever it is they wish to pursue.<br /><br /><br /></p>"
			current = 1
		break


			


			
	}
	rotator.innerHTML = data
	setTimeout('rotate()', 50000) 
}