function playerChange(var1) {
	
	var text = '';
	text += '<object type="application/x-shockwave-flash" width="400" height="15" data="player/xspf_player_slim.swf?playlist_url=player/' + var1 + '.xspf&autoload=true&autoplay=true&repeat_playlist=true">';
	text += '<param name="movie" value="player/xspf_player_slim.swf?playlist_url=player/' + var1 + '.xspf&autoload=true&autoplay=true&repeat_playlist=true" />';
	text += '</object>';
	text += '<button type="button" style="font-size:75%;color:#991100" onclick="buildSongList()">';
	text += '<u>playlist...</u></button>';
	document.getElementById("player").innerHTML = text;
	
}

function buildHome() {
	
	var text = '';
	text += '<h1>Welcome to Best of Fools</h1>';
	text += '<p><b>We are a Des Moines area alternative rock/jam band.</b></p><br/>';
	text += '<h2>Upcoming...</h2>';
	text += '<p><b>Our next scheduled gig is Indianola Bike Night July 15 at The Garage.<br/>';
	text += 'To schedule us please <button type="button" style="color:#3366FF" onclick="buildContacts()">';
	text += '<b><u>contact us.</u></b></button></a><br/></b></p>';
	text += '<br/><br/><center><table><tr><td>';
	text += '<a href="http://www.myspace.com/theiowaband" target="_blank" ><img src="images/myspace.png" alt="Add us to My Space" height="75" /></a>';
	text += '</td><td>';
	text += '<a href="http://www.facebook.com/pages/Best-of-Fools/260360022021?filter=2" target="_blank" ><img src="images/facebook.png" alt="Add us to Facebook" height="75" /></a>';
	text += '</td></tr></table></center>';
	document.getElementById("content").innerHTML = text;
	
}

function buildTheBand() {
	
	var text = '';
	text += '<h1>The Band</h1>';
	text += '<table align="center"><tr>';
	text += '<td><img src="bandpics/Chris.jpg" width="250" alt="Chris" /><br/>';
	text += '<b>Chris Backstrom</b><br/>Vocals/Lead Guitar<br/><br/></td>';
	text += '<td><img src="bandpics/Lance.jpg" width="250" alt="Lance" /><br/>';
	text += '<b>Lance Richardson</b><br/>Vocals/Bass Guitar<br/><br/></td></tr><tr>';
	text += '<td><img src="bandpics/Brett.jpg" width="250" alt="Brett" /><br/>';
	text += '<b>Brett Upchurch</b><br/>Rhythm Guitar<br/><br/></td>';
	text += '<td><img src="bandpics/Derek.jpg" width="250" alt="Derek" /><br/>';
	text += '<b>Derek Grimm</b><br/>Drums/Percussion<br/><br/></td></tr><tr>';
	text += '<td><img src="bandpics/Corey.jpg" width="250" alt="Corey" /><br/>';
	text += '<b>Corey Dudney</b><br/>Mandolin/Guitar<br/><br/></td>';
	text += '<td><img src="bandpics/David.jpg" width="250" alt="David" /><br/>';
	text += '<b>David Higdon</b><br/>Saxophone<br/><br/></td></tr></table>';
	document.getElementById("content").innerHTML = text;
	
}

function buildSongList() {
	
	var text = '';
	text += '<p style="font-size:25px">Song List</p>';
	text += '<table align="center">';
	text += '<tr><th style="color:#3366FF">Originals<br/></th></tr>';
	text += '<tr><td><b class="song">';
	text += 'Tomorrow\'s Gonna Be Right <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("Tomorrow")\'>..hear this..</button><br/>';
	text += 'Fool\'s Notion <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("FoolsNotion")\'>..hear this..</button><br/>';
	text += 'Rock and Roll <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("RockandRoll")\'>..hear this..</button><br/>';
	text += 'Count Me In <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("CountMeIn")\'>..hear this..</button><br/>';
	text += 'Ain\'t Even Blue <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("AintEvenBlue")\'>..hear this..</button><br/>';
	text += 'Blind Fold <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("BlindFold")\'>..hear this..</button><br/>';
	text += 'Lookin\' back <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("LookinBack")\'>..hear this..</button><br/>';
	text += 'Fire in the Sky <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("FireintheSky")\'>..hear this..</button><br/>';
	text += 'Lookin\' Like That <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("LookinLikeThat")\'>..hear this..</button><br/>';
	text += 'Runaway <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("Runaway")\'>..hear this..</button><br/>';
	text += 'Strange Light <button type="button" style="font-size:75%;color:#991100" onclick=\'playerChange("StrangeLight")\'>..hear this..</button><br/>';
	text += '</b>';
	text += '<b style="font-size:85%">';
	text += 'Crazy<br />';
	text += 'Blues Jam<br/>';
	text += 'Devine<br/>';
	text += 'Night on the Town<br/>';
	text += 'Where Did He Go?<br/>';
	text += '</b></td></tr>';
	text += '</table><br/>';
	text += '<table align="center">';
	text += '<tr><th colspan="2" style="color:#3366FF">Covers</th></tr>';
	var array = [
	["Alice in Chains", "Nutshell"],
	["Allman Brothers", "Midnight Rider"],
	["Ben Harper", "Steal My Kisses"],
	["Bush", "Comedown"],
	["CCR", "Fortunate Son"],
	["Dave Matthews Band", "All Along The Watchtower"],
	["Dave Matthews Band", "Ants Marching"],
	["Dave Matthews Band", "Crash"],
	["Dave Matthews Band", "Typical Situation"],
	["Dave Matthews Band", "Warehouse"],
	["David Lee Murphy", "Dust on the Bottle"],
	["Eagle Eye Cherry", "Save Tonight"],
	["Garth Brooks", "Thunder Rolls"],
	["Johnny Cash", "Folsum Prison"],
	["Johnny Cash", "Personal Jesus"],
	["Led Zeppelin", "Hey Hey What Can I Do"],
	["Live", "Lightning Crashes"],
	["Lynard Skynard", "Sweet Home Alabama"],
	["OAR", "Crazy Game of Poker"],
	["OAR", "Hey Girl"],
	["OASIS", "Wonder Wall"],
	["Seven Mary 3", "Water' Edge"],
	["Spin Doctors", "Two Princes (Go Ahead Now)"],
	["Steppenwolf", "Magic Carpet Ride"],
	["Sublime", "What I Got"],
	["Tom Petty", "Free Fallin'"],
	["Tom Petty", "Last Dance with Mary Jane"],
	["Tom Petty", "Roll Another Joint"],
	["Tonic", "If You Could Only See"],
	];
	var x;
	for (x in array) {
		
		text += '<tr><td class="artist"><b>' + array[x][0] + '</b></td>';
		text += '<td class="song"><b>' + array[x][1] + '</b></td>';
		
	}
	
	text += '</table>';
	text += '<p><b>There are several more not listed but this shows the variety of what we play!</b></p>';
	document.getElementById("content").innerHTML = text;
	
}

function buildSchedule() {
	
	var text = '';
	text += '<h1>Schedule</h1>';
	text += '<p><b>';
	text += 'July 15th: The Garage, Indianola<br/><br/>';
        text += 'August 19th: Sudsuckers, Des Moines<br/><br/>';
	text += 'To schedule us please <button type="button" style="color:#3366FF" onclick="buildContacts()">'
	text += '<b><u>contact us.</u></b></button></a><br/>';
	text += '</b></p>';
	document.getElementById("content").innerHTML = text;
	
}

function buildContacts() {
	
	var text = '';
	text += '<h1>Contacts</h1>';
	text += '<p><b>';
	text += 'Manager: Dan Iano<br/>';
	text += 'Email: DanIano@bestoffools.com<br/>';
	text += 'Phone: (515) 360-5052<br/><br/>';
	text += 'Chris Backstrom email: chris@bestoffools.com<br/>';
	text += '</b></p><p style="color:#3366FF"><b>';
	text += 'If you have any suggestions for the website or any pictures<br/>';
	text += 'you\'d like to see posted email them to webmaster@bestoffools.com<br/>';
	text += '</b></p>';
	document.getElementById("content").innerHTML = text;
	
}
