// JavaScript Document
<!--
// This is only needed for Netscape browsers.
    function flashGetHref() { return location.href; }
    function flashPutHref(href) { location.href = href; }
    function flashGetTitle() { return document.title; }
    function flashPutTitle(title) { document.title = title; }

function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}
var win = null;
function newWindow(mypage,myname,w,h){
  LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
  TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
  settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',resizable=no,scrollbars=yes';
  win = window.open(mypage,myname,settings)
}
function closeWindow() { //v2.0
  window.close();
}
function checkMailForm() {
	if(document.forms['mail_form'].name.value == "" || document.forms['mail_form'].firstname.value == "" || document.forms['mail_form'].phone.value == "" || document.forms['mail_form'].email.value == "" || document.forms['mail_form'].foto_1.value == "" || document.forms['mail_form'].foto_2.value == "") {		
		alert("Bitte füllen Sie die gekennzeichneten (*) Felder aus.");
		return false;
	} else {			
		return true;
	}
}
//-->