// JavaScript Document

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
  
function BlurLinks(){
lnks=document.getElementsByTagName('a');
for(i=0;i<lnks.length;i++){
lnks[i].onfocus=new Function("if(this.blur)this.blur()");
}
}
onload=BlurLinks;


function Test()
{
   alert("Please e!");
   return false;
}


function chkFormular_e()
{
 if(document.Formular.Vorname.value == "")
  {
   alert("Please enter your first name!");
   document.Formular.Vorname.focus();
   return false;
  }
   if(document.Formular.Nachname.value == "")
  {
   alert("Please enter your surname!");
   document.Formular.Nachname.focus();
   return false;
  }
 if(document.Formular.Strasse.value == "")
  {
   alert("Please enter your street!");
   document.Formular.Strasse.focus();
   return false;
}
if(document.Formular.PLZ.value.length <=  3 )
 {
 alert("Please enter your postal code!");
 document.Formular.PLZ.focus();
 return false;
}
 if(document.Formular.Ort.value == "")
  {
   alert("Please enter your city!");
   document.Formular.Ort.focus();
   return false;
  }

 if(document.Formular.Email.value == "")
  {
   alert("Please enter your email!");
   document.Formular.Email.focus();
   return false;
  }
      if(document.Formular.Email.value.indexOf('@') == -1)
  {
   alert("Incorrect email address!");
   document.Formular.Email.focus();
   return false;

  }

 if(document.Formular.Email.value.indexOf('.') == -1)
  {
   alert("Incorrect email address!");
   document.Formular.Email.focus();
   return false;
  }
	if(document.Formular.Passwort.value == "")
  {
   alert("Please enter a password!");
   document.Formular.Passwort.focus();
   return false;
  }
if(document.Formular.Passwortbest.value == "")
  {
   alert("Please confirm your password!");
   document.Formular.Passwortbest.focus();
   return false;
}

if(document.Formular.Passwortbest.value != document.Formular.Passwort.value)
  {
   alert("Your passwords do not match!");
   document.Formular.Passwortbest.focus();
   return false;
}



}
  
function chkFormular()
{
 if(document.Formular.Vorname.value == "")
  {
   alert("Bitte geben Sie Ihren Vornamen ein!");
   document.Formular.Vorname.focus();
   return false;
  }
   if(document.Formular.Nachname.value == "")
  {
   alert("Bitte geben Sie Ihren Namen ein!");
   document.Formular.Nachname.focus();
   return false;
  }
 if(document.Formular.Strasse.value == "")
  {
   alert("Bitte geben Sie die Strasse an!");
   document.Formular.Strasse.focus();
   return false;
}
if(document.Formular.PLZ.value.length <=  3 )
 {
 alert("Bitte geben Sie die Postleitzahl korrekt an!");
 document.Formular.PLZ.focus();
 return false;
}
 if(document.Formular.Ort.value == "")
  {
   alert("Bitte geben Sie den Wohnort an!");
   document.Formular.Ort.focus();
   return false;
  }

 if(document.Formular.Email.value == "")
  {
   alert("Bitte geben Sie Ihre E-Mail-Adresse ein!");
   document.Formular.Email.focus();
   return false;
  }
      if(document.Formular.Email.value.indexOf('@') == -1)
  {
   alert("Keine gueltige E-Mail-Adresse!");
   document.Formular.Email.focus();
   return false;

  }

 if(document.Formular.Email.value.indexOf('.') == -1)
  {
   alert("Keine gueltige E-Mail-Adresse!");
   document.Formular.Email.focus();
   return false;
  }
if(document.Formular.Passwort.value == "")
  {
   alert("Bitte geben Sie ein Passwort an!");
   document.Formular.Passwort.focus();
   return false;
  }
if(document.Formular.Passwortbest.value == "")
  {
   alert("Bitte bitte bestätigen SIe Ihre Passworteingabe!");
   document.Formular.Passwortbest.focus();
   return false;
	}
	if(document.Formular.Passwortbest.value != document.Formular.Passwort.value)
  {
   alert("Ihre eingebenen Passwörter stimmen nicht überein!");
   document.Formular.Passwortbest.focus();
   return false;
}

}


function chkFormular_rb_e()
{
  if(document.Formular.Firma.value == "")
  {
   alert("Please enter the name of your company!");
   document.Formular.Firma.focus();
   return false;
  }
 if(document.Formular.Vorname.value == "")
  {
   alert("Please enter your first name!");
   document.Formular.Vorname.focus();
   return false;
  }
   if(document.Formular.Nachname.value == "")
  {
   alert("Please enter your surname!");
   document.Formular.Nachname.focus();
   return false;
  }
 if(document.Formular.Strasse.value == "")
  {
   alert("Please enter your street!");
   document.Formular.Strasse.focus();
   return false;
}
if(document.Formular.PLZ.value.length <=  3 )
 {
 alert("Please enter your postal code!");
 document.Formular.PLZ.focus();
 return false;
}
 if(document.Formular.Ort.value == "")
  {
   alert("Please enter your city!");
   document.Formular.Ort.focus();
   return false;
  }
  if(document.Formular.Fax.value == "")
  {
   alert("Please enter your fax number!");
   document.Formular.Fax.focus();
   return false;
  }
if(document.Formular.Email.value == "")
  {
   alert("Please enter your email!");
   document.Formular.Email.focus();
   return false;
  }
if(document.Formular.Email.value.indexOf('@') == -1)
  {
   alert("Incorrect email address!");
   document.Formular.Email.focus();
   return false;
  }
 if(document.Formular.Email.value.indexOf('.') == -1)
  {
   alert("Incorrect email address!");
   document.Formular.Email.focus();
   return false;
  }
if(document.Formular.Passwort.value == "")
  {
   alert("Please enter a password!");
   document.Formular.Passwort.focus();
   return false;
  }
if(document.Formular.Passwortbest.value == "")
  {
   alert("Please confirm your password!");
   document.Formular.Passwortbest.focus();
   return false;
}

if(document.Formular.Passwortbest.value != document.Formular.Passwort.value)
  {
   alert("Your passwords do not match!");
   document.Formular.Passwortbest.focus();
   return false;
	}
}
  
function chkFormular_rb()
{
  if(document.Formular.Firma.value == "")
  {
   alert("Bitte geben Sie den Namen der Firma ein!");
   document.Formular.Firma.focus();
   return false;
  }
 if(document.Formular.Vorname.value == "")
  {
   alert("Bitte geben Sie Ihren Vornamen ein!");
   document.Formular.Vorname.focus();
   return false;
  }
   if(document.Formular.Nachname.value == "")
  {
   alert("Bitte geben Sie Ihren Namen ein!");
   document.Formular.Nachname.focus();
   return false;
  }
 if(document.Formular.Strasse.value == "")
  {
   alert("Bitte geben Sie die Strasse an!");
   document.Formular.Strasse.focus();
   return false;
}
if(document.Formular.PLZ.value.length <=  3 )
 {
 alert("Bitte geben Sie die Postleitzahl korrekt an!");
 document.Formular.PLZ.focus();
 return false;
}
 if(document.Formular.Ort.value == "")
  {
   alert("Bitte geben Sie den Wohnort an!");
   document.Formular.Ort.focus();
   return false;
  }

 if(document.Formular.Email.value == "")
  {
   alert("Bitte geben Sie Ihre E-Mail-Adresse ein!");
   document.Formular.Email.focus();
   return false;
  }
 if(document.Formular.Fax.value == "")
  {
   alert("Bitte geben Sie eine Faxnummer ein!");
   document.Formular.Fax.focus();
   return false;
  }
if(document.Formular.Email.value.indexOf('@') == -1)
  {
   alert("Keine gueltige E-Mail-Adresse!");
   document.Formular.Email.focus();
   return false;
  }

 if(document.Formular.Email.value.indexOf('.') == -1)
  {
   alert("Keine gueltige E-Mail-Adresse!");
   document.Formular.Email.focus();
   return false;
  }
if(document.Formular.Passwort.value == "")
  {
   alert("Bitte geben Sie ein Passwort an!");
   document.Formular.Passwort.focus();
   return false;
  }
if(document.Formular.Passwortbest.value == "")
  {
   alert("Bitte bitte bestätigen SIe Ihre Passworteingabe!");
   document.Formular.Passwortbest.focus();
   return false;
	}
	if(document.Formular.Passwortbest.value != document.Formular.Passwort.value)
  {
   alert("Ihre eingebenen Passwörter stimmen nicht überein!");
   document.Formular.Passwortbest.focus();
   return false;
}

}


function chkLogin_e()
{
if(document.Login.EMail.value == "")
  {
   alert("Please enter your email!");
   document.Login.EMail.focus();
   return false;
  }
if(document.Login.EMail.value.indexOf('@') == -1)
  {
   alert("Incorrect email address!");
   document.Login.EMail.focus();
   return false;
  }
 if(document.Login.EMail.value.indexOf('.') == -1)
  {
   alert("Incorrect email address!");
   document.Login.EMail.focus();
   return false;
  }
  if(document.Login.Passwort.value == "")
  {
   alert("Please enter your password!");
   document.Login.Passwort.focus();
   return false;
  }
}
  
function chkLogin()
{
if(document.Login.EMail.value == "")
  {
   alert("Bitte geben Sie Ihre E-Mail-Adresse ein!");
   document.Login.EMail.focus();
   return false;
  }
if(document.Login.EMail.value.indexOf('@') == -1)
  {
   alert("Keine gueltige E-Mail-Adresse!");
   document.Login.EMail.focus();
   return false;
  }

 if(document.Login.EMail.value.indexOf('.') == -1)
  {
   alert("Keine gueltige E-Mail-Adresse!");
   document.Login.EMail.focus();
   return false;
  }
    if(document.Login.Passwort.value == "")
  {
   alert("Bitte geben Sie Ihr Passwort ein!");
   document.Login.Passwort.focus();
   return false;
  }
  if(document.Login.Passwort.value == "")
  {
   alert("Bitte geben Sie Ihr Passwort ein!");
   document.Login.Passwort.focus();
   return false;
  }

}


function chkPA()
{

   if(document.PA.Nachname.value == "")
  {
   alert("Bitte geben Sie Ihren Namen ein!");
   document.PA.Nachname.focus();
   return false;
  }

   if(document.PA.Anzahl.value == "")
  {
   alert("Bitte geben Sie die gewünschte Anzahl ein!");
   document.PA.Anzahl.focus();
   return false;
  }

  if(document.PA.EMail.value == "")
  {
   alert("Bitte geben Sie Ihre E-Mail-Adresse ein!");
   document.PA.EMail.focus();
   return false;
  }
      if(document.PA.EMail.value.indexOf('@') == -1)
  {
   alert("Keine gueltige E-Mail-Adresse!");
   document.PA.EMail.focus();
   return false;
  }
   if(document.PA.EMail.value.indexOf('.') == -1)
  {
   alert("Keine gueltige E-Mail-Adresse!");
   document.PA.EMail.focus();
   return false;
  }
}


function chkPA_e()
{
  if(document.PA.Nachname.value == "")
  {
   alert("Please enter your surname!");
   document.PA.Nachname.focus();
   return false;
  }
 if(document.PA.Anzahl.value == "")
  {
   alert("Please enter the number of tickets!");
   document.PA.Strasse.focus();
   return false;
}
if(document.PA.EMail.value == "")
  {
   alert("Please enter your email!");
   document.PA.EMail.focus();
   return false;
  }
if(document.PA.EMail.value.indexOf('@') == -1)
  {
   alert("Incorrect email address!");
   document.PA.EMail.focus();
   return false;
  }
 if(document.PA.EMail.value.indexOf('.') == -1)
  {
   alert("Incorrect email address!");
   document.PA.EMail.focus();
   return false;
  }
}

function chkFormularLA_e()
{
 if(document.Formular.LA_Vorname.value == "")
  {
   alert("Please enter your first name!");
   document.Formular.LA_Vorname.focus();
   return false;
  }
   if(document.Formular.LA_Nachname.value == "")
  {
   alert("Please enter your surname!");
   document.Formular.LA_Nachname.focus();
   return false;
  }
 if(document.Formular.LA_Strasse.value == "")
  {
   alert("Please enter your street!");
   document.Formular.LA_Strasse.focus();
   return false;
}
if(document.Formular.LA_PLZ.value.length <=  3 )
 {
 alert("Please enter your postal code!");
 document.Formular.LA_PLZ.focus();
 return false;
}
 if(document.Formular.LA_Ort.value == "")
  {
   alert("Please enter your city!");
   document.Formular.LA_Ort.focus();
   return false;
  }
}
  
function chkFormularLA()
{
 if(document.Formular.LA_Vorname.value == "")
  {
   alert("Bitte geben Sie Ihren Vornamen ein!");
   document.Formular.LA_Vorname.focus();
   return false;
  }
   if(document.Formular.LA_Nachname.value == "")
  {
   alert("Bitte geben Sie Ihren Namen ein!");
   document.Formular.LA_Nachname.focus();
   return false;
  }
 if(document.Formular.LA_Strasse.value == "")
  {
   alert("Bitte geben Sie die Strasse an!");
   document.Formular.LA_Strasse.focus();
   return false;
}
if(document.Formular.LA_PLZ.value.length <=  3 )
 {
 alert("Bitte geben Sie die Postleitzahl korrekt an!");
 document.Formular.LA_PLZ.focus();
 return false;
}
 if(document.Formular.LA_Ort.value == "")
  {
   alert("Bitte geben Sie den Wohnort an!");
   document.Formular.LA_Ort.focus();
   return false;
  }
}

function chknewsletter_e()
{

if(document.nl.email.value == "")
  {
   alert("Please enter your email!");
   document.nl.email.focus();
   return false;
  }
if(document.nl.email.value.indexOf('@') == -1)
  {
   alert("Incorrect email address!");
   document.nl.email.focus();
   return false;
  }
 if(document.nl.email.value.indexOf('.') == -1)
  {
   alert("Incorrect email address!");
   document.nl.email.focus();
   return false;
  }
}

function chknewsletter()
{

if(document.nl.email.value == "")
  {
   alert("Bitte EMail Adresse eingeben!");
   document.nl.email.focus();
   return false;
  }
if(document.nl.email.value.indexOf('@') == -1)
  {
   alert("Falsche EMail Adresse!");
   document.nl.email.focus();
   return false;
  }
 if(document.nl.email.value.indexOf('.') == -1)
  {
   alert("Falsche EMail Adresse!");
   document.nl.email.focus();
   return false;
  }
}