      function Passw() 
       { 
       var password = 'Bitte geben Sie hier Ihr Passwort ein!' 
       password=prompt('Passwortgeschuetzter Bereich. Ihr Passwort:',''); 
        
       location.href= password + "/index.php"; 
       } 

       function Passw1() 
       { 
       var password1 = 'Bitte geben Sie hier Ihr Passwort ein!' 
       password1=prompt('Passwortgeschuetzter Bereich. Ihr Passwort:',''); 
       
       location.href= password1 + "/formulare.html";
       } 

  	function Neuladen(){     /*    reload kann der IE,  ref= # ist für Firefox  */
  	 location.reload();
  	 window.location.href = "#";

  	 }
  	 
  	 /* Berechnung des Textstrings aus dem Änderungsdatum  */
  	 var Tagtext = "";
        var Datumstring = ""; 
        
  	 /*var moddatum = new Date("April 1, 2006 22:48:00");   Auslesen des Modifizierungsdatums */
  	 var moddatum = new Date(document.lastModified);  /* Auslesen des Modifizierungsdatums */
  	 
  	 /*  Aus der Nummer des Wochentags den eigentlichen Text erzeugen */
  	 var TagInWoche = moddatum.getDay();
  	 var Wochentag = new Array("Sonntag", "Montag", "Dienstag", "Mittwoch","Donnerstag", "Freitag", "Samstag"); 
  	 
  	  /* Bei Datumstagen unter 10 eine "Null" davor stellen  */
 	 var Tag = moddatum.getDate();  
 	  if  (Tag < 10)  { Tagtext = "0"+ Tag;} else Tagtext=Tag;
 	   
 	  /* Aus der Monatszahl den Monatstext erzeugen */
 	  var MonatZahl = moddatum.getMonth(); 
 	  var Monat = new Array("Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember");
 	  
 	  var Jahr = moddatum.getFullYear();
 	  
 	  /* Den Datumsstring zusammensetzen   */
 	  Datumstring = " "+ Wochentag[TagInWoche]+" ,  "+Tagtext+ "."+Monat[MonatZahl]+"."+Jahr;    
                          
  	  /* Den String ausgeben */
  	  function Datumsauagabe() {
  	  document.writeln (" " + Datumstring  + " ");
  	  }
  	  
  	  
function gallery()
{
	if (i == 1)
		document.getElementById('previous').value=""
}

function previmg()
{
	if (i != 1)
	{
		i --
		document.img.src = images[i]
		document.getElementById('next').value = "Nächstes >"
	}
	if (i == 1)
		document.getElementById('previous').value=""
}


function pickrand()
{
	var rand1 = Math.round( (AnzPic-1) * Math.random()) + 1;
	document.img.src = images[rand1]
	i = rand1
	if (i == 1)
		document.getElementById('previous').value="";
	else
		document.getElementById('previous').value="< Vorheriges";

	if (i == 6)
		document.getElementById('next').value="";
	else
		document.getElementById('next').value="Nächstes >";
}

function firstimg()
{
	i = 1
	document.img.src = images[i];
	document.getElementById('previous').value=" ";
	document.getElementById('next').value="Nächstes >"
}

function lastimg()
{
	i = AnzPic
	document.img.src = images[i];
	document.getElementById('next').value=" ";
	document.getElementById('previous').value="< Vorheriges";
}

function nextimg()
{
	if (i != AnzPic)
	{
		i ++;
		document.img.src = images[i];
		document.getElementById('previous').value="< Vorheriges";
	}

	if (i ==AnzPic)
		document.getElementById('next').value="";

}

function zweite(ind)
{
		document.img.src = images[ind];
		i	= ind;
}

function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=400,height=380,scrollbars=yes');
return false;
}

  	   	  
  	  