// JavaScript Document

function get_images()
{
	$rand = Math.floor(Math.random()*2);
	
	switch($rand) {
		case 0: 
			$var = '<img src="/images/good-guys-award.jpg" /><p><a href="http://www.good-guys.com/events/awardWinners.aspx?eventid=09-600" target="_blank">Good Guys 2009<br />Chicagoland Nationals</a><br />Builder\'s Choice Awards</p><img src="/images/hot-rod-article.jpg" /><p><a href="http://www.hotrod.com/featuredvehicles/hrdp_0909_1964_buick_sport_wagon/index.html" target="_blank">Hot Rod Magazine<br />"Lowlark"</a><br />September 2009</p>';
			break;
		case 1: 
			$var = '<img src="/images/car-craft-article.jpg" /><p><a href="http://www.carcraft.com/featuredvehicles/ccrp_1005_1967_buick_special_wagon/index.html" target="_blank">Car Craft Magazine<br />"Powder Blue"</a><br />May 2010</p><img src="/images/good-guys-award.jpg" /><p><a href="http://www.good-guys.com/events/awardWinners.aspx?eventid=09-600" target="_blank">Good Guys 2009<br />Chicagoland Nationals</a><br />Builder\'s Choice Awards</p>';
			break;
	}
	document.write($var);
}

function get_testimonial()
{
	$rand = Math.floor(Math.random()*4);
	switch($rand) {
		case 0: 
			$var = '<p>"Extreme has been a valuable vendor of RCP Shelter since 2002 by meeting our ship schedules, suggesting and implementing improvements in our powder coating process and backing its work. The quality has been excellent."</p><p>- Edward Gribben, Jr.<br />RCP Shelters, Inc.</p>';
			break;
		case 1: 
			$var = '<p>"I can count on Extreme Powder Coating to deliver a high-quality product. They are fast, reliable and have excellent customer service."</p><p>- Karl Kirschbaum<br />Shryock Racing Components</p>';
			break;
		case 2: 
			$var = '<p>"I would recommend Extreme to anyone looking for a shop that gives competitive pricing, great turn-around time and a quality job."</p><p>- Dennis Heimerman<br />Metal Services of Blooming Prairie, Inc.</p>';
			break;
		case 3: 
			$var = '<p>"Greg has always accommodated us when we were put in positions of needing parts ASAP.  We have found his pricing to be very competitive."</p><p>- Todd Vold<br />V/M Engineering</p>';
			break;
	}
	document.write($var);
}