window.onload = function() {
	document.getElementById("mechanic").onclick = mechanic;
};

function mechanic() {
	var b = document.getElementById("mechanic");
	var a = b.options.selectedIndex;
	var name = document.getElementById("namea");
	var major = document.getElementById("major");
	var home = document.getElementById("home");
	var bicycle = document.getElementById("bicycle");
	var repair = document.getElementById("repair");
	var quote = document.getElementById("quote");
	var joke = document.getElementById("joke");
	var reason = document.getElementById("reason");
	var image = document.getElementById("mechanicimage");
	if (a == 2) {
		image.src = "lauren.jpg";
		name.innerHTML = "Lauren Boubel";
		major.innerHTML = "Mathematics 2010";
		home.innerHTML = "Spokane, WA";
		bicycle.innerHTML = "A single speed Shogun that goes by the name \'Blue Steel\'.";
		reason.innerHTML = "I hated spending money on gas, so I just biked everywhere. Best descision I made in high school.";
		repair.innerHTML = "Spoke replace. Hands down.";
		quote.innerHTML = "Every time I see an adult on a bicycle, I no longer despair for the future of the human race. ~H.G. Wells";
		joke.innerHTML = "Two hydrogen atoms walk into a bar. One of them begins looking around. The other one asks \'What's up?\' The atom replies \'I think I lost an electron!\' \'Really?\' the other one asks. \'Yes! I'm positive!\'";
	} else if (a == 0) {
		image.src = "brent.jpg";
		name.innerHTML = "Brent Van Fossen";
		major.innerHTML = "Business 2012";
		home.innerHTML = "Alamo, CA";
		bicycle.innerHTML = "2009 Trek Session 88 DH (Downhill MTB)";
		reason.innerHTML = "My friends started mountain biking and so I got one too.";
		repair.innerHTML = "Truing wheels";
		quote.innerHTML = "Pin it";
		joke.innerHTML = "";

	} else if (a == 1) {
		image.src = "cameron.jpg";
		name.innerHTML = "Cameron Sparr";
		major.innerHTML = "Physics 2011";
		home.innerHTML = "Portland, OR";
		bicycle.innerHTML = "Early 90s Trek 1000 road bike";
		reason.innerHTML = "Started racing on my Dad's old road bike in high school";
		repair.innerHTML = "rerwheltru!";
		quote.innerHTML = "\"hey Spidermameron, I think my rear wheel is a little wobbly...\"";
		joke.innerHTML = "\"Say, Lou, ya hear the one about the guy who couldn't afford personalized license plates so he went and changed his name to J2L 4685?\" \"Yah, that's a good one.\"";

	} else if (a == 4) {
		image.src = "steven.jpg";
		name.innerHTML = "Steven Bell";
		major.innerHTML = "Jazz Studies 2011";
		home.innerHTML = "Edmonds, WA";
		bicycle.innerHTML = "Peugeot Course conversion / Pinarello Montello road bike.";
		reason.innerHTML = "For transportation, then it was wicked fun.";
		repair.innerHTML = "Anything broken that isn't French.";
		quote.innerHTML = "Jazz isn't dead, it just smells funny. ~ Frank Zappa";
		joke.innerHTML = "A music degree. HA!";

	} else if (a == 3) {
		image.src = "saba.jpg";
		name.innerHTML = "Saba Samakar";
		major.innerHTML = "Psychology 2010";
		home.innerHTML = "Seattle, WA";
		bicycle.innerHTML = "I ride a silvery Pista. It's a fixie. My knees are starting to voice enough complaints that I'm looking to change.";
		reason.innerHTML = "";
		repair.innerHTML = "I like to do rear wheel trues... while listening to a certain Beastie Boys song. I also like to play with bottom brackets.";
		quote.innerHTML = "If you see the good in people and it helps them see the good in themselves.";
		joke.innerHTML = "";

	}
}