        function startaposuche(Auswahl)
                {
                if ( Auswahl.aposuchmenue.selectedIndex == "2" )
                        {
                        self.location = "asp/apoindex_erw_formv12.asp";
                        }
                if ( Auswahl.aposuchmenue.selectedIndex == "3" )
                        {
                        self.location = "asp/indeintragv12.asp";
                        }
                if ( Auswahl.aposuchmenue.selectedIndex == "4" )
                        {
                        self.location = "asp/apoindex_newv12.asp";
                        }																								
        //      alert(Auswahl);
                }
        //-->
        <!--
        function startstat(Auswahl)
                {
                if ( Auswahl.statmenue.selectedIndex == "2" )
                        {
                        self.location = "asp/apoindex_regiov12.asp";
                        }
                if ( Auswahl.statmenue.selectedIndex == "3" )
                        {
                        self.location = "asp/apoindex_ortv12.asp";
                        }
                if ( Auswahl.statmenue.selectedIndex == "4" )
                        {
                        self.location = "asp/apoindex_prov12.asp";
                        }	
                if ( Auswahl.statmenue.selectedIndex == "5" )
                        {
                        self.location = "asp/apoindex_barov12.asp";
                        }																																																																																																																																															
                if ( Auswahl.statmenue.selectedIndex == "6" )
                        {
                        self.location = "asp/apoindex_anzv12.asp";
                        }	
        //      alert(Auswahl);
                }
        //-->
        <!--
function PopUp(URL)
{
    var Name = "ApoIndex-Sponsoring";
    var Fensteroptionen = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,top=10,left=10";
    var Breite = 820;
    var Hoehe = 630;
    window.open(URL, 'Name', Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe);
}


function Eingabecheck (Apo_Eintrag) {
	if (document.Apo_Eintrag.Apotheke.value == ""){
		alert ("Bitte geben Sie einen Apothekennamen ein!");
       document.Apo_Eintrag.Apotheke.focus();
       return;
       }
	if (document.Apo_Eintrag.Strasse.value == ""){
		alert ("Bitte geben Sie eine Strasse ein!");
       document.Apo_Eintrag.Strasse.focus();
       return;
       }
	if (document.Apo_Eintrag.PLZ.value == ""){
		alert ("Bitte geben Sie eine Postleitzahl ein!");
       document.Apo_Eintrag.PLZ.focus();
       return;
       }
	if (document.Apo_Eintrag.PLZ.value < 1000){
		alert ("Bitte geben Sie eine vollständige PLZ ein!");
       document.Apo_Eintrag.PLZ.focus();
       return;
       }
	if (document.Apo_Eintrag.Ort.value == ""){
		alert ("Bitte geben Sie einen Ortsnamen ein!");
       document.Apo_Eintrag.Ort.focus();
       return;
       }
	if (document.Apo_Eintrag.Inhaber.value == ""){
		alert ("Bitte benennen Sie den Apothekeninhaber!");
       document.Apo_Eintrag.Inhaber.focus();
       return;
       }
	if (document.Apo_Eintrag.Telefon.value == ""){
		alert ("Bitte geben Sie die Telefonnummer ein!");
       document.Apo_Eintrag.Telefon.focus();
       return;
       }
	if (document.Apo_Eintrag.Kommentar.value.length > 250) { 
		alert("Im Textfeld sind leider nur 250 Zeichen erlaubt."); 
       document.Apo_Eintrag.Kommentar.focus();
       return;
       }
	   submit('Apo_Eintrag');
		}


function submit(formular) {
   document[formular].submit();
}	


