<!--

   var bgcolor = '#006600';
   var whiteCell = 'White';
   var ltgreenCell = 'LightGreen';
   var greenCell = '#009900';


function lastUpdated()
{
   modDate = new Date(document.lastModified);
   if (navigator.userAgent.indexOf("Opera") != -1) {
      var fileDate = document.lastModified.substring(5,7);
      fileDate = fileDate + "." + document.lastModified.substring(8,11);
      fileDate = fileDate + "." + document.lastModified.substring(14,16);
      fileDate = fileDate + ",&nbsp;&nbsp;" + document.lastModified.substring(17,25);
      //return fileDate;
      var fileDate;
      fileDate = ".20" + modDate.getYear()
      fileDate = fileDate.substring(4,6);
      fileDate = modDate.getDate() + "." + (modDate.getMonth()+1) + ".20" + fileDate;
      return fileDate;
	  }
   else if (navigator.userAgent.indexOf("MSIE 4") != -1) {
      var fileDate = document.lastModified.substring(3,5);
      fileDate = fileDate + "." + document.lastModified.substring(0,2);
      fileDate = fileDate + "." + document.lastModified.substring(6,8);
      fileDate = fileDate + ",&nbsp;&nbsp;" + document.lastModified.substring(9,17);
      //return fileDate;
      return modDate.getDate() + "." + (modDate.getMonth()+1) + "." + modDate.getYear();
      }
   else if (navigator.userAgent.indexOf("MSIE 5") != -1) {
      var fileDate = document.lastModified.substring(3,5);
      fileDate = fileDate + "." + document.lastModified.substring(0,2);
      fileDate = fileDate + "." + document.lastModified.substring(8,10);
      fileDate = fileDate + ",&nbsp;&nbsp;" + document.lastModified.substring(11,19);
      //return fileDate;
      return modDate.getDate() + "." + (modDate.getMonth()+1) + "." + modDate.getYear();
      }
   else if (navigator.userAgent.indexOf("Mozilla/4") != -1) {
      var fileDate = document.lastModified.substring(document.lastModified.indexOf(",")+2,99);
      var modMonth = fileDate.substring(0,fileDate.indexOf(" "));
      var modDay = fileDate.substring(fileDate.indexOf(" "),fileDate.indexOf(","));
      var modYear = fileDate.substring(fileDate.indexOf(",")+2,99);
      var modTime = modYear.substring(modYear.indexOf(" "),99);
      modYear = modYear.substring(0,modYear.indexOf(" "));
      fileDate = modDay + "." + modMonth + " " + modYear + ",&nbsp;&nbsp;" + modTime;
      //return fileDate;
      return modDate.getDate() + "." + (modDate.getMonth()+1) + "." + modDate.getYear();
      }
   else if (navigator.userAgent.indexOf("Mozilla/5") != -1) {
      var fileDate = document.lastModified.substring(document.lastModified.indexOf(",")+2,99);
      var modMonth = fileDate.substring(0,fileDate.indexOf(" "));
      var modDay = fileDate.substring(fileDate.indexOf(" "),fileDate.indexOf(","));
      var modYear = fileDate.substring(fileDate.indexOf(",")+2,99);
      var modTime = modYear.substring(modYear.indexOf(" "),99);
   //alert (document.lastModified);
      modYear = modYear.substring(0,modYear.indexOf(" "));
      fileDate = modDay + "." + modMonth + " " + modYear + ",&nbsp;&nbsp;" + modTime;
      //return fileDate;
      return modDate.getDate() + "." + (modDate.getMonth()+1) + "." + modYear;
      }
   else {
      var fileDate = document.lastModified;
      return fileDate;
      }
}


function webMaster()
{
   return '<A HREF="mailto:webmaster@jagdundwild.de"><FONT STYLE="Font-Size:7pt">webmaster@jagdundwild.de</FONT></A>';
}


function y2kDaysLeft()
{
   var firstDay = new Date("January 1, 2000");
   var today = new Date();
   var diffSecs = firstDay.getTime() - today.getTime();
   var days = Math.floor(diffSecs / (1000 * 60 * 60 * 24));
   if (days > 1)
      return days + " Tage"
   else if (days == 1)
      return "Nur noch zwei Tage!"
   else if (days == 0)
      return "Morgen ist das Jahr 2000!"
   else
      return "Schon da!"
}


function copyrightText()
{
   return "Copyright &copy; 2009<BR>by Joachim Barthel<BR>Alle Rechte <BR>vorbehalten."
}


function actualMonth()
{
   var today = new Date();
   var actMonth = today.getMonth() + 1;

   return "_" + actMonth;
}


function nextMonth()
{
   var today = new Date();
   var actMonth = today.getMonth() + 1;

   if (actMonth == 12)
      return "_1";
   else {
      actMonth++;
      return "_" + actMonth;
      }
}

function prevMonth()
{
   var today = new Date();
   var actMonth = today.getMonth() + 1;

   if (actMonth == 1)
      return "_12";
   else {
      actMonth--;
      return "_" + actMonth;
      }
}


function htHeader(currMonth)
{
   var monthName = new Array("null", "Januar", "Februar", "M&auml;rz",
                               "April", "Mai", "Juni",
                               "Juli", "August", "September",
                               "Oktober", "November", "Dezember");
   var prevMonth;
   var nextMonth;
   var txtHeader = '<TABLE cellspacing="1" cellpadding="1" BORDER="1" bgcolor="' + bgcolor + '">';

   if (currMonth == 1)
      prevMonth = 12
   else
      prevMonth = currMonth - 1;
   if (currMonth == 12 )
      nextMonth = 1
   else
      nextMonth = currMonth + 1;
   txtHeader = txtHeader + '<TR>';
   txtHeader = txtHeader + '<TD align="center" bgcolor="' + whiteCell + '">&nbsp;</TD>';
   txtHeader = txtHeader + '<TD align="center" bgcolor="' + whiteCell + '"><B><a href="jagdzeiten_' + prevMonth + '.html">&lt; ' + monthName[prevMonth]  + '&nbsp;</a></B></TD>';
   txtHeader = txtHeader + '<TD align="center" colspan=2 bgcolor="' + greenCell + '"><FONT color="' + whiteCell + '"><B>&nbsp;' + monthName[currMonth]  + '&nbsp;</B></FONT></TD>';
   txtHeader = txtHeader + '<TD align="center" bgcolor="' + whiteCell + '"><B><a href="jagdzeiten_' + nextMonth + '.html">&nbsp;' + monthName[nextMonth]  + ' &gt;</a></B></TD>';
   txtHeader = txtHeader + '</TR>';

   return txtHeader;
}

function checkPhase (startDate, endDate, currMonth)
{
   var firstDate;
   var lastDate;
   var actDate;
   var startDay = startDate.substring(0,2);
   var startMonth = startDate.substring(3,5);
   var endDay = endDate.substring(0,2);
   var endMonth = endDate.substring(3,5);

   firstDate = new Date('2004', startMonth, startDay);
   lastDate = new Date('2004', endMonth, endDay);
   actDate = new Date('2004',currMonth,'02');

   if (firstDate > lastDate) {
      firstDate = new Date('2003', startMonth, startDay);
      }
   if (actDate > lastDate) {
      actDate = new Date('2003', currMonth, '02');
      }

   if ( (firstDate < actDate) && (lastDate > actDate) )
      return 'OK'
   else
      return '---';
}

function htBlockHeader (typWild)
{
   var blockHeader;

   blockHeader =  '<TR>';
   blockHeader = blockHeader + '<TD colspan=5><FONT color="white"><B>' + typWild + '</B></FONT></td>';
   blockHeader = blockHeader + '</TR>';

   return blockHeader;
}

function htBlockSection (typTier, startDate, endDate, currMonth)
{
   var txtBlockSection = '';

   if (checkPhase( startDate, endDate, currMonth ) == 'OK') {
      txtBlockSection = '<TR>';
      txtBlockSection = txtBlockSection + '<TD bgcolor="white">&nbsp;&nbsp;&nbsp;' + typTier + '&nbsp;</TD>';
      txtBlockSection = txtBlockSection + '</TR>';
   }

   return txtBlockSection;
}

function htBlock (typLand, typWild, currMonth)
{
   var txtBlock = '';

//   switch (typLand) {
//      case 'BY':
//         {

         switch (typWild) {
            case 'Rotwild':
               {
               if (checkPhase( '01.06.', '31.01.', currMonth ) == 'OK') {
                  txtBlock = txtBlock + htBlockHeader(typWild);
                  txtBlock = txtBlock + htBlockSection('Hirsche', '01.08.', '31.01.', currMonth);
                  txtBlock = txtBlock + htBlockSection('Alttiere', '01.08.', '31.01.', currMonth);
                  txtBlock = txtBlock + htBlockSection('Schmalspie&szlig;er', '01.06.', '31.01.', currMonth);
                  txtBlock = txtBlock + htBlockSection('Schmaltiere', '01.06.', '31.01.', currMonth);
                  txtBlock = txtBlock + htBlockSection('K&auml;lber', '01.08.', '31.01.', currMonth);
                  }
               }
               break;

            case 'Rehwild':
               {
               if (checkPhase( '01.05.', '15.01.', currMonth ) == 'OK') {
                  txtBlock = txtBlock + htBlockHeader(typWild);
                  txtBlock = txtBlock + htBlockSection('B&ouml;cke', '01.05.', '15.10.', currMonth);
                  txtBlock = txtBlock + htBlockSection('Gei&szlig;en', '01.09.', '15.01.', currMonth);
                  txtBlock = txtBlock + htBlockSection('Schmalrehe', '01.05.', '15.01.', currMonth);
                  txtBlock = txtBlock + htBlockSection('Kitze', '01.09.', '15.01.', currMonth);
                  }
               }
               break;

            case 'Schwarzwild':
               {
               if (checkPhase( '01.01.', '31.12.', currMonth ) == 'OK') {
                  txtBlock = txtBlock + htBlockHeader(typWild);
                  txtBlock = txtBlock + htBlockSection('Keiler', '16.06.', '31.01.', currMonth);
                  txtBlock = txtBlock + htBlockSection('Bachen', '16.06.', '31.01.', currMonth);
                  txtBlock = txtBlock + htBlockSection('&Uuml;berl&auml;ufer', '01.01.', '31.12.', currMonth);
                  txtBlock = txtBlock + htBlockSection('Frischlinge', '01.01.', '31.12.', currMonth);
                  }
               }
               break;
            }


//         break;
//      }

   return txtBlock;
}

function htFooter()
{
   var txtFooter = '</TABLE>';
   return txtFooter;
}

function monthTable()
{
   var month = 5;
   var txtTable;

   txtTable = htHeader(month);
   txtTable = txtTable + htBlock('BY', 'Rotwild', month);
   txtTable = txtTable + htBlock('BY', 'Rehwild', month);
   txtTable = txtTable + htBlock('BY', 'Schwarzwild', month);
   txtTable = txtTable + htFooter();

   return txtTable;
}

function navBar (navString) {

	var today = new Date();
	var actMonth = today.getMonth() + 1;
	var txtTable;
	var pageName;
	var sectionName;
	var borderType = '#00A000 2px solid';
	var spaceLine = '<FONT style="Font-Size: 2pt">&nbsp;<BR></FONT>';

	navString = navString + '-';
	pageName = navString.slice(0,navString.search("-"));
	sectionName = navString.slice(navString.search("-")+1,-1);

	//alert(pageName);
	if (pageName =="Times") {
		var pathPrefix = "../";
		var fontColor = "white";
		var fontSelColor = "#66FF33";
		var fontSize = "11pt";
	} else if (pageName =="Blog") {
		var pathPrefix = "../";
		var fontColor = "black";
		var fontSelColor = "#00A000";
		var fontSize = "9pt";
	} else if (pageName =="LinkDir") {
		var pathPrefix = "../";
		var fontColor = "white";
		var fontSelColor = "#66FF33";
		var fontSize = "11pt";
	} else {
		var pathPrefix = "";
		var fontColor = "white";
		var fontSelColor = "#66FF33";
		var fontSize = "11pt";
	}
	
	txtTable = '<TABLE border="0" class="ScreenTable">';

	txtTable = txtTable + '<TR>';
	txtTable = txtTable + '<TD><SMALL>&nbsp;</SMALL></TD>';
        txtTable = txtTable + '</TR>';
      
//	txtTable = txtTable + '<TR><TD align="center" bgcolor="#66FF33"><B>&nbsp;Jagd und Wild&nbsp;</B></TD></TR>';
	if (pageName != "Blog") {
	txtTable = txtTable + '<TR><TD align="center" bgcolor="#00A000"><FONT COLOR="#66FF33"><B>&nbsp;Jagd und Wild&nbsp;</B></FONT></TD></TR>';
	}
	txtTable = txtTable + '<TR><TD>&nbsp;</TD></TR>';



        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Index")
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'index.php"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Home&lt;</STRONG></FONT>';
        else
	        txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'index.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Home</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';


/*
	if (pageName == "Overview")
	        txtTable = txtTable + '<TR><TD><P><A HREF="Navigator/navigator.html"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;&Uuml;bersicht&lt;</STRONG></FONT></A></TD></TR>';
        else
        	txtTable = txtTable + '<TR><TD><P><A HREF="Navigator/navigator.html"><FONT COLOR="white" STYLE="Font-Size:11pt"><STRONG>&Uuml;bersicht</STRONG></FONT></A></TD></TR>';
	txtTable = txtTable + '<TR><TD>&nbsp;</TD></TR>';
*/
	
	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Events") {
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'eventmap.php"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Termine&lt;</STRONG></FONT>';
	        if (sectionName == "Map")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'eventmap.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Veranstaltungskarte</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'eventmap.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Veranstaltungskarte</FONT></A></TD></TR>';
	        if (sectionName == "List")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'jagdtermine.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Termin&uuml;bersicht</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'jagdtermine.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Termin&uuml;bersicht</FONT></A></TD></TR>';
        } else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'jagdtermine.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Termine</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';



        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Times") {
	        txtTable = txtTable + '<A HREF="jagdzeiten.php"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Jagdzeiten&lt;</STRONG></FONT></A></TD></TR>';
	        if (sectionName == "YearBW")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-baden-wuerttemberg.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Baden-W&uuml;rttemberg</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-baden-wuerttemberg.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Baden-W&uuml;rttemberg</FONT>';
	        if (sectionName == "YearBY")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-bayern.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Bayern</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-bayern.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Bayern</FONT>';
	        if (sectionName == "YearBE")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-berlin.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Berlin</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-berlin.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Berlin</FONT>';
	        if (sectionName == "YearBB")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-brandenburg.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Brandenburg</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-brandenburg.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Brandenburg</FONT>';
	        if (sectionName == "YearBR")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-bremen.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Bremen</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-bremen.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Bremen</FONT>';
	        if (sectionName == "YearHH")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-hamburg.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Hamburg</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-hamburg.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Hamburg</FONT>';
	        if (sectionName == "YearHE")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-hessen.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Hessen</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-hessen.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Hessen</FONT>';
	        if (sectionName == "YearMV")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-mecklenburg-vorpommern.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Mecklenburg-Vorpommern</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeiten-mecklenburg-vorpommern.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Mecklenburg-Vorpommern</FONT>';
	        if (sectionName == "Perm")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="ganzjahrschonzeit.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; ganzj&auml;hr. Schonzeit</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="ganzjahrschonzeit.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">ganzj&auml;hr. Schonzeit</FONT>';
	        if (sectionName == "Month")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeitmonat.php?monat='+actMonth+'"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Monatsanzeige</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="jagdzeitmonat.php?monat='+actMonth+'"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:9pt">Monatsanzeige</FONT></A></TD></TR>';
        } else
		txtTable = txtTable + '&nbsp;<A HREF="jagdzeiten/jagdzeiten.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Jagdzeiten</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';



        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Dogs") {
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'jagdhunde.php"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Jagdhunde&lt;</STRONG></FONT></A></TD></TR>';
	        if (sectionName == "Table")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'jagdhunde.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; &Uuml;bersicht</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'jagdhunde.php"><FONT COLOR="white" STYLE="Font-Size:9pt">&Uuml;bersicht</FONT></A></TD></TR>';
        } else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'jagdhunde.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Jagdhunde</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';



        actMonth = "?monat=" + actMonth;
        
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Animals") {
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'wildarten.php"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Wild&lt;</STRONG></FONT></A></TD></TR>';
	        if (sectionName == "Types")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'wildarten.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Wildarten</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'wildarten.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Wildarten</FONT></A></TD></TR>';
	        if (sectionName == "Age")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'altersbestimmung.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Altersbestimmung</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'altersbestimmung.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Altersbestimmung</FONT>';
	        if (sectionName == "Grow")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'aufzucht.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Brunft, Setzzeit</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'aufzucht.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Brunft, Setzzeit</FONT>';
	        if (sectionName == "Law")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'recht.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Recht, Gesetze</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'recht.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Recht, Gesetze</FONT>';
	        if (sectionName == "Dictionary")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'woerterbuch.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; W&ouml;rterbuch</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'woerterbuch.php"><FONT COLOR="white" STYLE="Font-Size:9pt">W&ouml;rterbuch</FONT>';
        } else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'wildarten.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Wild</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';
	
	
	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Moon")
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'mondkalender.php'+actMonth+'"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Mondkalender&lt;</STRONG></FONT>';
        else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'mondkalender.php'+actMonth+'"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Mondkalender</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';
	
	
	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Education") {

	        txtTable = txtTable + '<A HREF="'+pathPrefix+'ausbildung.php"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Ausbildung&lt;</STRONG></FONT></A></TD></TR>';
	        if (sectionName == "General")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'ausbildung.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Allgemein</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'ausbildung.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Allgemein</FONT></A></TD></TR>';
	        if (sectionName == "Kurs1")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'forstenriederpark.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Jagdkurs</FONT></A></TD></TR>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'forstenriederpark.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Jagdkurs</FONT></A></TD></TR>';
	        if (sectionName == "Examination1")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'pruefungsfragen1.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Pr&uuml;fungsfragen (1)</FONT></A></TD></TR>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'pruefungsfragen1.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Pr&uuml;fungsfragen (1)</FONT></A></TD></TR>';
	        if (sectionName == "Examination2")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'pruefungsfragen2.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Pr&uuml;fungsfragen (2)</FONT></A></TD></TR>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'pruefungsfragen2.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Pr&uuml;fungsfragen (2)</FONT></A></TD></TR>';
	        if (sectionName == "Examination3")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'pruefungsfragen3.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Pr&uuml;fungsfragen (3)</FONT></A></TD></TR>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'pruefungsfragen3.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Pr&uuml;fungsfragen (3)</FONT></A></TD></TR>';

        } else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'ausbildung.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Ausbildung</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';
	
	
/*	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Lexikon")
	        txtTable = txtTable + '<A HREF="lexikon.php?buchstabe=A"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Lexikon&lt;</STRONG></FONT>';
        else
		txtTable = txtTable + '&nbsp;<A HREF="lexikon.php?buchstabe=A"><FONT COLOR="white" STYLE="Font-Size:11pt"><STRONG>Lexikon</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';
*/	



        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Gallery") {
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'galerie.php"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Foto &amp; Video&lt;</STRONG></FONT></A></TD></TR>';
	        /*
			if (sectionName == "Table")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'jagdhunde.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; &Uuml;bersicht</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'jagdhunde.php"><FONT COLOR="white" STYLE="Font-Size:9pt">&Uuml;bersicht</FONT></A></TD></TR>';
			*/
        } else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'galerie.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Foto &amp; Video</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';
	

	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Tipps") {
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'eingabegehoerntafel.html"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Tipps &amp; Tools&lt;</STRONG></FONT></A></TD></TR>';
	        if (sectionName == "Trophy")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'eingabegehoerntafel.html"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Geh&ouml;rntafel</FONT></A></TD></TR>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'eingabegehoerntafel.html"><FONT COLOR="white" STYLE="Font-Size:9pt">Geh&ouml;rntafel</FONT></A></TD></TR>';
	        if (sectionName == "Forms")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'formulare.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Formulare</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'formulare.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Formulare</FONT></A></TD></TR>';
	        if (sectionName == "USA")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'einkaufeninusa.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Kaufen in USA</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'einkaufeninusa.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Kaufen in USA</FONT></A></TD></TR>';
	        if (sectionName == "Maps")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'revierkarte.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Revierkarte</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'revierkarte.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Revierkarte</FONT></A></TD></TR>';
        } else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'eingabegehoerntafel.html"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Tipps &amp; Tools</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';


	
	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Books") {
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'literatur-ausbildung.php"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Literatur&lt;</STRONG></FONT>';
	        if (sectionName == "Edu")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'literatur-ausbildung.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Aus-/Weiterbildung</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'literatur-ausbildung.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Aus-/Weiterbildung</FONT></A></TD></TR>';
	        if (sectionName == "Hunt")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'literatur-jagd.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Jagd &amp; Revier</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'literatur-jagd.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Jagd &amp; Revier</FONT></A></TD></TR>';
	        if (sectionName == "Cook")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'literatur-verwerten.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Verwerten &amp; Kochen</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'literatur-verwerten.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Verwerten &amp; Kochen</FONT></A></TD></TR>';
        } else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'literatur-ausbildung.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Literatur</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';


	
	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Blog")
	        txtTable = txtTable + '<A HREF="/blog/"><FONT COLOR="'+fontSelColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Jagdblog</STRONG></FONT>';
        else
		txtTable = txtTable + '&nbsp;<A HREF="/blog/"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Jagdblog</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';


	
	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "LinkDir")
	        txtTable = txtTable + '<A HREF="/linkdir/jagdverzeichnis.php"><FONT COLOR="'+fontSelColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Jagdverzeichnis</STRONG></FONT>';
        else
		txtTable = txtTable + '&nbsp;<A HREF="/linkdir/jagdverzeichnis.php"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Jagdverzeichnis</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';
	
	
	
        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Guestbook")
	        txtTable = txtTable + '<A HREF="'+pathPrefix+'gaestebuch.html"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;G&auml;stebuch&lt;</STRONG></FONT>';
        else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'gaestebuch.html"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>G&auml;stebuch</STRONG></FONT>';
	txtTable = txtTable + '</A><BR> ' + spaceLine + '</TD></TR>';



        txtTable = txtTable + '<TR><TD style="border: ' + borderType + '; border-right: none; border-left: none; border-bottom: none">';
        txtTable = txtTable + spaceLine + '';
        if (pageName == "Links") {

	        txtTable = txtTable + '<A HREF="'+pathPrefix+'links.html"><FONT COLOR="#66FF33" STYLE="Font-Size:11pt"><STRONG>&gt;Links&lt;</STRONG></FONT></A></TD></TR>';
	        if (sectionName == "General")
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'links.html"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Allgemein</FONT></A></TD></TR>';
	        else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'links.html"><FONT COLOR="white" STYLE="Font-Size:9pt">Allgemein</FONT></A></TD></TR>';
	        if (sectionName == "Recomm")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'empflinks.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Empfehlungen</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'empflinks.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Empfehlungen</FONT>';
	        if (sectionName == "Keywords")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'stichwortlinks.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Stichwortliste</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'stichwortlinks.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Stichwortliste</FONT>';
	        if (sectionName == "Audio")
		        txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'audiolinks.php"><FONT COLOR="#66FF33" STYLE="Font-Size:9pt">&gt; Tierstimmen</FONT>';
		else
	        	txtTable = txtTable + '<TR><TD>&nbsp;&nbsp;&nbsp;<A HREF="'+pathPrefix+'audiolinks.php"><FONT COLOR="white" STYLE="Font-Size:9pt">Tierstimmen</FONT>';

        } else
		txtTable = txtTable + '&nbsp;<A HREF="'+pathPrefix+'links.html"><FONT COLOR="'+fontColor+'" STYLE="Font-Size:'+fontSize+'"><STRONG>Links</STRONG></FONT>';
	txtTable = txtTable + '<TR><TD> ' + spaceLine + '</TD></TR>';

	txtTable = txtTable + '<TR><TD>&nbsp;</TD></TR>';
	

	txtTable = txtTable + '</TABLE>';
	
    return txtTable;

}

	
function navImp (navString) {

	var txtTable;
	var pageName;
	var sectionName;
	
	navString = navString + '-';
	pageName = navString.slice(0,navString.search("-"));
	sectionName = navString.slice(navString.search("-")+1,-1);

	var pathPrefix = "";
	var fontColor = "white";
	var fontSelColor = "#66FF33";
	var fontSize = "11pt";

	txtTable = '<TABLE border="0" class="ScreenTable">';
	
	
	
        if (pageName == "Impressum")
		txtTable = txtTable + '<TR><TD><P><A HREF="'+pathPrefix+'impressum.html"><FONT COLOR="#66FF33">&gt;Impressum&lt;</FONT></A></TD></TR>';
	else
		txtTable = txtTable + '<TR><TD><P>&nbsp;<A HREF="'+pathPrefix+'impressum.html"><FONT COLOR="'+fontColor+'">Impressum</FONT></A></TD></TR>';
	
	
	txtTable = txtTable + '<TR><TD>&nbsp;</TD></TR>';
	
	txtTable = txtTable + '<TR><TD><FONT COLOR="white">';
	/*
	txtTable = txtTable + '<form method="Get" action="http://www.google.de/search" target="_self"  style="font-size:8pt;">';
	txtTable = txtTable + '&nbsp;Mit Google in<BR>&nbsp;<B><I>Jagd und Wild</I></B><BR>&nbsp;suchen:<BR>';
	txtTable = txtTable + '<input type="hidden" name="sitesearch" value="www.jagdundwild.de">';
	txtTable = txtTable + '&nbsp;<input type="text" name="q" maxlength="255" size="15" style="font-size:8pt;"> ';
	txtTable = txtTable + '<input type="submit" name="sa" value="Go!" style="font-size:8pt;"></form>';
	*/
	if (pageName != "Blog") {
	txtTable = txtTable + '<form action="http://www.jagdundwild.de/suchergebnis.php" id="cse-search-box">';
	txtTable = txtTable + '<div>';
	txtTable = txtTable + '<input type="hidden" name="cx" value="partner-pub-1772306959813604:qmm180-u5bz" />';
	txtTable = txtTable + '<input type="hidden" name="cof" value="FORID:9" />';
	txtTable = txtTable + '<input type="hidden" name="ie" value="ISO-8859-1" />';
	txtTable = txtTable + '<input type="text" name="q" size="12" />';
	txtTable = txtTable + '<input type="submit" name="sa" value="Suche" />';
	txtTable = txtTable + '</div>';
	txtTable = txtTable + '</form>';
	}

	txtTable = txtTable + '<script type="text/javascript" src="http://www.google.de/coop/cse/brand?form=cse-search-box&amp;lang=de"></script>';
	txtTable = txtTable + '</TD></TR>';

	txtTable = txtTable + '</TABLE>';

        return txtTable;

}


function extLink (addr, title) {

var txtLink = '';

	txtLink = '<A HREF="' + addr + '" TARGET="_blank"><IMG src="external.gif" alt="Externer Link" title="' + title + '" BORDER=0></A>';
	return txtLink;
}


function openInfoWin(fileName) {
	infoWin = window.open(fileName,'Fenster', 'location=no, menubar=no, height=600, width=600, resizable=yes, toolbar=no, scrollbars=1');
	infoWin.focus();
}



function validate(querynum, answers) {

	// var answerValue;
	var objName = "";
	var txtName = "";
	var i = 0;

	answers = answers + ".";
	for (i = 0; i < answers.length-1; i++) {
		var answerValue = (answers.slice(i,i+1) == "1");
		objName = "query" + querynum + "-" + i;
		var oObj = document.getElementById(objName);
		txtName = "text" + querynum + "-" + i;
		if (oObj.checked == answerValue)
			document.getElementById(txtName).style.color ="green";
		else
			document.getElementById(txtName).style.color ="red";
	}
}



function showDetail(iNum)
{
	var IDName;
	IDName = "img" + iNum;

	if (document.getElementById(IDName).src.indexOf("minus.png") == -1) {
		document.getElementById(IDName).src = "minus.png";
		IDName = "detail" + iNum;
		document.getElementById(IDName).style.display = "block";
	} else {
		IDName = "img" + iNum;
		document.getElementById(IDName).src = "plus.png";
		IDName = "detail" + iNum;
		document.getElementById(IDName).style.display = "none";
	}
}


//-->
