function showstore()
{	document.getElementById("storetable").style.visibility="visible";}

function hidestore()
{	document.getElementById("storetable").style.visibility="hidden";}

function showus()
{	document.getElementById("ustable").style.visibility="visible";}

function hideus()
{	document.getElementById("ustable").style.visibility="hidden";}

function showcontact()
{	document.getElementById("contacttable").style.visibility="visible";}

function hidecontact()
{	document.getElementById("contacttable").style.visibility="hidden";}

function display(num)
{
  MenuHTML = "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">" +
"  <tr>" +
"    <td>" +
"      <img src=\"images/BobNav_Buttons_01.jpg\" border=\"0\" />" +
"    </td>" +
"    <td>" +
"      <dl class=\"dropdown\">" +
"        <dt><a href=\"delimenu.php\">" +
image(num, "02") +
"            </a></dt>" +
"      </dl>" +
"    </td>" +
"    <td>" +
"      <img src=\"images/BobNav_Buttons_03.jpg\" border=\"0\" />" +
"    </td>" +
"    <td>" +
"      <dl class=\"dropdown\">" +
"        <dt><a href=\"weeklyads.php\">" +
image(num, "04") +
"            </a></dt>" +
"      </dl>" +
"    </td>" +
"    <td>" +
"      <img src=\"images/BobNav_Buttons_05.jpg\" border=\"0\" />" +
"    </td>" +
"    <td>" +
"      <dl class=\"dropdown\" onmouseover=\"showstore()\" onmouseout=\"hidestore()\">" +
"        <dt><a href=\"store.php\">" +
image(num, "06") +
"            </a></dt>" +
"        <dl id=\"storetable\" class=\"dropdownitem\">" +
"          <dd><a href=\"deli.php\">Deli</a></dd>" +
"          <dd><a href=\"meat.php\">Meat</a></dd>" +
"          <dd><a href=\"wine.php\">Wine</a></dd>" +
"          <dd><a href=\"produce.php\">Produce</a></dd>" +
"          <dd><a href=\"grocery.php\">Grocery</a></dd>" +
"          <dd><a href=\"delivery.php\">Delivery</a></dd>" +
"        </dl>" +
"      </dl>" +
"    </td>" +
"    <td>" +
"      <img src=\"images/BobNav_Buttons_07.jpg\" border=\"0\" />" +
"    </td>" +
"    <td>" +
"      <dl class=\"dropdown\" onmouseover=\"showus()\" onmouseout=\"hideus()\">" +
"        <dt><a href=\"aboutus.php\">" +
image(num, "08") +
"            </a></dt>" +
"        <dl id=\"ustable\" class=\"dropdownitem\">" +
"          <dd><a href=\"history.php\">History</a></dd>" +
"          <dd><a href=\"video.php\">Video</a></dd>" +
"          <dd><a href=\"FineCooking.pdf\">Press Release</a></dd>" +
"        </dl>" +
"      </dl>" +
"    </td>" +
"    <td>" +
"      <img src=\"images/BobNav_Buttons_09.jpg\" border=\"0\" />" +
"    </td>" +
"    <td>" +
"      <dl class=\"dropdown\" onmouseover=\"showcontact()\" onmouseout=\"hidecontact()\">" +
"        <dt><a href=\"contactus.php\">" +
image(num, "10") +
"            </a></dt>" +
"        <dl id=\"contacttable\" class=\"dropdownitem\">" +
"          <dd><a href=\"delivery.php\">Home Delivery</a></dd>" +
"        </dl>" +
"      </dl>" +
"    </td>" +
"    <td>" +
"      <img src=\"images/BobNav_Buttons_11.jpg\" border=\"0\" />" +
"    </td>" +
"  </tr>" +
"</table>";
  document.getElementById("Menu").innerHTML = MenuHTML;
}

function image(n, i)
{
  if (n == i)
  {
    string = "<img src=\"images/BobNav_Buttons_" + i + "-sel.gif\" border=\"0\">";
  }
  else
  {
    string = "<img src=\"images/BobNav_Buttons_" + i + ".gif\" border=\"0\" onmouseover=\"src='images/BobNav_Buttons_" + i + "-over.gif'\" onmouseout =\"src='images/BobNav_Buttons_" + i + ".gif'\" onmousedown=\"src='images/BobNav_Buttons_" + i + "-down.gif'\">";
  }
  return string;
}