function bild650x680(theURL)
{
	var breite = 600;
	var hoehe = 520;
	var posX=(screen.availWidth-breite)/2;
	var posY=(screen.availHeight-hoehe)/2;

    	window.open(theURL,"wdv","width=600,height=520,menubar=no,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY);
}

//Wenn mit Scrollbar dann ->>  ",scrollbars"

function bild600x700(theURL)
{
	var breite = 600;
	var hoehe = 800;
	var posX=(screen.availWidth-breite)/2;
	var posY=(screen.availHeight-hoehe)/2;

    	window.open(theURL,"wdv","width=600,height=800,menubar=no,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY);
}

function bild650x681(theURL)
{
	var breite = 400;
	var hoehe = 500;
	var posX=(screen.availWidth-breite)/2;
	var posY=(screen.availHeight-hoehe)/2;

    	window.open(theURL,"wdv","width=400,height=500,menubar=no,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY);
}


function getURLParam(strParamName){
var strReturn = "";
var strHref = window.location.href;
if ( strHref.indexOf("&") > -1 ){
var strQueryString = strHref.substr(strHref.indexOf("&"));
var aQueryString = strQueryString.split("&");
for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){
if (
aQueryString[iParam].indexOf(strParamName + "=") > -1 ){
var aParam = aQueryString[iParam].split("=");
strReturn = aParam[1];
break;
}
}
}
return strReturn;
}




function checkForm()
    {

     if( (document.Formular.name.value == "") )
      {
       alert("Bitte geben Sie Ihren Namen vollständig an.");
       document.Formular.name.focus();
       return false;
      }

    if( (document.Formular.fon.value == "") )
      {
       alert("Bitte geben Sie Ihre Telefonnummer vollständig an.");
       document.Formular.fon.focus();
       return false;
      }
      
    if( (document.Formular.mail.value == "") )
      {
       alert("Bitte geben Sie Ihre E-Mail Adresse vollständig an.");
       document.Formular.mail.focus();
       return false;
      }
   }
   
   
function checkForm_EN()
    {

     if( (document.Formular.name.value == "") )
      {
       alert("Bitte geben Sie Ihren Namen vollständig an.");
       document.Formular.name.focus();
       return false;
      }

    if( (document.Formular.fon.value == "") )
      {
       alert("Bitte geben Sie Ihre Telefonnummer vollständig an.");
       document.Formular.fon.focus();
       return false;
      }
      
    if( (document.Formular.mail.value == "") )
      {
       alert("Bitte geben Sie Ihre E-Mail Adresse vollständig an.");
       document.Formular.mail.focus();
       return false;
      }
   }
