
// get array of quotes
var quotes = new Array();
quotes[0] = "“..empathy, motivation, understanding and managing feelings, being able to get along with others, and self-understanding are the foundational skills… … these skills are just as important as academic skills in explaining success.” Demos, 2009";
quotes[1] = "“I feel motivated and confident to take back all the ideas, activities and games to school and can’t wait to try them with my class.  It has been so uplifting and positive. More of it please!” Secondary TTT Evaluation 2010";
quotes[2] = "“…Quality Circle Time can have a profound impact on the ethos of a school, through enhanced inter and intra personal skills and improved emotional wellbeing of pupils” Education Leeds Website 2010";
quotes[3] = "“This is the best course I’ve ever been on….. from this course I’ve decided I want to get qualified as a teacher as I’ve got so many ideas and want to progress from TA.”  Teaching Assistant Delegate comment 2010";
quotes[4] = "“I feel energised and highly motivated to share this new energy with everyone in my school! I’ve used some of Jenny’s ideas with my own children and have had stress and nagging-free mornings as a result!” Teacher Delegate 2010";
quotes[5] = "“…amongst schools identified as being very successful at re-engaging disaffected and reluctant secondary pupils, an adapted curriculum that involved Quality Circle Time, amongst other initiatives, was most common.” Ofsted 2008";
quotes[6] = "“It has been very encouraging to hear, from many witnesses, of the success of Jenny Mosley’s work in improving good schools and ‘turning round’ those in difficulty”  The Elton Report HMSO";
quotes[7] = "“To me, perhaps the most appealing aspect of the Quality Circle Time model is this notion of young people being given time explicitly to socialise with each other”  Lord Puttnam CBE"

// show function
function showQuote ()
{
	// check counter
	counter < quotes.length-1 ? ++counter : counter = 0;
	// fade out, update, fade in
	// new Effect.Fade('Quote',{duration:0.5,afterFinish:function(){Element.update ('Quote',quotes[counter]);Effect.Appear('Quote');}});
	new Effect.Fade('Quote',{duration:0.5,afterFinish:callBack});
	// callback
	function callBack ()
	{
		Element.update ('Quote',quotes[counter]);
		Effect.Appear('Quote');
	}
}
// counter
var counter = 1;
// set time out
setInterval( showQuote, 10000 );
