// JavaScript Document
var testimonials = new Array ();
testimonials[0] = "<p class='quote_text'>&ldquo;I am proud of the resume that Awesome Resumes created for me. The process helped me reaffirm that I have done some seriously great work during my career. Finally, I am getting called for interviews!&rdquo;</p><p class='quotee'>--VP Ad Agency, Denver, CO</p>";
testimonials[1] = "<p class='quote_text'>&ldquo;Anne was able to crystallize my accomplishments into a crisp and compelling resume. Her process got me thinking about the value I added to each position in new ways.&rdquo;</p><p class='quotee'>--Peter S. - Silicon Valley, CA</p>";
testimonials[2] = "<p class='quote_text'>&ldquo;Anne quickly understood what I did in my jobs. She's a thesaurus on steroids! She has the resume process nailed.&rdquo;</p><p class='quotee'>--Angela J. - Sacramento, CA</p>";
testimonials[3] = "<p class='quote_text'>&ldquo;Anne's marketing background, her writing ability and communication skill are invaluable.&rdquo;</p><p class='quotee'>--Ophelia C. - Silicon Valley, CA</p>";
testimonials[4] = "<p class='quote_text'>&ldquo;Anne sees her client's character and potential, which is reflected in the quality of the resumes she creates.&rdquo;</p><p class='quotee'>--Amandyne B. - Coulommiers, France</p>";


var quotes = new Array ();
quotes[0] = "";

var mastheads = new Array ();
mastheads[0] = "<img src='images/basic_page/masthead_01.png' alt='Resumes painted from scratch' width='573' height='173' />";
mastheads[1] = "<img src='images/basic_page/masthead_02.png' alt='Individually crafted resumes' width='573' height='173' />";
mastheads[2] = "<img src='images/basic_page/masthead_03.png' alt='Each resume is a masterpiece!' width='573' height='173' />";
mastheads[3] = "<img src='images/basic_page/masthead_04.png' alt='Works of art inspired by YOU!' width='573' height='173' />";
mastheads[4] = "<img src='images/basic_page/masthead_05.png' alt='Your career is the masterpiece.' width='573' height='173' />";


function getItem(getWhat)
{
	var textBlock;
	switch(getWhat) {
		case "testimonial":
			var rand = Math.round(Math.random()*4);  /* Don't forget to change this value depending on how many testimonials you have */
			var textBlock = testimonials[rand];
			break;
		case "quote":
			var rand = Math.round(Math.random()*0);  /* Don't forget to change this value depending on how many quotes you have */
			var textBlock = quotes[rand];
			break;
		case "masthead":
			var rand = Math.round(Math.random()*4);  /* Don't forget to change this value depending on how many quotes you have */
			var textBlock = mastheads[rand];
			break;
	}
	return textBlock;
}