// VARS
//
var current = 0;
var noofquotes = 0;

// INIT JQUERY
//
$(document).ready(function(){		   
	$("#quotes li").hide();
	noofquotes = $("#quotes li").size();
	triggerQuote();			   
});

// TRIGGER QUOTE FUNCTION
//
function triggerQuote(){
	$("#quotes li").hide();
	$("#quotes li:eq("+current+")").fadeIn(600).delay(10000).fadeIn(0,triggerQuote);
	previous = current;
	current++;
	if(current > (noofquotes-1)){
		current = 0;
	}
}

