// JavaScript Document
function getRandomQuote() {

var quotes = new Array();
quotes[0] = 'ChristopheGeorges.png';
quotes[1] = 'DavidDiGregario.png';
quotes[2] = 'GregDogan1.png';
quotes[3] = 'GregDogan2.png';
quotes[4] = 'HayesRoth.png';
quotes[5] = 'lauraRobin1.png';
quotes[6] = 'lauraRobin2.png';
quotes[7] = 'lauraRobin3.png';
quotes[8] = 'ScottWisemann.png';


var i;
var k;
	
i = Math.random();
k = Math.round(0 + ((8 - 0) * i));

	var thisImage = 'quotes/'+quotes[k];
	
	
	jQuery.each(jQuery.browser, function(i) {
		if($.browser.msie){ 
			$('#imgQuote').attr("src",thisImage);
		}
		else {
			$('#imgQuote').fadeOut(function() {
				$(this).attr("src",thisImage).fadeIn();
			});
		}
	 });

	
	

}

function startQuotes() {
	setInterval ( "getRandomQuote()", 5000 );
}

