function menuMain()
{
   var zelle;
   var submen;

<!-- Haupt-Menüpunkt Start -->
   document.write ('<table height="25" width="100%" border="0" class="menutab">');
   document.write ('<tr><td class="menutd" width="20%">');
   document.write ('<a href="javascript:show2frames (\'/main.html\')" ' +
      'class="navilink" onmouseover="menuHigh(this)">Start</a></td>');

<!-- Haupt-Menüpunkt Haus -->
   document.write ('<td class="menutd" width="20%">');
   document.write ('<a href="javascript:show2frames (\'/haus/index.html\', \'/haus/prev.html\')" ' +
      'class="navilink" onmouseover="menuHigh(this)">Haus</a></td>');

<!-- Haupt-Menüpunkt Freizeitangebot -->
   document.write ('<td class="menutd" width="20%" id="freizeit1">');
   document.write ('<span class="navilink" onmouseover="menuHigh(this)">Freizeitangebot...</span></td>');

<!-- Haupt-Menüpunkt Preise -->
   document.write ('<td class="menutd" width="20%">');
   document.write ('<a href="javascript:show2frames (\'/preise/index.html\')" ' +
         'class="navilink" onmouseover="menuHigh(this)">Preise</a></td>');

<!-- Haupt-Menüpunkt Kleinwalsertal -->
   document.write ('<td class="menutd" width="20%" id="kwt1">');
   document.write ('<span class="navilink" onmouseover="menuHigh(this)">Videos/Bilder...</span></td>');
   document.write ('</tr></table>');

<!-- Submenü Freizeit -->
   document.write ('<div class="submenue" onmouseout="menuLow(this)" id="sub2">');
   document.write ('<a href="javascript:show2frames (\'/freizeit/winter/index.html\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">im Winter</a><br>');
   document.write ('<a href="javascript:show2frames (\'/freizeit/sommer/index.html\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">im Sommer</a><br>');
   document.write ('</div>');
   zelle = document.getElementById ('freizeit1');
   submen = document.getElementById ('sub2');
   submen.style.left = 10+document.body.clientWidth / zelle.parentNode.cells.length * zelle.cellIndex;

<!-- Submenü Kleinwalsertal -->

   document.write ('<div class="submenue" onmouseout="menuLow(this)" id="sub4">');
   document.write ('<a href="javascript:show2frames (\'/kwt/vwl/bild.html?1\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">Winter&nbsp;Wonderland</a><br>');
   document.write ('<a href="javascript:show2frames (\'/kwt/vwl/bild.html?2\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">Winterspaß&nbsp;Familie</a><br>');
   document.write ('<a href="javascript:show2frames (\'/kwt/vwinter/index.html\', \'/kwt/vwinter/prev.html\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">Wintervideos</a><br>');
   document.write ('<a href="javascript:show2frames (\'/kwt/vsommer/index.html\', \'/kwt/vsommer/prev.html\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">Sommervideos</a><br>');
   document.write ('<a href="javascript:show2frames (\'/kwt/winter/index.html\', \'/kwt/winter/prev.html\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">Winterbilder</a><br>');
   document.write ('<a href="javascript:show2frames (\'/kwt/sommer/index.html\', \'/kwt/sommer/prev.html\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">Sommerbilder</a><br>');
   document.write ('<a href="javascript:show2frames (\'/kwt/hist/index.html\', \'/kwt/hist/prev.html\')" ' +
      'class="navilink" onmouseover="subHigh(this)" onmouseout="subLow(this)">in alter Zeit</a><br>');
   document.write ('</div>');
   zelle = document.getElementById ('kwt1');
   submen = document.getElementById ('sub4');
   submen.style.left = 10+document.body.clientWidth / zelle.parentNode.cells.length * zelle.cellIndex;
}

function menuHigh(m)
{
   var mainmen;
   var submen;
   var mencnt;

   mainmen = m.parentNode.parentNode;
   for (mencnt = 1; mencnt <= mainmen.cells.length; mencnt++)
   {
      mainmen.cells[mencnt-1].firstChild.style.fontWeight = 'normal';
      mainmen.cells[mencnt-1].firstChild.style.textDecoration = 'none';

      submen = document.getElementById ('sub' + mencnt);
      if (submen)
         submen.style.visibility = 'hidden';
   }

   m.style.fontWeight = 'bold';
   if (m.tagName == 'A')
      m.style.textDecoration = 'underline';

   submen = document.getElementById ('sub' + m.parentNode.cellIndex);
   if (submen)
      submen.style.visibility = 'visible';
}


function menuLow(m)
{

}

function subHigh(m)
{
   m.style.fontWeight = 'bold';
   m.style.textDecoration = 'underline';
}

function subLow(m)
{
   m.style.fontWeight = 'normal';
   m.style.textDecoration = 'none';
}
