function getDatum(Datum)
{
  var Tag = (Datum.getDate() < 10 ? '0' + Datum.getDate() : Datum.getDate());
  var Monat = (Datum.getMonth()+1 < 10 ? '0' + (Datum.getMonth()+1) : Datum.getMonth()+1);

  var Jahr = (Datum.getFullYear ? Datum.getFullYear() : Datum.getYear());
  if (Jahr < 1900)
    Jahr += 1900;

  return (Tag+'.'+Monat+'.'+Jahr);
}

var last = document.lastModified;

if (!document.images) {
  var Tag = last.substring(8,10);
  var Monat = last.substring(4,7);
  if (Monat == 'Jan') Monat = 0;
  else if (Monat == 'Feb') Monat = 1;
  else if (Monat == 'Mar') Monat = 2;
  else if (Monat == 'Apr') Monat = 3;
  else if (Monat == 'May') Monat = 4;
  else if (Monat == 'Jun') Monat = 5;
  else if (Monat == 'Jul') Monat = 6;
  else if (Monat == 'Aug') Monat = 7;
  else if (Monat == 'Sep') Monat = 8;
  else if (Monat == 'Oct') Monat = 9;
  else if (Monat == 'Nov') Monat = 10;
  else Monat = 11
  var Jahr = last.substring(20,24);
  var Datum = new Date(Jahr,Monat,Tag);
}
else {
  if(document.all && last.substring(6,10).indexOf(' ') != -1) {
    var Jahr = (parseInt(last.substring(6,8)) < 70 ? 2000+parseInt(last.substring(6,8)) : 1900+parseInt(last.substring(6,8)));
    last = last.substring(0,6)+Jahr+last.substring(8);
  }
  var Datum = new Date(last);
}


function fussZP()
{
  document.writeln("<TABLE border='0' cellSpacing='3' cellpadding='0' width='100%'>");
  document.writeln("<TR><TD width=100% colspan='4' height='20' valign='bottom' nowrap><hr size='1' color='#000000' style='color: #000000;'></td></TR>");
  document.writeln("<TR><td width=40% align='left' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Verantwortliche Redakteurin: <a href='javascript:open_kontakt()'>Zuzana Pr&iacute;b&aacute;nova.</a></FONT></TD>");
  document.writeln("<td width=20% align='center' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Telefon 00420-2-6849105</FONT></td>");
  document.writeln("<td width=20% align='center' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Fax 00420-2-6848513</FONT></td>");
  document.writeln("<td width=20% align='RIGHT' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>&copy; by WEB-TOUR.de 2000");
  document.writeln("</font></td></tr></table>");
}

function fussZPhh()
{
  
  document.writeln("<TABLE border='0' cellSpacing='3' cellpadding='0' width='100%'>");
  document.writeln("<TR><TD width=100% colspan='4' height='20' valign='bottom' nowrap><hr size='1' color='#000000' style='color: #000000;'></td></TR>");
  document.writeln("<TR><td width=40% align='left' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Verantwortliche Redakteurin: <a href='javascript:open_kontakt()'>Zuzana Pr&iacute;b&aacute;nova.</a></FONT></TD>");
  document.writeln("<td width=20% align='RIGHT' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>&copy; by holiday-home.de 2000");
  document.writeln("</font></td></tr></table>");
}

function fussAC()
{
  document.writeln("<TABLE border='0' cellSpacing='3' cellpadding='0' width='100%'>");
  document.writeln("<TR><TD width=100% colspan='4' height='20' valign='bottom' nowrap><hr size='1' color='#000000' style='color: #000000;'></td></TR>");
  document.writeln("<TR><td width=40% align='left' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Verantwortlicher Redakteur: <a href='javascript:open_kontakt()'>Alexander Claashen.</a></FONT></TD>");
  document.writeln("<td width=20% align='center' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Telefon 034298-7920</FONT></td>");
  document.writeln("<td width=20% align='center' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Fax 034298-79222</FONT></td>");
  document.writeln("<td width=20% align='RIGHT' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>&copy; by WEB-TOUR.de 2000");
  document.writeln("</font></td></tr></table>");
}

function fussAChh()
{
  document.writeln("<TABLE border='0' cellSpacing='3' cellpadding='0' width='100%'>");
  document.writeln("<TR><TD width=100% colspan='4' height='20' valign='bottom' nowrap><hr size='1' color='#000000' style='color: #000000;'></td></TR>");
  document.writeln("<TR><td width=40% align='left' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Verantwortlicher Redakteur: <a href='javascript:open_kontakt()'>Alexander Claashen.</a></FONT></TD>");
  document.writeln("<td width=20% align='RIGHT' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>&copy; by holiday-home.de 2000");
  document.writeln("</font></td></tr></table>");
}


function fussTM()
{
  
  document.writeln("<TABLE border='0' cellSpacing='3' cellpadding='0' width='100%'>");
  document.writeln("<TR><TD width=100% colspan='4' height='20' valign='bottom' nowrap><hr size='1' color='#000000' style='color: #000000;'></td></TR>");
  document.writeln("<TR><td width=40% align='left' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Verantwortlicher Redakteur: <a href='javascript:open_kontakt()'>Thomas Maiwald.</a></FONT></TD>");
  document.writeln("<td width=20% align='center' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Telefon 034298-7920</FONT></td>");
  document.writeln("<td width=20% align='center' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Fax 034298-79222</FONT></td>");
  document.writeln("<td width=20% align='RIGHT' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>&copy; by WEB-TOUR.de 2000");
  document.writeln("</font></td></tr></table>");
}

function fussTMhh()
{
  
  document.writeln("<TABLE border='0' cellSpacing='3' cellpadding='0' width='100%'>");
  document.writeln("<TR><TD width=100% colspan='4' height='20' valign='bottom' nowrap><hr size='1' color='#000000' style='color: #000000;'></td></TR>");
  document.writeln("<TR><td width=40% align='left' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>Verantwortlicher Redakteur: <a href='javascript:open_kontakt()'>Thomas Maiwald.</a></FONT></TD>");
  document.writeln("<td width=20% align='RIGHT' nowrap><FONT style='font-size: 10px; font-family: Arial, Helvetiva;'>&copy; by holiday-home.de 2000");
  document.writeln("</font></td></tr></table>");
}

function objfuss()
{
  
  document.writeln("<TABLE border='0' cellSpacing='3' cellpadding='0' width='100%'>");
  document.writeln("<TR><TD width=100%>&nbsp;</td></TR>");
  document.writeln("</table>");
}

// öffnet Fenster mit weiteren Bildern zu Objekten
function open_fotos(target,name)
 {
       F1=window.open(target,name,"toolbar=no,width=450,height=550,directories=no,status=no,scrollbars=yes,resize=yes,menubar=yes");
 }

// öffnet Fenster mit weiteren Bildern zu Objekten NEUE VERSION CZ
function open_fotoscz(target,name)
 {	target="http://www.web-tour.de/laender/tschechien/objekte/bilder/"+target
       F1=window.open(target,name,"toolbar=no,width=450,height=550,directories=no,status=no,scrollbars=yes,resize=yes,menubar=yes");
 }


function open_reservierung()
 {
       F1=window.open("http://www.holiday-home.org/reserv/reservierung1.asp?OBJTYP=Hotel","Reservierung","toolbar=no,width=670,height=600,directories=no,status=no,scrollbars=yes,resize=yes,menubar=no");
 }


// öffnet die AMB in Abhängigkeit vom Anbieter, der als Argument übergeben wird
// Arguemente: hhp - Prag, hhu - Ungarn, hhc - kroatien

function open_mietbedingung(anb)
 {
	if (anb == "hhp")
	{
	alert("anb = "+anb)
	AMB=window.open("http://www.web-tour.de/buchung/AMB_hhp.htm","Mietbedingungen","toolbar=no,width=700,height=550,directories=no,status=no,scrollbars=yes,resize=yes,menubar=no");
	}
	if (anb == "hhu")
	{
	AMB=window.open("http://www.web-tour.de/buchung/AMB_hhu.htm","Mietbedingungen","toolbar=no,width=700,height=550,directories=no,status=no,scrollbars=yes,resize=yes,menubar=no");
	}
	if (anb == "hhc")
	{
	AMB=window.open("http://www.web-tour.de/buchung/AMB_hhc.htm","Mietbedingungen","toolbar=no,width=700,height=550,directories=no,status=no,scrollbars=yes,resize=yes,menubar=no");
	}

 }


function open_mailtip()
 {
       F1=window.open("http://www.web-tour.de/formulare/werbehh.htm","Mailtipp","toolbar=no,width=480,height=300,directories=no,status=no,scrollbars=yes,resize=yes,menubar=no");
 }

function open_newshhbestellen()
 {
       F1=window.open("http://www.web-tour.de/formulare/newshhbestellen.htm","Newsletter","toolbar=no,width=460,height=485,directories=no,status=no,scrollbars=no,resize=yes,menubar=no");
 }

// Lädt in den 3 Frames des Mainframes die angegebenen Seiten
function OpenInhaltMainframe(menu,inhalt,info)
{ 
	parent.menu.location.href=menu;
	parent.inhalt.location.href=inhalt; 
	parent.info.location.href=info; 
}

function open_kontakt()
{
F1=window.open("http://www.web-tour.de/service/kontakt.htm","Kontakt","toolbar=no,width=650,height=550,directories=no,status=no,scrollbars=yes,resize=yes,menubar=no");
}


function open_agent()
{
		F1=window.open("http://www.web-tour.de/agent/auswahl_agent.htm","Agent","toolbar=yes,width=650,height=550,directories=no,status=no,scrollbars=yes,resize=yes,menubar=yes");
}
 
 function mail_tipp()
{
  document.writeln("<FORM name='Formular' action='cgi-bin/werbe/werbe.cgi' method='post' onSubmit='return chkFormular()'>");
  document.writeln("<TABLE border='0' cellSpacing='0' cellpadding='3' width='100%' bgcolor='#80AABB'>");
  document.writeln("<TR><TD align='center' class='infohead'>Empfehlen Sie uns</td></TR>");
  document.writeln("<TR><TD align='center' class='infotxt'>Senden Sie einen Link an Freunde.</td></TR>");
  document.writeln("<TR><td align='left'><input type='text' name='EMPFAENGEREMAIL' value='Email Ihres Freunds' size='13' style='font-family: Arial, Helvetica, sans-serif; font-size: 11px; width: 120;'></TD></TR>");
  document.writeln("<TR><td align='center'><INPUT type='submit' name='Senden' value='Senden' width='10' style='font-family: Arial, Helvetica, sans-serif; font-size: 10px; width: 60; height: 20;'></TD></TR>");
  document.writeln("</table>");
  document.writeln("</form>");
}

function chkFormular()
{
	             /* Empfängeremail angegeben? */  
    if(document.Formular.EMPFAENGEREMAIL.value == "")
  {
   alert("Bitte geben Sie die Email-Adresse des Empfängers an.");
   document.Formular.EMPFAENGEREMAIL.focus();
   return false;
  }
				/* eMail echt? */
  if(document.Formular.EMPFAENGEREMAIL.value.indexOf('@') == -1)
  {
   alert("Dies ist keine eMail-Adresse!");
   document.Formular.EMPFAENGEREMAIL.focus();
   return false;
  }
}