// JavaScript Document

/*--------------------------
  This works in conjunction with the SpryColapsiblePanel.js for this site.
  It is called when the open() method is called on the panel.
  It requires a div or p within the Collapsible Panel that has the id = quotePanel.
*/  

var quoteArray = new Array();
quoteArray[quoteArray.length] = "Winner of the Golden Angel award at the Chinese American Film Festival <br><br> Hollywood, CA<br>";
quoteArray[quoteArray.length] = "&quot;It made me smile for hours afterward.  I can't wait to see it again.&quot; <br><br> Richard - Oak Park, CA<br>";
quoteArray[quoteArray.length] = "A must see for anyone tired of the same old Hollywood fare.<br>";
quoteArray[quoteArray.length] = "&quot;I loved it. Louis did a great job as Gerald.&quot; <br><br> Mark - Lakewood, CO<br>";
quoteArray[quoteArray.length] = "The DVD makes a great gift for the whole family<br>";
quoteArray[quoteArray.length] = "One of the best family friendly movies to come along in years.<br>";
quoteArray[quoteArray.length] = "&quot;I'm definately a fan of Gallagher's humor.&quot; <br><br> Regina - Agoura, CA<br>";
quoteArray[quoteArray.length] = "Special presentation at the Castle Rock Film Festival <br><br>Castle Rock, CO<br>";
quoteArray[quoteArray.length] = "Winner <br>Best Actor<br>for<br>Louis Mandylor<br>plus<br><br>Best Director,<br>and<br>Best Screenplay<br><br>at the Down Beach Film Festival <br><br>Atlantic City, NJ<br>";
quoteArray[quoteArray.length] = "Best Supporting <br>Actress<br>Nominations for<br><br>Deborah Theaker<br>and<br>Mackenzie Firgens<br><br>at the Down Beach Film Festival <br><br>Atlantic City, NJ<br>";
quoteArray[quoteArray.length] = "Winner <br>Best Actor<br>for<br>Louis Mandylor<br>at the <br>Sacramento<br>International<br>Film Festival <br><br>Sacramento, CA<br>";



var curQuoteIdx = 0;

function startQuotes(index) {
	curQuoteIdx = index;
	changeQuoteContent();
}
function changeQuoteContent() {
	document.getElementById("quotePanel").innerHTML = quoteArray[curQuoteIdx];
	if (++curQuoteIdx == quoteArray.length) {
		curQuoteIdx = 0;
	}	
}

