/*-----------------------------------------------*/
function printTop() {
  var imgPrefix = getImgPrefix();
  var txtPrefix = getTxtPrefix();
  var strGastenboek = getLang() == "en" ? "Guestbook" : "Gastenboek";
  var titleGastenboek = getLang() == "en" ? "New guestbook" : "Nieuw gastenboek";
  var vraagStr = getLang() == "en" ? "Send a question" : "Zend een vraag naar het koor";
  var blogStr = getLang() == "en" ? "To Capella Vocale Blog" : "Naar de Capella Vocale Blog";
  var tblWidth = getTableSize();
  var str =
    '<TABLE cellSpacing="0" cellPadding="0" width="' + tblWidth + '">' +
    ' <TBODY>' +
    '  <TR>' +
    '   <TD align="left" class="logo"><A href="http://www.capellavocale.net/">' +
    '     <IMG alt="Capella Volcale koor homepage" src="' + imgPrefix +
    'capvoclogo.jpg" border="0" height="58" width="71" title="Naar de Capella home pagina"></A></TD>' +
    '   <TD align="right" class="topnav" width="100%">' +
    '    <TABLE cellSpacing="0" cellPadding="0" border="0">' +
    '     <TBODY>' +
    '      <TR valign="bottom">' +
    '       <TD class="topnav" align="right"><img src="' + imgPrefix + 'gastenboek.gif" border="0" align="bottom" title="' + titleGastenboek + '">' +
    '        <A href="http://www.serveconnect.net/cgi-bin/host/firebook.cgi?account=3381" target="_blank" title="' + titleGastenboek + '">' +
             strGastenboek + '</A>&nbsp;</TD>' +
    '       <TD class="topnav" align="right"><img src="' + imgPrefix + 'mail.gif" border="0" align="bottom" title="' + vraagStr + '">' +
    '        <A href="' + txtPrefix + 'vragen.html" title="' + vraagStr + '">Info en vragen</A>&nbsp;&nbsp;&nbsp;</TD>' +
    '       <TD class="topnav" align="right"><img src="' + imgPrefix + 'blog.jpg" border="0" align="bottom" title="Naar de Capella Vocale Blog">' +
    '        <A href="http://capellavocale.blogspot.com/" target="_blank" title="Naar de Capella Vocale Blog">'+ 'BLOG</A>&nbsp;</TD>' +
    '      </TR>' +
    '     </TBODY>' +
    '    </TABLE>' +
    '   </TD>' +
    '  </TR>' +
    ' </TBODY>' +
    '</TABLE>';
  document.write(str);
}
/*-----------------------------------------------*/
function printNavTable(selectedLang) {
  var tblWidth = getTableSize();
  var txtPrefix = getTxtPrefix();
  var str =
    '<TABLE class=navtable cellSpacing="0" cellPadding="4" width="' + tblWidth + '" border="0">' +
    ' <TBODY>' +
    '  <TR>' +
    '   <TD class=nav width="18%">' +
    '    <A onmouseover="hideAll(); showLayer(' + "'voorstelling'" + '); stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'voorstelling.html">Voorstelling koor</A></TD>' +
    '   <TD class=nav width="14%">' +
    '    <A onmouseover="hideAll(); showLayer(' + "'historiek'" + '); stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'historiek.html">Historiek</A></TD>' +
    '   <TD class=nav width="16%">' +
    '    <A onmouseover="hideAll(); stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'programma.html">Programma</A></TD>' +
    '   <TD class=nav width="16%">' +
    '    <A onmouseover="hideAll(); showLayer(' + "'multi'" + '); stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'multi.html">Multimedia</A></TD>' +
    '   <TD class=nav width="16%">' +
    '    <A onmouseover="hideAll(); stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'persmap.html">Persmap</A></TD>' +
    '   <TD class=nav width="16%">' +
    '    <A onmouseover="hideAll(); stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'pers.html">Pers</A></TD>' +
    '  </TR>' +
    ' </TBODY>' +
    '</TABLE>';
  document.write(str);
}
/*-----------------------------------------------*/
function printMenuHolders() {
  var txtPrefix = getTxtPrefix();
  var imgPrefix = getImgPrefix();
  var str =
    //    '<DIV id="programma"></DIV>' +
    '<DIV id="voorstelling">' +
    ' <P class="dropdownnav">' +
    '  <A onmouseover="stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'dirigent.html">&nbsp;' +
    '  <IMG height="9" alt="" src="' + imgPrefix + 'nav_arrow.gif"' +
    '  width="6" border="0">&nbsp;Dirigent&nbsp;</A><BR>' +
    '  <A onmouseover="stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'zangers.html">&nbsp;' +
    '  <IMG height="9" alt="" src="' + imgPrefix + 'nav_arrow.gif"' +
    '  width="6" border="0">&nbsp;Koor &nbsp;</A><br>' +
    '  <A onmouseover="stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'vragen.html">&nbsp;' +
    '  <IMG height="9" alt="" src="' + imgPrefix + 'nav_arrow.gif"' +
    '  width="6" border="0">&nbsp;Info &amp; vragen &nbsp;</A>' +
    ' </P>' +
    '</DIV>' +
    '<DIV id="historiek">' +
    ' <P class="dropdownnav">' +
    '  <A onmouseover="stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'links.html">&nbsp;' +
    '  <IMG height="9" alt="" src="' + imgPrefix + 'nav_arrow.gif"' +
    '  width="6" border="0">&nbsp;Links&nbsp;</A>' +
    ' </P>' +
    '</DIV>' +
    '<DIV id="multi">' +
    ' <P class="dropdownnav">' +
    '  <A onmouseover="stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'muziek.html">&nbsp;' +
    '  <IMG height="9" alt="" src="' + imgPrefix + 'nav_arrow.gif"' +
    '  width="6" border="0">&nbsp;Muzikaal&nbsp;</A><BR>' +
    '  <A onmouseover="stopTime()" onmouseout="startTime()" href="' + txtPrefix + 'fotogallery.html">&nbsp;' +
    '  <IMG height="9" alt="" src="' + imgPrefix + 'nav_arrow.gif"' +
    '  width="6" border="0">&nbsp;In beeld&nbsp;</A>' +
    ' </P>' +
    '</DIV>';
  //    '<DIV id="persmap"></DIV>' +
  //    '<DIV id="pers"></DIV>';
  document.write(str);
}
/*-----------------------------------------------*/
function printLastModified() {
  var tblWidth = getTableSize();
  var str =
    '<TABLE class="modifdate" cellSpacing="0" cellPadding="5" width="' + tblWidth + '">' +
    ' <TBODY>' +
    '  <tr><td class="modifdatetext" align="center" colspan="2"><A href="mailto:bartaf.bogaert@skynet.be">Feedback over deze site</A></td></tr>' +
    '  <TR>' +
    '   <TD class="modifdatetext" align="left" valign="top"><a href="http://www.capellavocale.net/">Home</a></td>' +
    '   <TD class="modifdatetext" align="right">' + printModifDate(); + '</td>' +
    '  </TR>' +
    ' </TBODY>' +
    '</TABLE>';
  document.write(str);
}
/*-----------------------------------------------*/
function printMultiMenu() {
  document.write(
    '<TABLE cellSpacing="0" cellPadding="10" width="100%" border="0">' +
    '  <TBODY>' +
    '    <TR>' +
    '     <TD>' +
    '       <P class="sidenavheading"><A href="./multi.html">Multimedia</A></P>' +
    '       <P class="sidenav">' +
    '         <IMG height="9" src="../img/nav_arrow.gif" alt="" width="6" border="0">&nbsp;<A href="./muziek.html">Muzikaal</A><br>' +
    '         <IMG height="9" src="../img/nav_arrow.gif" alt="" width="6" border="0">&nbsp;<A href="./fotogallery.html">In beeld</A>' +
    '       </p>' +
    '     </TD>' +
    '   </TR>' +
    '   </TBODY>' +
    ' </TABLE>');
}

function printProgrammaMenu() {
  document.write(
    '<TABLE cellSpacing="0" cellPadding="10" width="100%" border="0">' +
    '  <TBODY>' +
    '    <TR>' +
    '     <TD>' +
    '       <P class="sidenavheading"><A href="./programma.html">Programma</A></P>' +
    '       <P class="sidenav">' +
    '        <IMG height="9" src="../img/nav_arrow.gif" alt="" width="6" border="0">&nbsp;Mei: MEImeringen<br>' +
    '        <IMG height="9" src="../img/nav_arrow.gif" alt="" width="6" border="0">&nbsp;December: Kuhnau, Bach e.a.' +
    '      </p>' +
    '     </TD>' +
    '   </TR>' +
    '   </TBODY>' +
    ' </TABLE>');
}
/*-----------------------------------------------*/
function printHistoriekMenu() {
  document.write(
    '<TABLE cellSpacing="0" cellPadding="10" width="100%" border="0">' +
    '  <TBODY>' +
    '  <TR>' +
    '    <TD>' +
    '      <P class="sidenavheading"><A href="./historiek.html">Historiek</A></P>' +
    '      <P class="sidenav">' +
    '        <IMG height="9" src="../img/nav_arrow.gif" alt="" width="6" border="0">&nbsp;<A href="./historiek.html">Historiek</A><br>' +
    '        <IMG height="9" src="../img/nav_arrow.gif" alt="" width="6" border="0">&nbsp;<A href="./links.html">Links</A>' +
    '      </p>' +
    '    </TD>' +
    '  </TR>' +
    '  </TBODY>' +
    '</TABLE>');
}
/*-----------------------------------------------*/
function printVoorstellingMenu() {
  document.write(
    '<TABLE cellSpacing="0" cellPadding="10" width="100%" border="0">' +
    ' <TBODY>' +
    '  <TR>' +
    '    <TD>' +
    '      <P class="sidenavheading"><A href="./voorstelling.html">Voorstelling koor</A></P>' +
    '      <P class="sidenav">' +
    '        <IMG height="9" src="../img/nav_arrow.gif" width="6" border="0">&nbsp;<A href="./dirigent.html">Dirigent</A><br>' +
    '        <IMG height="9" src="../img/nav_arrow.gif" width="6" border="0">&nbsp;<A href="./zangers.html">Koor</A><br>' +
    '        <IMG height="9" src="../img/nav_arrow.gif" width="6" border="0">&nbsp;<A href="./vragen.html">Info &amp; vragen</A>' +
    '      </p>' +
    '    </TD>' +
    '  </TR>' +
    '  </TBODY>' +
    '</TABLE>');
}
/*-----------------------------------------------*/
function printModifDate() {
  var lmDate = new Date(document.lastModified);
  var dateStr = lmDate.toLocaleString();
  var str = '<span class="last">';
  if (dateStr.indexOf("dag") != -1) {
    str += 'Laatste wijziging:';
  } else {
    str += 'Last modification: ';
  }
  str += '&nbsp;' + dateStr + '</span>';
  return(str);
}
/*-----------------------------------------------*/
function printContentTable() {
  var tblWidth = getTableSize();
  document.write('<TABLE class="contenttable" cellSpacing="0" cellPadding="0" width="' + tblWidth + '">');
}
/*-----------------------------------------------*/
function progSubTextChorus(audio, partNo, inputText, perf) {
  document.write('<tr><td width="' + getAuditColSize() + '%" class="progsubtext">' + audio + '</td>' +
                 '<td width="' + getPartNoColSize() + '%" class="progsubtext">' + partNo + '</td>' +
                 '<td class="progsubtext" width="' + getTitleColSize() + '%">Koor - ' + inputText + '</td>' +
                 '<td class="proguitv" width="' + getPerfColSize() + '%">' + perf + '</td></tr>');
}
/*-----------------------------------------------*/
function progSubText(audio, partNo, inputText, perf) {
  document.write('<tr><td width="' + getAuditColSize() + '%" class="progsubtext">' + audio + '</td>' +
                 '<td width="' + getPartNoColSize() + '%" class="progsubtext">' + partNo + '</td>' +
                 '<td class="progsubtext" width="' + getTitleColSize() + '%">' + inputText + '</td>' +
                 '<td class="proguitv" width="' + getPerfColSize() + '%">' + perf + '</td></tr>');
}
/*-----------------------------------------------*/
function progTextBold(audio, partNo, inputText, perf) {
  document.write('<tr><td width="' + getAuditColSize() + '%" class="progsubtext">' + audio + '</td>' +
                 '<td width="' + getPartNoColSize() + '%" class="progsubtext">' + partNo + '</td>' +
                 '<td class="progtextbold" width="' + getTitleColSize() + '%">' + inputText + '</td>' +
                 '<td class="proguitv" width="' + getPerfColSize() + '%">' + perf + '</td></tr>');
}
/*-----------------------------------------------*/
function progText(audio, partNo, inputText, perf) {
  document.write('<tr><td width="' + getAuditColSize() + '%" class="progsubtext">' + audio + '</td>' +
                 '<td width="' + getPartNoColSize() + '%" class="progsubtext">' + partNo + '</td>' +
                 '<td class="progtext" width="' + getTitleColSize() + '%">' + inputText + '</td>' +
                 '<td class="proguitv" width="' + getPerfColSize() + '%">' + perf + '</td></tr>');
}
/*-----------------------------------------------*/
function progSubTextRecit(audio, partNo, inputText, perf) {
  document.write('<tr><td width="' + getAuditColSize() + '%" class="progsubtext">' + audio + '</td>' +
                 '<td width="' + getPartNoColSize() + '%" class="progsubtext">' + partNo + '</td>' +
                 '<td class="progsubtext" width="' + getTitleColSize() + '%">Recitatief - ' + inputText + '</td>' +
                 '<td class="proguitv" width="' + getPerfColSize() + '%">' + perf + '</td></tr>');
}
/*-----------------------------------------------*/
function progSubTextAccomp(audio, partNo, inputText, perf) {
  document.write('<tr><td width="' + getAuditColSize() + '%" class="progsubtext">' + audio + '</td>' +
                 '<td width="' + getPartNoColSize() + '%" class="progsubtext">' + partNo + '</td>' +
                 '<td class="progsubtext" width="' + getTitleColSize() + '%">Accompagnato - ' + inputText + '</td>' +
                 '<td class="proguitv" width="' + getPerfColSize() + '%">' + perf + '</td></tr>');
}
/*-----------------------------------------------*/
function progSubTextChoral(audio, partNo, inputText, perf) {
  document.write('<tr><td width="' + getAuditColSize() + '%" class="progsubtext">' + audio + '</td>' +
                 '<td width="' + getPartNoColSize() + '%" class="progsubtext">' + partNo + '</td>' +
                 '<td class="progsubtext" width="' + getTitleColSize() + '%">Koraal - ' + inputText + '</td>' +
                 '<td class="proguitv" width="' + getPerfColSize() + '%">' + perf + '</td></tr>');
}
/*-----------------------------------------------*/
function progSubTextAria(audio, partNo, inputText, perf) {
  document.write('<tr><td width="' + getAuditColSize() + '%" class="progsubtext">' + audio + '</td>' +
                 '<td width="' + getPartNoColSize() + '%" class="progsubtext">' + partNo + '</td>' +
                 '<td class="progsubtext" width="' + getTitleColSize() + '%">Aria - ' + inputText + '</td>' +
                 '<td class="proguitv" width="' + getPerfColSize() + '%">' + perf + '</td></tr>');
}
/*-----------------------------------------------*/
function programmaDeel(titel, componist) {
  document.write('<span class="progtitle">' + titel + '</span><br><span class="progcomp">' + componist + '</span><br>&nbsp;');
}
/*-----------------------------------------------*/
