// Browsercheck - IE oder NN
nn=document.layers
ie=document.all
function Loading_verstecken(){
 if(ie || nn){
  if(nn)
   document.waitDiv.visibility="hidden"
  else
   waitDiv.style.visibility="hidden"
 }
}


function mOvr(src,clrOver) {
		src.style.cursor = 'hand';
		src.bgColor = clrOver;
}

function mOvr2(src,clrOver) {
		src.style.cursor = 'default';
		src.bgColor = clrOver;
}
function mOut(src,clrIn) {
		src.style.cursor = 'default';
		src.bgColor = clrIn;
}
function mURL(theURL,winName) {
  window.open(theURL,winName);
}

function Picture(Bild){
theURL='popup_picture.php?PICTURE='+Bild;
 window.open(theURL,'','titlebar=no,width=10,height=10,toolbar=no,resizeable=no,status=no,scrollbars=no');
}

function popup(indice,w,h){
	var openWindow = self.open(indice,"","left=100,top=100,width="+w+",height="+h+",menubar=no,toolbar=yes,scrollbars=yes, resizable=yes");
}


<!--  Für Kontaktformular
function chkForm_contact(){
if(document.Kontaktform.name.value == "")
      {
                       alert("Eingabe fehlt.");
       document.Kontaktform.name.focus();
       return false;
      }
          else{
                  if(document.Kontaktform.name.value.length <2)
                      {
                       alert("Eingabe fehlt");
                       document.Kontaktform.name.focus();
                       document.Kontaktform.name.value = '';
                       return false;
                      }
          }
		  
 if(document.Kontaktform.vorname.value == "")
      {
                       alert("Eingabe fehlt.");
       document.Kontaktform.vorname.focus();
       return false;
      }
          else{
                  if(document.Kontaktform.vorname.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.Kontaktform.vorname.focus();
                       document.Kontaktform.vorname.value = '';
                       return false;
                      }
          }
		  

      if(document.Kontaktform.strasse.value == "")
      {
                       alert("Eingabe fehlt.");
       document.Kontaktform.strasse.focus();
       return false;
      }
          else{
                  if(document.Kontaktform.strasse.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.Kontaktform.strasse.focus();
                       document.Kontaktform.strasse.value = '';
                       return false;

                      }

          }
         if(document.Kontaktform.plz.value == "")
      {
                       alert("Eingabe fehlt.");
       document.Kontaktform.plz.focus();
       return false;
      }
          else{
                  if(document.Kontaktform.plz.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.Kontaktform.plz.focus();
                       document.Kontaktform.plz.value = '';
                       return false;
                      }
          }

     if(document.Kontaktform.ort.value == "")
      {
                       alert("Eingabe fehlt.");
       document.Kontaktform.ort.focus();
       return false;
      }
          else{
                  if(document.Kontaktform.ort.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.Kontaktform.ort.focus();
                       document.Kontaktform.ort.value = '';
                       return false;
                      }
          }


	 
	 
	  if(document.Kontaktform.telefon.value == "")
      {
                       alert("Eingabe fehlt.");
       document.Kontaktform.telefon.focus();
       return false;
      }
          else{
                  if(document.Kontaktform.telefon.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.Kontaktform.telefon.focus();
                       document.Kontaktform.telefon.value = '';
                       return false;
                      }
          }
	 
     
 
		 
		  if(document.Kontaktform.email.value == "")
      {
                       alert("Eingabe fehlt.");
       document.Kontaktform.email.focus();
       return false;
      }
          else{
                 if (document.Kontaktform.email.value.indexOf(' ') != -1 || document.Kontaktform.email.value.indexOf('@') == -1 || document.Kontaktform.email.value.indexOf('.') == -1 || document.Kontaktform.email.value.length <8) {
                  document.Kontaktform.email.focus();
                       alert("Eingabe fehlt.");
                  document.Kontaktform.email.value = '';
                   return false;
                      }
          }
		 
}

<!--  Für Zahlungsform
function chkForm_zahlung(){
if(document.zahlungsform.sfeldresnr.value == "")
      {
                       alert("Eingabe fehlt.");
       document.zahlungsform.sfeldresnr.focus();
       return false;
      }
          else{
                  if(document.zahlungsform.sfeldresnr.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.zahlungsform.sfeldresnr.focus();
                       document.zahlungsform.sfeldresnr.value = '';
                       return false;
                      }
          }

if(document.zahlungsform.sname.value == "")
      {
                       alert("Eingabe fehlt.");
       document.zahlungsform.sname.focus();
       return false;
      }
          else{
                  if(document.zahlungsform.sname.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.zahlungsform.sname.focus();
                       document.zahlungsform.sname.value = '';
                       return false;
                      }
          }
		  
 if(document.zahlungsform.svorname.value == "")
      {
                       alert("Eingabe fehlt.");
       document.zahlungsform.svorname.focus();
       return false;
      }
          else{
                  if(document.zahlungsform.svorname.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.zahlungsform.svorname.focus();
                       document.zahlungsform.svorname.value = '';
                       return false;
                      }
          }
		   
	 
	  if(document.zahlungsform.sfeldtotal.value == "")
      {
                       alert("Eingabe fehlt.");
       document.zahlungsform.sfeldtotal.focus();
       return false;
      }
          else{
                  if(document.zahlungsform.sfeldtotal.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.zahlungsform.sfeldtotal.focus();
                       document.zahlungsform.sfeldtotal.value = '';
                       return false;
                      }
          }
	 
		 
		  if(document.zahlungsform.semail.value == "")
      {
                       alert("Eingabe fehlt.");
       document.zahlungsform.semail.focus();
       return false;
      }
          else{
                 if (document.zahlungsform.email.value.indexOf(' ') != -1 || document.zahlungsform.semail.value.indexOf('@') == -1 || document.zahlungsform.semail.value.indexOf('.') == -1 || document.zahlungsform.semail.value.length <8) {
                  document.zahlungsform.semail.focus();
                       alert("Eingabe fehlt.");
                  document.zahlungsform.semail.value = '';
                   return false;
                      }
          }
		 
}
<!--  Für Buchungsinfo
function chkForm_buchungsinfo(){
if(document.Buchung_check_form.RESNR.value == "")
      {
                       alert("RESNR Eingabe fehlt.");
       document.Buchung_check_form.RESNR.focus();
       return false;
      }
          else{
                  if(document.Buchung_check_form.RESNR.value.length <2)
                      {
                       alert("RESNR Eingabe fehlt.");
                       document.Buchung_check_form.RESNR.focus();
                       document.Buchung_check_form.RESNR.value = '';
                       return false;
                      }
          }

if(document.Buchung_check_form.RESNAME.value == "")
      {
                       alert("Achternaam Eingabe fehlt.");
       document.Buchung_check_form.RESNAME.focus();
       return false;
      }
          else{
                  if(document.Buchung_check_form.RESNAME.value.length <2)
                      {
                       alert("Achternaam Eingabe fehlt.");
                       document.Buchung_check_form.RESNAME.focus();
                       document.Buchung_check_form.RESNAME.value = '';
                       return false;
                      }
          }

}


<!--  Für buchung_flug_formular
function chkForm_buchung_flug_form(){

if(document.buchung_flug_form.NAME.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_flug_form.NAME.focus();
       return false;
      }
          else{
                  if(document.buchung_flug_form.NAME.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_flug_form.NAME.focus();
                       document.buchung_flug_form.NAME.value = '';
                       return false;
                      }
          }
		  
 if(document.buchung_flug_form.VORNAME.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_flug_form.VORNAME.focus();
       return false;
      }
          else{
                  if(document.buchung_flug_form.VORNAME.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_flug_form.VORNAME.focus();
                       document.buchung_flug_form.VORNAME.value = '';
                       return false;
                      }
          }
		  

         if(document.buchung_flug_form.PLZ.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_flug_form.PLZ.focus();
       return false;
      }
          else{
                  if(document.buchung_flug_form.PLZ.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_flug_form.PLZ.focus();
                       document.buchung_flug_form.PLZ.value = '';
                       return false;
                      }
          }

     if(document.buchung_flug_form.ORT.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_flug_form.ORT.focus();
       return false;
      }
          else{
                  if(document.buchung_flug_form.ORT.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_flug_form.ORT.focus();
                       document.buchung_flug_form.ORT.value = '';
                       return false;
                      }
          }


	 
	 
	  if(document.buchung_flug_form.TELEFON.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_flug_form.TELEFON.focus();
       return false;
      }
          else{
                  if(document.buchung_flug_form.TELEFON.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_flug_form.TELEFON.focus();
                       document.buchung_flug_form.TELEFON.value = '';
                       return false;
                      }
          }
	 
     
 
		 
		  if(document.buchung_flug_form.EMAIL.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_flug_form.EMAIL.focus();
       return false;
      }
          else{
                 if (document.buchung_flug_form.EMAIL.value.indexOf(' ') != -1 || document.buchung_flug_form.EMAIL.value.indexOf('@') == -1 || document.buchung_flug_form.EMAIL.value.indexOf('.') == -1 || document.buchung_flug_form.EMAIL.value.length <8) {
                  document.buchung_flug_form.EMAIL.focus();
                       alert("Eingabe fehlt.");
                  document.buchung_flug_form.EMAIL.value = '';
                   return false;
                      }
          }
		 

if(document.buchung_flug_form.CHECKAGB.checked==false)
{
alert("Bitte bestätigen Sie die AGB´s");
       document.buchung_flug_form.CHECKAGB.focus();
return false
}
}


<!--  Für buchung_hotel_formular
function chkForm_buchung_hotel_form(){

if(document.buchung_hotel_form.NAME.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_hotel_form.NAME.focus();
       return false;
      }
          else{
                  if(document.buchung_hotel_form.NAME.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_hotel_form.NAME.focus();
                       document.buchung_hotel_form.NAME.value = '';
                       return false;
                      }
          }
		  
 if(document.buchung_hotel_form.VORNAME.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_hotel_form.VORNAME.focus();
       return false;
      }
          else{
                  if(document.buchung_hotel_form.VORNAME.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_hotel_form.VORNAME.focus();
                       document.buchung_hotel_form.VORNAME.value = '';
                       return false;
                      }
          }
		  

         if(document.buchung_hotel_form.PLZ.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_hotel_form.PLZ.focus();
       return false;
      }
          else{
                  if(document.buchung_hotel_form.PLZ.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_hotel_form.PLZ.focus();
                       document.buchung_hotel_form.PLZ.value = '';
                       return false;
                      }
          }

     if(document.buchung_hotel_form.ORT.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_hotel_form.ORT.focus();
       return false;
      }
          else{
                  if(document.buchung_hotel_form.ORT.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_hotel_form.ORT.focus();
                       document.buchung_hotel_form.ORT.value = '';
                       return false;
                      }
          }


	 
	 
	  if(document.buchung_hotel_form.TELEFON.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_hotel_form.TELEFON.focus();
       return false;
      }
          else{
                  if(document.buchung_hotel_form.TELEFON.value.length <2)
                      {
                       alert("Eingabe fehlt.");
                       document.buchung_hotel_form.TELEFON.focus();
                       document.buchung_hotel_form.TELEFON.value = '';
                       return false;
                      }
          }
	 
     
 
		 
		  if(document.buchung_hotel_form.EMAIL.value == "")
      {
                       alert("Eingabe fehlt.");
       document.buchung_hotel_form.EMAIL.focus();
       return false;
      }
          else{
                 if (document.buchung_hotel_form.EMAIL.value.indexOf(' ') != -1 || document.buchung_hotel_form.EMAIL.value.indexOf('@') == -1 || document.buchung_hotel_form.EMAIL.value.indexOf('.') == -1 || document.buchung_hotel_form.EMAIL.value.length <8) {
                  document.buchung_hotel_form.EMAIL.focus();
                       alert("Eingabe fehlt.");
                  document.buchung_hotel_form.EMAIL.value = '';
                   return false;
                      }
          }
		 

	if(document.buchung_hotel_form.CHECKAGB.checked==false)
	{
	alert("Bitte bestätigen Sie die AGB´s");
	return false
	}
}



<!--

function Roundtripselected()
{ 
 document.all.radioROUTERT.checked=true; 
 document.all.xVON2.disabled=false;
 document.all.xNACH2.disabled=false;
 document.all.cFLUGTAG2.disabled=false;
 document.all.calrck.disabled=false;
 document.all.RTLISTE.disabled=false;

}

function Onewayselected()
{
 document.all.radioROUTEOW.checked=true;
 document.all.xVON2.disabled=true;
 document.all.xNACH2.disabled=true;
 document.all.cFLUGTAG2.disabled=true; 
 document.all.calrck.disabled=true; 
 document.all.RTLISTE.disabled=true;
}
//-->


<!--
function set_preis(erw_preis,chd_preis,inf_preis, tax_preis,erw_zahl, chd_zahl, inf_zahl, art, wert)
{
     var erw_preis1=0;	
     var erw_preis2=0;	
     var chd_preis1=0;	
     var chd_preis2=0;	
     var inf_preis1=0;	
     var inf_preis2=0;	
     var erstezahl, zweitezahl, ergebnis;
	 

	 
	
	document.all.ERW_Z.innerHTML ="";
	document.all.CHD_Z.innerHTML ="";
	document.all.INF_Z.innerHTML ="";
	document.all.ERW_ZR.innerHTML ="";
	document.all.CHD_ZR.innerHTML ="";
	document.all.INF_ZR.innerHTML ="";
	if (erw_zahl>0 ) { document.all.ERW_Z.innerHTML =erw_zahl+" X";}
	if (chd_zahl>0 ) { document.all.CHD_Z.innerHTML =chd_zahl+" X";}
	if (inf_zahl>0 ) { document.all.INF_Z.innerHTML =inf_zahl+" X";}

	if (erw_zahl>0 ) { document.all.ERW_ZR.innerHTML =erw_zahl+" X";}
	if (chd_zahl>0 ) { document.all.CHD_ZR.innerHTML =chd_zahl+" X";}
	if (inf_zahl>0 ) { document.all.INF_ZR.innerHTML =inf_zahl+" X";}

	document.all.TAX_Z.innerHTML =erw_zahl+chd_zahl+inf_zahl+" X";
	ges_zahl=erw_zahl+chd_zahl+inf_zahl;

	if (art==1 ) {
	 erw_preis=Number(erw_preis);
     var erw_preis1=erw_zahl*erw_preis;	

	 chd_preis=Number(chd_preis);
     var chd_preis1=chd_zahl*chd_preis;	
	 var tax_preis1=ges_zahl*tax_preis;	

	 inf_preis=Number(inf_preis);
     var inf_preis1=inf_zahl*inf_preis;	
	 if (erw_zahl>0 ) { 
	    document.all.ERW_H_PREIS.innerHTML = erw_preis.toFixed(2)+"  ="; 
	    document.all.ERW_GH_PREIS.innerHTML = erw_preis1.toFixed(2); 
		}
	 if (chd_zahl>0 ) { 
	    document.all.CHD_H_PREIS.innerHTML  = chd_preis.toFixed(2)+"  =";
	    document.all.CHD_GH_PREIS.innerHTML = chd_preis1.toFixed(2);
		}
	 if (inf_zahl>0 ) { 
	    document.all.INF_H_PREIS.innerHTML = inf_preis.toFixed(2)+"  =";
	    document.all.INF_GH_PREIS.innerHTML = inf_preis1.toFixed(2);
		}
	  document.all.TAX_H_PREIS.innerHTML 				     = tax_preis.toFixed(2)+"  ="; 
	  document.all.TAX_GH_PREIS.innerHTML 				     = tax_preis1.toFixed(2); 
 	  ges_hp=(ges_zahl*tax_preis)+erw_preis1+chd_preis1+inf_preis1;
	  document.all.GES_H_PREIS.innerHTML = ges_hp.toFixed(2);
	 document.all.SUMME_HIN.value=ges_hp.toFixed(2);

	}

	if (art==2 ) {
	
	 erw_preis=Number(erw_preis);
     var erw_preis2=erw_zahl*erw_preis;	

	 chd_preis=Number(chd_preis);
     var chd_preis2=chd_zahl*chd_preis;	

	 inf_preis=Number(inf_preis);
     var inf_preis2=inf_zahl*inf_preis;
	 var tax_preis2=ges_zahl*tax_preis;	
	 
	   if (erw_zahl>0 ) { 
	      document.all.ERW_R_PREIS.innerHTML = erw_preis.toFixed(2)+"  ="; 
	      document.all.ERW_GR_PREIS.innerHTML = erw_preis2.toFixed(2); 
		  }
	   if (chd_zahl>0 ) { 
	      document.all.CHD_R_PREIS.innerHTML = chd_preis.toFixed(2)+"  =" ; 
	      document.all.CHD_GR_PREIS.innerHTML = chd_preis2.toFixed(2); 
		  }
	   if (inf_zahl>0 ) { 
	      document.all.INF_R_PREIS.innerHTML = inf_preis.toFixed(2)+"  ="; 
	      document.all.INF_GR_PREIS.innerHTML = inf_preis2.toFixed(2); 
		  }
	  document.all.TAX_R_PREIS.innerHTML 				     = tax_preis.toFixed(2)+"  ="; 
	  document.all.TAX_GR_PREIS.innerHTML 				     = tax_preis2.toFixed(2); 
 	  ges_hr=(ges_zahl*tax_preis)+erw_preis2+chd_preis2+inf_preis2;
	  document.all.GES_R_PREIS.innerHTML = ges_hr.toFixed(2);
	 document.all.SUMME_RUCK.value=ges_hr.toFixed(2);

	}


erstezahl=document.all.SUMME_HIN.value;
erstezahl=eval(erstezahl);
zweitezahl=document.all.SUMME_RUCK.value;
zweitezahl=eval(zweitezahl);
ergebnis=erstezahl+zweitezahl;
document.all.SUMME_TOTAL.innerHTML=ergebnis.toFixed(2)+ " €"; 

//	ERW_P = Number(document.all.ERW_GH_PREIS.innerHTML)+Number(document.all.ERW_GR_PREIS.innerHTML);
//	document.all.ERW_PREIS.innerHTML = ERW_P.toFixed(2);
	
//	CHD_P = Number(document.all.CHD_GH_PREIS.innerHTML)+Number(document.all.CHD_GR_PREIS.innerHTML;
//	document.all.CHD_PREIS.innerHTML = CHD_P.toFixed(2);
	
//	INF_P = Number(document.all.INF_GH_PREIS.innerHTML)+Number(document.all.INF_GR_PREIS.innerHTML);
//	document.all.INF_PREIS.innerHTML = INF_P.toFixed(2);
	
//	TAX_P = Number(document.all.TAX_GH_PREIS.innerHTML)+Number(document.all.TAX_GR_PREIS.innerHTML);
//	document.all.TAX_PREIS.innerHTML = TAX_P.toFixed(2);
	
//	GES_P = Number(document.all.GES_H_PREIS.innerHTML)+Number(document.all.GES_R_PREIS.innerHTML);
//	document.all.GES_PREIS.innerHTML = GES_P.toFixed(2);
	
	
}


