<!--

		var img1 = "img/startbild_1.jpg"
		var img2 = "img/startbild_2.jpg"
		var img3 = "img/startbild_3.jpg"
		var img4 = "img/startbild_4.jpg"
		var img5 = "img/startbild_5.jpg"
		//var img6 = "img/kopf/kopf_6.jpg"
		//var img7 = "img/kopf/kopf_7.jpg"
		//var img8 = "img/kopf/kopf_8.jpg"
		//var img9 = "img/kopf/kopf_9.jpg"
		//var img10 = "img/kopf/kopf_10.jpg"
				
	
		var randomize = Math.round(Math.random()*5)
		if (randomize == 1){
		newimg1 = img1
		}else if (randomize == 2){
		newimg1 = img2
		}else if (randomize ==3){
		newimg1 = img3
		}else if (randomize ==4){
		newimg1 = img4
		}else{
		newimg1 = img5
		}
		document.write('<IMG width="640" height="300" SRC="'+newimg1+'" border="0">')
		
		
// globale Zählervariable
var charsToGo;

function charCounter(charInputSrcName, maxCharCount, outputTargetName) {

   // Zugriffsvariablen festlegen
   var charInputSrc = document.getElementById(charInputSrcName);
   var outputTargetSrc = document.getElementById(outputTargetName);

   if (charInputSrc != null) {
      // Länge des Feldinhaltes prüfen
      if (charInputSrc.value.length <= maxCharCount) {
         // Anzahl Restzeichen berechnen und Zeichenanzeige aktualisieren
         charsToGo = maxCharCount - charInputSrc.value.length;
         outputTargetSrc.innerHTML = '(' + charsToGo + '&nbsp;Zeichen)';
      }
      else 
         // Eingegebenes Zeichen wieder abschneiden
         charInputSrc.value = charInputSrc.value.substring(0, maxCharCount);
         charsToGo = maxCharCount - charInputSrc.value.length;
      }
}

function counterOutput(charInputSrcName, maxCharCount, outputTargetName)
{
   // Zugriffsvariablen festlegen
   var charInputSrc = document.getElementById(charInputSrcName);

   // globale Variable prüfen
   if (charsToGo == null) { 
      // Ausgabewert berechnen
      charsCount = maxCharCount - charInputSrc.value.length; }
   else 
      // Ausgabefeld initialisieren
      charsCount = charsToGo; 
         document.write('<span name=\"' 
            + outputTargetName + '\" id=\"' + outputTargetName +'\">(' 
            + charsCount + '&nbsp;Zeichen)</span>')
}


function OpenWindow(WinWidth,WinHeight,Link,WindowName)
{window.open(Link,WindowName,'toolbar=0,width='+WinWidth+',height='+WinHeight+',location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0,top=50,left=350')}

	
		
	//-->
