var re = /\w/;

var quotes = new Array();
quotes[0] = "My name is Christina Perez and I am a Senior majoring Creative Writing and Latino Studies. <a href='http://uuis.umich.edu/maizepgs/view.cfm?orgID=10004082'>The F-Word</a> is an organization dedicated to creating a feminist movement at the University of Michigan that applies to all races and social backgrounds.  My involvement with the F-Word has given me a space to express my passions pertaining to social justice, human rights, & women’s issues.  It has also given me the opportunity to stand as a voice for positive and progressive social change. <br /><em class='author'>-Christina Perez</em>"
quotes[1] = "My name is Ayodele Alli and I am a senior in the college of LS&A.  <a href=\"http://www.umich.edu/~sankofa/\">Black Student Union (BSU)</a> is an organization with a legacy of supporting and encouraging minorities here at the University. It is also an excellent group where knowledge is shared and acquired among like and unlike minded individuals. Honestly, these reasons encompass my membership in such a group.<br /><em class='author'>-Ayodele Alli</em>"
quotes[2] = "Funding from the <a href='http://www.umich.edu/~oami/studprog/sami.html'>SAMI (Student Academic Multicultural Initiatives)</a> program helped fund my summer Study Abroad in South Africa.  The Study Abroad program was one that was sponsored by the <a href='http://www.lsa.umich.edu/csp/'>Comprehensive Studies Program (CSP)</a>.  While there, I conducted research to assess the perceptions and effectiveness of a program sponsored by the South African government to help Black organizations tap into governmental funding and contracts, the Black Economic Empowerment Program (BEE).  This opportunity enhanced my understanding of cultural issues, and sparked my curiosity to know more about other world cultures.<br /><em class='author'>-Cachavious English</em>"
quotes[3] = "My name is Zeke Joubert, I just graduated with a BA in English and I am doing a year of Americorps. When I was on campus, I was an intern in the <a href='http://www.umich.edu/~lgbta'>Office of LGBT Affairs</a> and I was a facilitator for The Program on Intergroup Relations, so bless the hearts of Student Affairs for introducing me to so many people. I was also a member of the Speaker's Bureau Panel in LGBTA which gave me an opportunity to participate in the education of LGBT issues on campus.  It was a way to give back and it was important for me to be an active participant in the pursuit of social justice.<br /><em class='author'>-Zeke Joubert</em>"
quotes[4] = "My name is Jamila Oni Fair and I am a Senior majoring in Political Science.  I am the President of the National Association for the Advancement of Colored People (NAACP) Being a part of such a great organization has helped open my eyes to the world around me. So often as college students we loose sight of everything outside of our classrooms. Throughout my three years, <a href='http://www.umich.edu/~naacp/')NAACP</a> has sent me from the State capital to the Nation's capital, discussing issues about race and discrimination. When I depart the University, NAACP will have helped me leave with a stronger attitude, confidence and perseverance. Some things just can't be taught in the classroom.<br /><em class='author'>-Jamila Oni Fair</em>"
quotes[5] = "There is nothing that will increase your awareness of the social injustice facing our world like exploring a different part of the globe first-hand.  <a href='http://www.gieu.umich.edu'>Global Intercultural Experience for Undergraduate Program (GEIU)</a> pushed my limits, challenged my surest convictions, totally overhauled my understanding of diversity and  gave me an appreciation for the most basic amenities in life which I previously took almost entirely for granted.<br /><em class='author'>-Julie Tapper</em>"
quotes[6] = "I realized exactly what was necessary and what was excessive in my life.  Now back in Ann Arbor, I dream of the simpler way of life that I experienced at the border and strive to live a more sustainable life.<br /><em class='author'>-Tara Diebold</em>"
quotes[7] = "The people that ended up going, were people who were committed to the cause and to <a href='http://www.umich.edu/~mserve/serve/index.html'>Alternative Spring Break</a>, which made it all that much better… Never have I felt more grateful for all of my blessings… Going on this trip has made me realize not only how swayed I am by media's popular images and stereotypes, but also how marginalized certain populations are… <a href='http://www.umich.edu/~mserve/serve/index.html'>Alternative Spring Break</a> has opened my eyes... Before spring break, I was jealous of all of my friends who were going to vacation in Cancun, Florida, Costa Rica, the Bahamas, and Europe.  After the trip, I knew that my break was far superior, and I would choose it again in a heartbeat over the other options. Not only did I meet an amazing group of people of which I am now honored to call my friends, I did something during my break, I… grew so much from it… Thank you, <a href='http://www.umich.edu/~mserve/serve/index.html'>Alternative Spring Break</a>, for allowing me that opportunity.<br /><em class='author'>-Robynn Leidig</em>"
quotes[8] = "I love how <a href='http://www.umich.edu/~mserve/pc/about.html'>Project Community</a> allows students the responsibility and agency to build a classroom environment suitable to them. In addition, I like how the program combines activism with academic learning, and lets students take the initiative to pursue both in and outside the classroom<br /><em class='author'>Nathalie Carrier</em>"
quotes[9] = "My name is Jerry Kozak and I am a member of Pi Kappa Phi fraternity.  The Journey of Hope represents a promise made by the men of Pi Kappa Phi to put the resources, talents, and manpower of their organization to work for the benefit of the disabled community. Our aim is not merely to help them cope with their disabilities, but to overcome them and achieve the maximum amount of integration with mainstream society.<br /><em class='author'>-Jerry Kozak</em>"
quotes[10] = "<a href='http://www.umich.edu/~mserve/pc/about.html'>Project Community</a> has affected my outlook on social justice in countless ways, ways that I can't really articulate fully!  I see the 'other side' of arguments so much better, and I feel that I am a more understanding person.  When people have discussions about issues in the world, it's much easier for me to be the 'devil's advocate' and point out the reasoning behind some issues that are seemingly cut-and-dry.  I know that's confusing :) but to give an example, instead of just accepting a social issue as 'it is what it is,' I am able to see different solutions and explain them to others.<br /><em class='author'>-Angie Carrier</em>"

var currentQuote = 0;
function quote() {
	var quoteID = "thequote";
	var theQuote = document.getElementById(quoteID);
	qu.hide();
	
	currentQuote++;
	if (currentQuote >= quotes.length) currentQuote = 0;
	//alert("currentQuote: " + currentQuote);
	theQuote.innerHTML = quotes[currentQuote];
	qu.toggle();
}

var currentSlide = 1;
var counter = 1;
function slide(imageID) {
	var currentImage = document.getElementById(imageID);
	ph.hide();
	counter++;
	currentSlide++;


	if ((counter > 6) && (counter < 12)) currentSlide = 7;
	else if (counter == 12) {
		currentSlide = 1;
		counter = 1;
	}
	
	//alert("CurrentImage: " + currentSlide);

	var imageName = "images/blurb.picture";
	currentImage.src = imageName + currentSlide + ".jpg";
	ph.toggle();
}
