document.write('<table cellpadding="0" border="0" cellspacing="0" width=100%>');

document.write("<tr><td align=right height=35 width=130>&nbsp;</td>");
document.write("<td align=right class=td_black_on_white_italic rowspan=3 width=230 valign=bottom>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grays' Haven</td>");
document.write("<td class=td_blue_on_white_italic rowspan=3 valign=bottom align=left>&nbsp;Bed and Breakfast</td></tr>");

document.write('<tr><td height=10><!--this puts space between the title and the underline--></td></tr></table>');

document.write('<table cellpadding="0" border="0" cellspacing="0" width=100%>');
document.write("<tr><td align=right class=td_black_on_purple height=5></td></tr>");
document.write('<tr><td height=10><!--this puts space between the title and the underline--></td></tr></table>');

document.write('<table cellpadding="0" border="0" cellspacing="0">');
document.write('<tr>');
document.write('<td valign="top">');

/*
Trying to figure out the version of the browser !!
(older browsers cannot handle the way i have set up the buttons)
An example string of navigator.appVersion would be:
4.0 (compatible; MSIE 5.5; Window95)
which means that although the version was orignally 4.0, it can handle 5.5
So I am going to cheat a bit and assume that if I find "5." in the string,
then the browswer is a version 5 or greater.
*/
//var CurrentVersion;
//CurrentVersion = navigator.appVersion;

// Make sure this variable is a string so we can use the search method.
//CurrentVersion = CurrentVersion.toString();

// The search method returns a -1 if no match was found, otherwise it 
// return the index where the text was found.
//var bFoundSpot = CurrentVersion.search("5.");
//if (navigator.appName != "Microsoft Internet Explorer" || (navigator.appName == "Microsoft Internet Explorer" && bFoundSpot == (-1) ) )
if ( navigator.appName == "Microsoft Internet Explorer" || navigator.appName == "Netscape"  )
{
	document.write('<SCRIPT LANGUAGE="JavaScript" FOR="document" EVENT="onkeydown"><!--\nHotKey(0);\n// --></SCRIPT>');
	document.write('<table class="table_bold_xsmall" height="160" width="130" cellpadding="0" cellspacing="0" border="0">');
	document.write('<tr><td id="index" name="index" class="td_main_menu" onmouseover="MainMenuMouseOver(this)" onmouseout="MainMenuMouseOut(this)" onmousedown="MainMenuMouseDown(this)" onmouseup="MainMenuMouseUp(this)">&nbsp;&nbsp;H<u>o</u>me</td></tr>');
	document.write('<tr><td id="room" name="room" class="td_main_menu" onmouseover="MainMenuMouseOver(this)" onmouseout="MainMenuMouseOut(this)" onmousedown="MainMenuMouseDown(this)" onmouseup="MainMenuMouseUp(this)">&nbsp;&nbsp;The <u>R</u>ooms</td></tr>');
	document.write('<tr><td id="info" name="info" class="td_main_menu" onmouseover="MainMenuMouseOver(this)" onmouseout="MainMenuMouseOut(this)" onmousedown="MainMenuMouseDown(this)" onmouseup="MainMenuMouseUp(this)">&nbsp;&nbsp;Infor<u>m</u>ation</td></tr>');
	document.write('<tr><td id="rates" name="rates" class="td_main_menu" onmouseover="MainMenuMouseOver(this)" onmouseout="MainMenuMouseOut(this)" onmousedown="MainMenuMouseDown(this)" onmouseup="MainMenuMouseUp(this)">&nbsp;&nbsp;Rate<u>s</u></td></tr>');
	document.write('<tr><td id="contact" name="contact" class="td_main_menu" onmouseover="MainMenuMouseOver(this)" onmouseout="MainMenuMouseOut(this)" onmousedown="MainMenuMouseDown(this)" onmouseup="MainMenuMouseUp(this)">&nbsp;&nbsp;<u>C</u>ontact Us</td></tr>');
	document.write('</table>');
}
else
{
	document.write('<table "width="130" height="120" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top" align="left"><font face="tahoma" size="2">&nbsp;<br>');
	document.write('<a href="./index.html" target="_self">H<u>o</u>me</a><br>');
	document.write('<a href="./room.html" target="_self">The <u>R</u>ooms</a><br>');
	document.write('<a href="./info.html" target="_self">Infor<u>m</u>ation</a><br>');
	document.write('<a href="./rates.html" target="_self">Rate<u>s</u></a><br>');
	document.write('<a href="./contact.html" target="_self"><u>C</u>ontact Us</a><br>');
	document.write('</font></td></tr></table>');
}


document.write('</td>');
document.write('<td width="20">&nbsp;<!--this puts space between the menu and the rest of the page--></td>');
document.write('<td valign="top" align="left">');
document.write('<table cellpadding="0" cellspacing="0" border="0"><tr><td align="left">');
