/*
 Description: JavaScript to randomly display past storytellers from the Pike Piddlers Stroytelling Festival 
*/

var RndNum = Math.floor(Math.random()*7);
var RndPct = Math.floor(Math.random()*10);

if (RndNum==0) {
	document.write('<center>');
	document.write('<img src="images/225x25_header_storytelling.png" alt="Storyteller" />');
	document.write('</center>');
		if (RndPct > 5) 
		{
			document.write('<img src="images/sidebar/245x180_donald_davis_1.png" alt="Donald Davis" id="sidebar_teller_image"/>');
		}
		else 
		{
			document.write('<img src="images/sidebar/245x180_donald_davis_2.png" alt="Donald Davis" id="sidebar_teller_image"/>');
		}
	document.write('<br />');
	document.write('<br />');
	document.write('The Brundidge Historical Society welcomes Donald Davis, the Dean of Storytelling, to the stage of the We Piddle Around Theater for the sixth time in 2012. ');
	document.write('Friday, Jan. 27, 2012, supper and stories at the We Piddle Around Theater, $25. Saturday, Jan. 28, 2012, concerts at the Trojan Center Theater, 10 a.m. ');
	document.write('and 2 p.m. $10 and $6:30 p.m. $15. all day tickets $30.');
}
else if (RndNum==1) {
	document.write('<center>');
	document.write('<img src="images/225x25_header_storytelling.png" alt="Storyteller" />');
	document.write('</center>');
		if (RndPct > 5) 
		{
			document.write('<img src="images/sidebar/245x180_bil_lepp_1.png" alt="Bil Lepp" id="sidebar_teller_image"/>');
		}
		else 
		{
			document.write('<img src="images/sidebar/245x180_bil_lepp_2.png" alt="Bil Lepp" id="sidebar_teller_image"/>');
		}
	document.write('<br />');
	document.write('<br />');
	document.write('Bil Lepp, the five-time West Virginia Liars Champion, returns to the Pike Piddlers Storytelling Festival in 2012. ');
	document.write('Friday, Jan. 27, 2012, supper and stories at the We Piddle Around Theater, $25. Saturday, Jan. 28, 2012, concerts at the Trojan Center Theater, 10 a.m. ');
	document.write('and 2 p.m. $10 and $6:30 p.m. $15. all day tickets $30.');
}
	
else if (RndNum==2){
	document.write('<center>');
	document.write('<img src="images/225x25_header_storytelling.png" alt="Storyteller" />');
	document.write('</center>');
		if (RndPct > 5) 
		{
			document.write('<img src="images/sidebar/245x180_suzi_whaples.png" alt="Suzi Mama Whaples" id="sidebar_teller_image"/>');
		}
		else 
		{
			document.write('<img src="images/sidebar/245x180_suzi_whaples.png" alt="Suzi Mama Whaples" id="sidebar_teller_image"/>');
		}
	document.write('<br />');
	document.write('<br />');
	document.write('Suzi Mama Whaples makes a first-time appearance at the Pike Piddlers Storytelling Festival. Donald Davis said that &#34;She&#39;s our kind of folks.&#34; ');
	document.write('Friday, Jan. 27, 2012, supper and stories at the We Piddle Around Theater, $25. Saturday, Jan. 28, 2012, concerts at the Trojan Center Theater, 10 a.m. ');
	document.write('and 2 p.m. $10 and $6:30 p.m. $15. all day tickets $30.');
}

else if (RndNum==3){
	document.write('<center>');
	document.write('<img src="images/225x25_header_pbfestival.png" alt="Peanut Butter Festival" />');
	document.write('</center>');
		if (RndPct > 5) 
		{
			document.write('<img src="images/sidebar/245x180_boy_snake.png" alt="Boy With Snake" id="sidebar_teller_image"/>');
			document.write('<br />');
			document.write('<br />');
			document.write('The Annual Peanut Butter Festival Harvest and Heritage Celebration invites everyone ');
			document.write('to come back to the way it used to be. The Peanut Butter Festival is held annually the last Saturday in October ');
			document.write('on the grounds of the historic Bass House. Admission is free.');
		}
		else 
		{
			document.write('<img src="images/sidebar/245x180_outhouse_people.png" alt="Outhouse People" id="sidebar_teller_image"/>');
			document.write('<br />');
			document.write('<br />');
			document.write('The Peanut Butter Festival features a 5K Peanut Butter Run, non-stop entertainment, parade of nutty people and things, ');
			document.write('old-time demonstrations, games, contests and a street dance under the stars. ');
			document.write('Admission is free. Held annually the last Saturday in October. ');
		}
	
}

else if (RndNum==5){
	document.write('<center>');
	document.write('<img src="images/225x25_header_chili_country_christmas.png" alt="Chili Country Christmas" />');
	document.write('</center>');
		if (RndPct > 5) 
		{
			document.write('<img src="images/sidebar/245x180_barbara_bates_smith.png" alt="Barbara Bates Smith" id="sidebar_teller_image"/>');
		}
		else 
		{
			document.write('<img src="images/sidebar/245x180_jeff_sebens.png" alt="Jeff Sebens" id="sidebar_teller_image"/>');
		}
	document.write('<br />');
	document.write('<br />');
	document.write('A Chili Country Christmas warms the heart and stirs memories with an old-fashioned fireside Christmas. ');
	document.write('Barbara Bates Smith thrilled audiences at the We Piddle Around Theater with her performance of Ivy Rowe from <i>Fair and Tender Ladies</i>. ');
	document.write('She returns for performances of &#34;Deck the Halls Southern Style.&#34; She is accompanied by Jeff Sebens on the hammered dulcimer. ');
	document.write('Performances are the first weekend in December. Tickets $20. Supper included. ')
}

else if (RndNum==6){
	document.write('<center>');
	document.write('<img src="images/225x25_header_storytelling.png" alt="Chili Country Christmas" />');
	document.write('</center>');
		if (RndPct > 5) 
		{
			document.write('<img src="images/sidebar/245x180_kevin_kling.png" alt="Barbara Bates Smith" id="sidebar_teller_image"/>');
		}
		else 
		{
			document.write('<img src="images/sidebar/245x180_kevin_kling.png" alt="Jeff Sebens" id="sidebar_teller_image"/>');
		}
	document.write('<br />');
	document.write('<br />');
	document.write('Kevin Kling traveled from Minnesota in 2010 to the Pike Piddlers Storytelling Festival and was so popular folks wanted him to return this year. ');
	document.write('Friday, Jan. 27, 2012, supper and stories at the We Piddle Around Theater, $25. Saturday, Jan. 28, 2012, concerts at the Trojan Center Theater, 10 a.m. ');
	document.write('and 2 p.m. $10 and $6:30 p.m. $15. all day tickets $30.');
}

else {
	document.write('<center>');
	document.write('<img src="images/225x25_header_come_home.png" alt="Peanut Butter Festival" />');
	document.write('</center>');
		if (RndPct > 5) 
		{
			document.write('<img src="images/sidebar/245x180_ch_1.png" alt="Come Home" id="sidebar_teller_image"/>');
		}
		else 
		{
			document.write('<img src="images/sidebar/245x180_ch_2.png" alt="Come Home" id="sidebar_teller_image"/>');
		}
	document.write('<br />');
	document.write('<br />');
	document.write('&#34;Come Home, It&#39;s Suppertime!&#34;, Alabama&#39;s Official Folk Life Play is performed the first two weeks in November and the last two weeks in April. ');
	document.write('The performances feature pre-show music, a family-style, country supper and the two-act folk life play. ');
	document.write('Performances at the We Piddle Around Theater. Tickets are $25. ');
}

