<!--	
// fuer Kontaktformular form.html
function chkFormular () {
/*	
  if (document.Formular.vorname.value == "") {
    alert("Surname is a required field!");
    document.Formular.vorname.focus();
    return false;
  }
  if (document.Formular.nachname.value == "") {
    alert("Name is a required field!");
    document.Formular.nachname.focus();
    return false;
  }
	  if (document.Formular.land.value == "") {
    alert("country is a required field!");
    document.Formular.land.focus();
    return false;
  }
*/
  if (document.Formular.absender.value == "") {
    alert("Email address is a required field!");
    document.Formular.absender.focus();
    return false;
  }
  if (document.Formular.absender.value.indexOf("@") == -1) {
    alert("This is not an email address!");
    document.Formular.absender.focus(); 
    return false;
  }
/*	
		var atag = parseFloat(document.Formular.ankunfttag.value);
		var amonat = 32 * parseFloat(document.Formular.ankunftmonat.value);
		var ajahr = 400 * parseInt(document.Formular.ankunftjahr.value);
		var dtag = parseFloat(document.Formular.abreisetag.value);
		var dmonat = 32 * parseFloat(document.Formular.abreisemonat.value);
		var djahr = 400 * parseInt(document.Formular.abreisejahr.value);
		var adate = atag + amonat + ajahr;
		var ddate = dtag + dmonat + djahr;
//		alert(atag);alert(dtag);alert(amonat);alert(dmonat);
	  if (adate >= ddate) {
    alert("Arrival and/or departure is wrong!");
    document.Formular.ankunfttag.focus();
    return false;
  }
	  if (document.Formular.anzahlroom.value == "0")  {
    alert("Enter at least one room!");
    document.Formular.anzahlroom.focus();
    return false;
  }
	  if (document.Formular.lodging.value == "0")  {
    alert("Enter at least one type of lodging!");
    document.Formular.lodging.focus();
    return false;
  }
	  if (document.Formular.adults.value == "0")  {
    alert("Enter at least one adult!");
    document.Formular.adults.focus();
    return false;
  }
*/	
}

// fuer Pricelist in Packages (packages.html)
var win=null;
function OpenPriceWindow(mypage,myname,w,h,pos,infocus)
	{
		width = 612; 	//gewollte Bildbreite
		height = 620;	//gewollte Bildhoehe
		pos="center";
		mypage="pricelist.html";
		myname="Price_List";
	
	if(pos=="center")
		{
		myleft=(screen.width)?(screen.width-width)/2:100;
		mytop=(screen.height)?(screen.height-height)/2:100;
		}
	settings="width=" + width + ",height=" + height + ",top=" + mytop + ",left=" + myleft + ", \
						scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";
	win=window.open(mypage,myname,settings);
	win.focus();
	}
/*
// fuer Photo Gallery galery.html
	var win=null;
	function OpenFotoWindow(mypage)
	{
		width = 600; 	//gewollte Bildbreite
		height = 450;	//gewollte Bildhoehe
		myleft=(screen.width)?(screen.width-width)/2:100;
		mytop=(screen.height)?(screen.height-height)/2:100;
		settings="width=" + width + ",height=" + height + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";
		win=window.open(mypage,'closeup',settings);
		win.focus();
	}
*/
// fuer Photo Gallery galery.html
	var win=null;
	function OpenFotoWindow(mypage,width,height)
	{
		width = 400; 	//gewollte Bildbreite
		height = 343;	//gewollte Bildhoehe
		myleft=(screen.width)?(screen.width-width)/2:100;
		mytop=(screen.height)?(screen.height-height)/2:100;
		settings="width=" + width + ",height=" + height + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";
		win=window.open(mypage,'closeup',settings);
		win.focus();
	}

// fuer Job-Fenster
var win=null;
function OpenJobWindow(mypage)
	{
		width = 600; 	//gewollte Bildbreite
		height = 620;	//gewollte Bildhoehe
		pos="center";
		myname="Jobs";
	if(pos=="center")
		{
		myleft=(screen.width)?(screen.width-width)/2:100;
		mytop=(screen.height)?(screen.height-height)/2:100;
		}
	settings="width=" + width + ",height=" + height + ",top=" + mytop + ",left=" + myleft + ", \
						scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";
	win=window.open(mypage,myname,settings);
	win.focus();
	}
	
// fuer Thassos-Fenster
var win=null;
function OpenThassosWindow()
	{
		width = 370; 	//gewollte Bildbreite
		height = 396;	//gewollte Bildhoehe
		pos="center";
		mypage="thassos.html";
		myname="Thassos";
	if(pos=="center")
		{
		myleft=(screen.width)?(screen.width-width)/2:100;
		mytop=(screen.height)?(screen.height-height)/2:100;
		}
	settings="width=" + width + ",height=" + height + ",top=" + mytop + ",left=" + myleft + ", \
						scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";
	win=window.open(mypage,myname,settings);
	win.focus();
	}
	
// fuer Greece-Fenster
var win=null;
function OpenGreeceWindow()
	{
		width = 720; 	//gewollte Bildbreite
		height = 540;	//gewollte Bildhoehe
		pos="center";
		mypage="greece.html";
		myname="Greece";
	if(pos=="center")
		{
		myleft=(screen.width)?(screen.width-width)/2:100;
		mytop=(screen.height)?(screen.height-height)/2:100;
		}
	settings="width=" + width + ",height=" + height + ",top=" + mytop + ",left=" + myleft + ", \
						scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";
	win=window.open(mypage,myname,settings);
	win.focus();
	}


//-->	

