window.addEvent('domready', function(){

	var period = 10000;

	new randomQuote;

	randomQuote.periodical(period + 3000);

});



/*

var q0 = new Array('"Thanks to Tracey Hoyt and pirate voice, I went from knowing nothing about voice work to landing an agent and booking gigs in less 	than a year. I’ve got a lot to thank them for.”', 'Todd Van Allen: Comedian, Writer, Voice Actor and pirate voice private coaching client');

var q1 = new Array('"I found it an extremely helpful class that made me eager to go out and audition."','Sarah White: Actor and pirate voice overhaul student');

var q2 = new Array('"Tracey was so informative and made me feel that I was a peer rather than a student, which was amazing."','Joanne Boland: Actor and pirate voice overhaul student.');

var q3 = new Array('"This is the kind of self improvement that people who understand the voice-over business should and will consider a wise investment.”','Mike Hanson: Voice Actor, pirate voice overhaul and pirate voice dialogue student');

var q4 = new Array('"A great introductory course for anyone who’s ever considered getting into the business."','Michelle Bustos:  pirate voiceover 101 student');

var q5 = new Array('"I enjoyed how at ease Tracey made me feel and the feedback and guidance she gave us. I was set in the right direction."','Meghan Kinnear: pirate voiceover 101 student');

*/



var q0 = new Array('“Thanks for the varied script selection, superb direction and positive environment. I know what I have to fine tune for the demo.”',

'John Mein: pirate voice private coaching client');



var q1 = new Array('“One of the most valuable parts of the private lesson for me was the critique that Tracey wrote. I was able to show that to my agent and make a plan on how to start my career as a voice actor.”', 'Husein Madhavji: pirate voice private coaching client');



var q2 = new Array('“I learned more in those 3 hours than I would have thought possible!”','James Andrews: pirate voice private coaching client');

 

var q3 = new Array('“I really do feel that the reel is as good as it is thanks to Tracey\'s direction and instincts, and Spencer Hall\'s deft hands at the controls. Money well spent? I have never made a better investment.”', 'James Andrews: pirate voice reel client');



var q4 = new Array('“Any voice over actor looking to add an edge, or intangible to their reel would be wise to work with Tracey Hoyt. She is without doubt…one of the best.”', 'Jim Van Horne: pirate voice reel client');



var q5 = new Array('“The comfort gained in the continuity of working with the same “excellent” voice director from overhaul to reel translated in the quality of my demo. I felt relaxed, confident and professional…working amongst peers!”', 'Tedd Dillon: pirate voice reel client');

 

var q6 = new Array('“As someone coming with little knowledge of the industry, I was blown away at what I learned and how comfortable it was to do so.”', 'Jason Moir: pirate voiceover 101 student');



var q7 = new Array('“Very informative day. I learned so much and will never listen to the radio the same way again!”', 'Tania Barbe: pirate voiceover 101 student');



var q8 = new Array('“Inspiring as a call to action.”',  'Chris Cornish: pirate voiceover 101 student');



var q9 = new Array('“Tracey’s energy, expertise and ability to encourage the best in people make the day a good experience and a worthwhile investment.”', 'Patricia McCowan: pirate voiceover 101 student');



var q10 = new Array('“What a fabulous intro to an incredible field. Thank you for a truly unique experience.”','Mary-Anne Altas: pirate voiceover 101 student');



var q11 = new Array('“This workshop provided a wealth of information and was a great experience - most importantly, it was a safe environment in which I might see whether I really had what it took to get behind a mic for money one day.“', 'James Andrews: pirate voiceover 101 student');



var q12 = new Array('“Honestly, I’ve taken a lot of classes over the years but this one was one of the clearest and most concise. A truly well oiled machine!”', 'Jameson Kraemer: pirate voice overhaul student');



var q13 = new Array('“ Tracey’s tips on approaching the copy added clarification to the audition process.”', 'Camille James: pirate voice overhaul student');



var q14 = new Array('“Tracey offers great insight, wisdom and tools in her class. I’ve definitely upped my game.”', 'Carin Moffat: pirate voice overhaul student');



var q15 = new Array('"One of the most important things I learned from the overhaul class is that there is art in advertising. Thanks, Tracey and thanks, pirate voice!  What a great lesson to have learned!"', 'Jenny Hall: pirate voice overhaul student');



var q16 = new Array('“I bumped up my performance level in a few short hours. My confidence level increased and I had fun!”', 'Marjorie Malpass: pirate voice overhaul student');



var q17 = new Array('“This class made me feel confident and excited to audition. It allowed me to hone my strengths in this field.”', 'Susanna Fournier: pirate voice overhaul student');



var q18 = new Array('"Tracey’s generous feedback will be very helpful when I put together a new demo.  She also gave me constructive feedback on my current one. Tracey is honestly one of the best teachers I\'ve ever had - so full of enthusiasm and incredible knowledge.”', 'Rhea Akler: pirate voice overhaul student');



var q19 = new Array('"The session is geared to you and your goals, you work hard on them, and the follow-up materials help you continue to work after the session is over. One evening session with Tracey blew my mind - I think I could have studied with her for months. Very, very highly recommended!”', 'Damien Atkins: pirate voice private coaching client');



var q20 = new Array('"This was just what I needed: a concentrated studio experience with different types and styles of spots, with efficiency and spot-on feedback."');



var quotes = new Array(q0,q1,q2,q3,q4,q5,q6,q7,q8,q9,q10,q11,q12,q13,q14,q15,q16,q17,q18,q19,q20);



function randomQuote(){



	/*Quote and Author  -- Start out as Empty Divs*/

	var q = $('quote');

	var qa = $('quotes');	

	var l = quotes.length;

	l=l-1;

	newQuote(q, qa, l);

};



function fadeOut(e){

	e.set('tween', {duration: '1500'});

	e.fade('out');

	

};



function fadeIn(e){

	e.set('tween', {duration: '1500'});

	e.fade('in');

	fadeOut.delay(10000, this, e);

};



function newQuote(q, qa, l){

	var rand = $random(0, l);

	

	qa.set('text', quotes[rand][1]);

	q.set('text', quotes[rand][0]);

	

	qa.setStyle('opacity', 0.0 );

	q.setStyle('opacity', 0.0 );

	

	fadeIn(q);

	fadeIn(qa);

	

};




