//Header table, English

document.write('\
<table class="header_table" cellspacing="0" border="0">\
  <tr>\
    <td class="lhcell">\
    <img src="../images/common/flag_en.gif" alt="English" />\
    </td>\
    <td class="mhcell">\
    <a class="icon" href="index_en.htm">\
    <img src="../images/common/logo_en.gif" alt="English Logo" title="Front Page"/></a>\
    </td>\
    <td class="rhcell">\
    <!--LOGO-->\
    </td>\
  </tr>\
</table>\
<!-- body table -->\
<table class="body_table" cellspacing="0" border="0">\
  <tr>\
    <td class="lbcell">')

//Language and style with drop down menus side by side

document.write('<div id="langStyleSelect"></div>')
function changeLanguage(xx) {document.location = '../pages_' + xx + '/' + prefix + xx + '.' + extens}
function showActualLang(zz) {if (suffix == zz) {yy = 'selected="selected"';} else {yy = '';} return yy;}
function showActualStyle(ss) {if (title == ss) {yy = 'selected="selected"';} else {yy = '';} return yy;}
kode = '<form action="">';
kode +='<select id="langList" style="width: 94px; margin-right: 10px" onchange="changeLanguage(value)">';
kode +='<option value="en"' + showActualLang('en') + '>English</option>';
kode +='<option value="da"' + showActualLang('da') + '>Dansk</option>';
kode +='</select>';
kode +='<select id="styleList" style="width: 94px" onchange="setActiveStyleSheet(value); return false;">';
kode +='<option value="s1"' + showActualStyle('s1') + '>Yellow</option>';
kode +='<option value="s2"' + showActualStyle('s2') + '>Blue</option>';
kode +='<option value="s3"' + showActualStyle('s3') + '>Grey</option>';
kode +='<option value="s4"' + showActualStyle('s4') + '>Black</option>';
kode +='</select>';
kode +='</form>';
element = document.getElementById("langStyleSelect");
element.innerHTML = kode;

//Google search on this site

document.write('\
<form method="get" action="http://www.google.com/search">\
  <input type="hidden" name="ie" value="utf-8"/>\
  <input type="hidden" name="oe" value="utf-8"/>\
  <input type="text" name="q" size="18" maxlength="255" value=""/>\
  <input type="submit" name="btng" value="Search" style="width: 60px"/>\
  <input type="hidden" name="domains" value="www.ssweb.dk/pages_en/"/><br/>\
  <input type="radio" name="sitesearch" value=""/> WWW \
  <input type="radio" name="sitesearch" value="www.ssweb.dk/pages_en/" checked="checked"/> These pages <br/>\
</form>')

/*Yahoo! Search on this site

document.write('\
<form method=get action="http://search.yahoo.com/search">\
<input type="text" name="p" size="18" maxlength="255" value=""/>\
<input type="hidden" name="fr" value="yscpb"> \
<input type="submit" value="Search" style="width: 60px"><br>\
<input type="radio" name="vs" value="" id="ysvs0" style="vertical-align: middle">\
<label for=ysvs0> WWW </label>\
<input type="radio" name="vs" id="ysvs1" style="vertical-align: middle" value="www.ssweb.dk" checked="checked" >\
<label for=ysvs1> These pages </label>\
</form>')
*/

//Main menu, English

document.write('\
<h4>Contents:</h4>\
<ul>\
<li><a class="menu" href="index_en.htm">Front Page</a></li>\
<li><a class="menu" href="sitemap_en.htm">Site Map</a></li>\
<li><a class="menu" href="bikes_en.htm">Motorbikes</a></li>\
<li><a class="menu" href="diving_en.htm">Diving</a></li>\
<li><a class="menu" href="travels_en.htm">Travels</a></li>\
<li><a class="menu" href="photo_en.htm">Photography</a></li>\
<li><a class="menu" href="webdesign_en.htm">WEB Design</a></li>\
<li><a class="menu" href="denmark_en.htm">Life in Denmark</a></li>\
<li><a class="menu" href="personal_en.htm">Personal Data</a></li>\
<li><a class="menu" href="guestbook_en.php">Guest Book</a></li>\
<li><a class="menu" href="sale_en.htm">For Sale</a></li>\
<li><a class="menu" href="back_en.htm">Back Page</a></li>\
</ul>')

document.write('\
<h4>Guestbook:</h4>\
<div style="position:relative; left:30px"><a class="icon" href="guestbook_en.php">\
<img src="../images/common/book.gif" alt="Book" title="Guestbook"/></a></div>')

/*
document.write('<br/><br/>\
<div style="position:relative; left:15px">\
<img src="../images/common/christmas//candles_1.gif" alt="Candles" title="Candles" width="160px"></div>')
*/

document.write('\
    </td>\
    <td class="mbcell">')
