// JavaScript Document

window.onload = randomQuote;

function randomQuote() {
	//Place the quotes in this array.
	//Single apostrophes (') must be preceded with an " \ ", ie, " \' ".
	//The outside quotation marks appear automatically - they should not be added here.
	var quoteList = new Array(
		'All the schools near my home aren&rsquo;t as good as Hair Dynamics Education Center. I decided to come here even though it&rsquo;s an hour away from my home!<br /> Jessica P.',
		'I actually liked coming to school for once. I was sick and burnt out from college. This was always something I wanted to do.<br /> Lindsey H.',
		'I went to another school before this one. The instructors here care about your learning and education&mdash;it was the best instruction tuition could pay for. I wouldn&rsquo;t trade my instructors for the world.<br /> Jessica C.',
		'&ldquo;I called around to various salons and asked their opinions. I heard a lot of negativity toward other schools and none about Hair Dynamics.&rdquo; <br /> Kristi M.',
		'&ldquo;I enjoyed working hands on with people and having the instructors help you with new techniques.&rdquo; <br /> KayCee W.',
		'&ldquo;I just want to reiterate the fact that I had such an incredible experience at Hair Dynamics Education Center. The energy and effort each staff member puts forth truly shines through the education you offer. My experience at school was irreplaceable and the best part is I can still call any staff members for questions I have.&rdquo; <br /> Gina G.',
		'&ldquo;Each instructor taught me different techniques and how to deal with real world situations in a professional way. I will leave here with everything I need to be prepared for the real world.&rdquo; <br /> Lisa P.',
		'&ldquo;I wanted to receive the best aesthetics training available in Northern Colorado. (So glad I did not go to another school!) After completing this program, I feel I am very knowledgeable in this field. I appreciate the fact that all the instructors had experience actually working in the field.&rdquo; <br /> Kerri G.',
		'&ldquo;The teaching was great and I have confidence in everything I do. I felt I was treated with respect and everything was professional.&rdquo; <br /> Amelia S.',
		'&ldquo;My instructors are the best part of this experience. I know they all want me to succeed and they were willing to do anything to make that happen.&rdquo; <br /> Whitney W.',
		'&ldquo;On behalf of the faculty and students in the Department of Design and Merchandising at Colorado State University we would like to thank you for your support of our 2007 Student Apparel Design Show, <em>Breaking the Silhouette</em>. We truly appreciate your support&hellip;&rdquo; <br /> Eulanda Sanders, Ph.D. Associate Professor, Colorado State University',
		'&ldquo;Thank you for providing the manicurists, who took part in our Single Moms&rsquo; Car Care Clinic&hellip;the students were amazing and provided a moment of luxury and relaxation for many of the single mothers, and some of the daughters as well. Your willingness to encourage your students to give to the community, and various outreach efforts was a very generous gift.&rdquo; <br /> Ruby Rorabaugh, Car Care Clinic Ministries Coordinator',
		'&ldquo;We had great educational opportunities, such as hair shows, competitions and fashion shows. I always felt encouraged. The instructors were very upbeat and passionate about their careers.&rdquo; <br /> Kelsey B.',
		'&ldquo;Thank you for turning out an excellent addition to our industry!&rdquo; <br /> Leslie T., Salon Owner',
		'&ldquo;Ashley is a very good stylist. I&rsquo;m very impressed with the quality of work she does, especially since she is a recent graduate.&rdquo; <br /> Diane C., Salon Manager',
		'&ldquo;All instructors are genuinely interested in our education, as well as us as individuals. I had a wonderful experience here and would recommend this school to anyone.&rdquo; <br /> Loretta F. Hair'	);
	//Randomly chooses a number for the array index.
	var quoteNumber = Math.round(Math.random()*(quoteList.length-1));
	//Locates the "left-quote" area in the HTML
	var quoteBox = document.getElementById('left-quote')
	//Writes the quotes and the appropriate credit using the randomly generated index.
	quoteBox.innerHTML = '<p>' + quoteList[quoteNumber] + '</p>';
}
