function doTopBar(greeting, buttonname, detail)
{
document.write('<table width="800" height="190" align="left" valign="top" background="images/TopStrip.jpg" style="background-repeat: no-repeat;" border="0">');
// One row 2 columns
document.write('<tr><td align="left" width="183" height="152">&nbsp;</td>');
document.write('<td width="523" align="center" valign="top">');
document.write('<table width="600" height="139" valign="top" align="center">');
document.write('<tr valign="bottom">');
document.write('<td height="44"><div valign="middle" align="center" class="style2">&nbsp;');
document.write('</div></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td height="20" class="style3"><div align="left">'  + greeting + '<span class="style2">&nbsp;&nbsp;&nbsp;' + detail + '</span></div></td><td align="right"><span class="style10"><a href="memberlogin.php">Member Log In /</a><a href="logout.php"> Log Out &nbsp;&nbsp;&nbsp;</a><br /><a href="register.php">Mailing List&nbsp;&nbsp;&nbsp;&nbsp;</a></span></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td height="45" colspan="2">');
document.write('<table align="center" width="600" height="40" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr height="35">');

if(buttonname=="Home")
	document.write('<td width="80" background="images/BlankButtonRed.jpg" class="SelectedButtonText" name="Home"><div align="center" class="SelectedButtonText">Home</div></td>');
else
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="ButtonText" name="Home"><div align="center"><a href="index.htm">Home</a></div></td>');

if(buttonname=="Jazz")
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="SelectedButtonText" name="Jazz"><div align="center">Listen</div></td>');
else
	document.write('<td width="80" background="images/BlankButtonRed.jpg" class="ButtonText" name="Jazz"><div align="center"><a href="jazz.php">Listen</a></div></td>');

if(buttonname=="Events")
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="SelectedButtonText" name="Events"><div align="center">Events</div></td>');
else
	document.write('<td width="80" background="images/BlankButtonRed.jpg" class="ButtonText" name="Events"><div align="center"><a href="events.htm">Events</a></div></td>');

if(buttonname=="Links")
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="SelectedButtonText" name="Links"><div align="center">Links</div></td>');
else
	document.write('<td width="80" background="images/BlankButtonRed.jpg" class="ButtonText" name="Links"><div align="center"><a href="links.htm">Links</a></div></td>');
	
if(buttonname=="Photos")
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="SelectedButtonText" name="Photos"><div align="center">Photos</div></td>');
else
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="ButtonText" name="Photos"><div align="center"><a href="photos.htm">Photos</a></div></td>');

if(buttonname=="Articles")
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="SelectedButtonText" name="Articles"><div align="center">Articles</div></td>');
else
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="ButtonText" name="Articles"><div align="center"><a href="articles.htm">Articles</a></div></td>');

if(buttonname=="Order")
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="SelectedButtonText" name="Store"><div align="center">Shop</div></td>');
else
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="ButtonText" name="Store"><div align="center"><a href="store.htm">Shop</a></div></td>');
	
if(buttonname=="Join")
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="SelectedButtonText" name="Join"><div align="center">Join</div></td>');
else
	document.write('<td width="80"  background="images/BlankButtonRed.jpg" class="ButtonText" name="Join"><div align="center"><a href="join.htm">Join</a></div></td>');
	
document.write('</tr>');

if(buttonname=="Home")
{
	
	document.write('<tr><td colspan="8">&nbsp;</td></tr><tr>');	
	document.write('<td height="32" width="150" colspan="2">&nbsp;</td>');
	document.write('<td height="32" width="150" colspan="2" background="images/BlankButtonRed2X.jpg" class="ButtonText"><div align="center"><a href="whoweare.htm">About Us</a></div></td>');
	document.write('<td height="32" width="150" colspan="2" background="images/BlankButtonRed2X.jpg" class="ButtonText"><div align="center"><a href="history.htm">History</a></div></td>');
	document.write('<td height="32" width="150" colspan="2" background="images/BlankButtonRed2X.jpg" class="ButtonText"><div align="center"><a href="archive.htm">Archive</a></div></td>');
	document.write('</tr>');
	//document.write('</tr></table></td></tr>');	
}

document.write('</table>');
document.write('</td>');
document.write('</tr>');

document.write('</table>');
document.write('</td>');
document.write('</tr>');

document.write('</table>');

}