function checkform(){
	
	var error;
	
	if (document.kontakt.n_name.value == "") {
    error = 1;
  }
  if (document.kontakt.anfrage.value == "") {
    error = 1;
  }
  if (document.kontakt.email.value == "") {
   error = 1;
  }
  if (error > 0){
  	alert("Bitte füllen Sie die mit * (Stern) gekennzeichneten Felder aus!");
  	return false;
  }
}

function checkbooking(){
	
	var error;
	
	if (document.booking.name.value == "") {
    error = 1;
  }
  if (document.booking.email.value == "") {
    error = 1;
  }
  if (document.booking.phone.value == "") {
   error = 1;
  }
  if (document.booking.arival.value == "") {
   error = 1;
  }
  if (document.booking.departure.value == "") {
   error = 1;
  }
  if (document.booking.board.value == "") {
   error = 1;
  }
  if (document.booking.room.value == "") {
   error = 1;
  }
  if (error > 0){
  	alert("Bitte füllen Sie die mit * (Stern) gekennzeichneten Felder aus!");
  	return false;
  }
}

function checkreservation(){
	
	var error;
	
	if (document.reservation.name.value == "") {
    error = 1;
  }
  if (document.reservation.email.value == "") {
    error = 1;
  }
  if (document.reservation.phone.value == "") {
   error = 1;
  }
  if (document.reservation.event.value == "") {
   error = 1;
  }
  if (document.reservation.date.value == "") {
   error = 1;
  }
  if (document.reservation.period.value == "") {
   error = 1;
  }
  if (document.reservation.menu.value == "") {
   error = 1;
  }
  if (document.reservation.quantity.value == "") {
   error = 1;
  }

  if (error > 0){
  	alert("Bitte füllen Sie die mit * (Stern) gekennzeichneten Felder aus!");
  	return false;
  }
}

// Image
$("a.lightbox").fancybox({
  'zoomSpeedIn': 300,
  'zoomSpeedOut': 300,
  'overlayShow': true
 });

// iFrame Content
$("a.lightbox-page").fancybox({
  'zoomSpeedIn': 300,
  'zoomSpeedOut': 300,
  'overlayShow': true,
  'width': 650,
  'height': 280,
  'titleShow': false,
  'autoScale' : true,
  'type': 'iframe'
 });
