
function getLeftTable(theLanguage, logo) 
{ 
  document.write("     <table id='table_logo_menue' width='200'> ");

  document.write("      <tr id='obererAbstand'>");
  document.write("       <td height='30' bgcolor='#264875'>");
  document.write("       </td>");
  document.write("      </tr>");
  document.write("      <tr>");
  document.write("       <td align='center' >");
  document.write("           <a href='index.html'>");
  if( logo == "none" ) {
	document.write("            <img border='0' src='img/empty.gif' height='147' alt='Queen of Sheba Beach Lodge' >");
  } else if( logo == "qos") {
	document.write("            <img border='0' src='img/logo-qos.png' height='147' lt='Queen of Sheba Beach Lodge' >");
  } else {
	document.write("            <img border='0' src='img/logo-santamaria.png' height='147' alt='Santa Maria Coral Park' >");
  }
  document.write("           </a>");
  document.write("       </td>");
  document.write("      </tr>");
  document.write("      <tr>");
  document.write("       <td height='30' bgcolor='#264875'>");
  document.write("       </td>");
  document.write("      </tr>");

  document.write("      <tr>");
  document.write("       <td>");
          getMenue(theLanguage);
  document.write("       </td>");
  document.write("      </tr>");
  document.write("     </table>");
}



function getMenue(theLanguage) 
{ 
  document.write("    <img border='0' src='img/empty.gif' width='200' height='15'><br>");

  if( theLanguage == "de" ) 
  {
    document.write("    <a onMouseOver='MenuHi(2);' onMouseOut='MenuLo(2);' href='santamaria.html'>");
    htmlPrefix="";
  } else{
    document.write("    <a onMouseOver='MenuHi(2);' onMouseOut='MenuLo(2);' href='en_santamaria.html'>");
    htmlPrefix="en_";
  }
  document.write("        <img name='menu2' border='0' src='img/nav/nav_" + theLanguage + "2_l_02.gif' width='200' height='21' alt='Santa Maria Coral Park'></a><br>");
  
  document.write("    <a onMouseOver='MenuHi(10);' onMouseOut='MenuLo(10);' href='" + htmlPrefix + "queenofsheba.html'>");
  document.write("        <img name='menu10' border='0' src='img/nav/nav_" + theLanguage + "2_l_010.gif' width='200' height='21' alt='Queen of Sheba'></a><br>");
  
  document.write("        <br>");
  
  document.write("    <a onMouseOver='MenuHi(1);' onMouseOut='MenuLo(1);' href='" + htmlPrefix + "zanzibar.html'>");
  document.write("        <img name='menu1' border='0' src='img/nav/nav_" + theLanguage + "2_l_01.gif' width='200' height='21' alt='Zanzibar'></a><br>");
  
  document.write("    <a onMouseOver='MenuHi(3);' onMouseOut='MenuLo(3);' href='" + htmlPrefix + "bar.html'>");
  document.write("        <img name='menu3' border='0' src='img/nav/nav_" + theLanguage + "2_l_03.gif' width='200' height='21' alt='Bar &amp; Restaurant'></a><br>");
  
  document.write("    <a onMouseOver='MenuHi(4);' onMouseOut='MenuLo(4);' href='" + htmlPrefix + "strand.html'>");
  document.write("        <img name='menu4' border='0' src='img/nav/nav_" + theLanguage + "2_l_04.gif' width='200' height='21' alt='Beach &amp; Sightseeing'></a><br>");
  
  document.write("    <a onMouseOver='MenuHi(5);' onMouseOut='MenuLo(5);' href='" + htmlPrefix + "preise.html'>");
  document.write("        <img name='menu5' border='0' src='img/nav/nav_" + theLanguage + "2_l_05.gif' width='200' height='21' alt='Prices &amp; Reservation'></a><br>");
  
  document.write("    <a onMouseOver='MenuHi(6);' onMouseOut='MenuLo(6);' href='" + htmlPrefix + "bildergalerie.html'>");
  document.write("        <img name='menu6' border='0' src='img/nav/nav_" + theLanguage + "2_l_06.gif' width='200' height='21' alt='Picture Gallery'></a><br>");
  
  document.write("        <br>");
  
  document.write("    <a onMouseOver='MenuHi(8);' onMouseOut='MenuLo(8);' href='" + htmlPrefix + "links.html'>");
  document.write("        <img name='menu8' border='0' src='img/nav/nav_" + theLanguage + "2_l_08.gif' width='200' height='21' alt='Links'></a><br>");
  
  document.write("    <a onMouseOver='MenuHi(9);' onMouseOut='MenuLo(9);' href='" + htmlPrefix + "impressum.html'>");
  document.write("        <img name='menu9' border='0' src='img/nav/nav_" + theLanguage + "2_l_09.gif' width='200' height='21' alt='Imprint &amp; Contact'></a><br>");

  MenuInit();
  for (a=1;a<=10;a++) {
   menuLimg[a].src = "img/nav/nav_" + theLanguage + "2_l_0"+a+".gif";
   menuHimg[a].src = "img/nav/nav_" + theLanguage + "2_h_0"+a+".gif"; 
  }
  if (menuActive > 0) document['menu'+menuActive].src = menuHimg[menuActive].src;
};


function getRightHeaderRows(theDELink, theENLink) 
{ 

  document.write("    <tr id='obererAbstand'>");
  document.write("     <td height='5' bgcolor='#264875'>");
  document.write("     </td>");
  document.write("    </tr>");
  document.write("    <tr id='Sprachauswahl'>");
  document.write("     <td align='right' bgcolor='#264875'>");
  document.write("      <a href='" + theDELink + "'>");
  document.write("       <img border='0' src='img/flag_de.gif' width='33' height='22' hspace='0' style='margin: 0 6px 0 6px;' alt='Deutsch'></a>");
  document.write("      <a href='" + theENLink + "'>");
  document.write("       <img border='0' src='img/flag_en.gif' width='33' height='22' alt='English'></a>");
  document.write("     </td>");
  document.write("    </tr>");
  document.write("    <tr id='Abstand'>");
  document.write("     <td height='5' bgcolor='#264875'>");
  document.write("     </td>");
  document.write("    </tr>");
  document.write("    <tr id='slideshow'>");
  document.write("     <td width='570'>");
  document.write("      <object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'");
  document.write("         codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='570'");
  document.write("         height='127' id='slideshow_as2' align='middle'>");
  document.write("       <param name='allowScriptAccess' value='sameDomain' />");
  document.write("       <param name='movie' value='slideshow.swf' />");
  document.write("       <param name='quality' value='high' />");
  document.write("       <param name='bgcolor' value='#000000' />");
  document.write("       <param name='wmode' value='opaque' />");
  document.write("       <embed src='slideshow.swf' wmode='opaque' quality='high' bgcolor='#000000' width='570' height='127'");
  document.write("              name='slideshow_as2' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash'");
  document.write("              pluginspage='http://www.macromedia.com/go/getflashplayer' />");
  document.write("      </object>");
  document.write("     </td>");
  document.write("    </tr>");
  document.write("    <tr id='Abstand'>");
  document.write("     <td>");
  document.write("       <img border='0' src='img/empty.gif' height='15'>");
  document.write("     </td>");
  document.write("    </tr>");
}

