/*
 * NL-Anmeldung
 */
function pruefen() {
   if ((document.nlanmeldung.fromnlanmeldungs.checked == false)
   && (document.nlanmeldung.fromnlanmeldungn.checked == false)
   && (document.nlanmeldung.fromnlanmeldungw.checked == false)
   && (document.nlanmeldung.fromnlanmeldungo.checked == false)
   ) {
   alert("Bitte geben Sie an, welchen / welche Newsletter Sie beziehen möchten");
   return false;
   }
   }

/*
 * Diashow
 */
        var diaquellen = ["images/diehr-h.jpg","images/cosler-h.jpg", "images/harder-h.jpg", "images/hempel-h.jpg", "images/brill-h.jpg", "images/mestwerdt-h.jpg","images/zillmer-h.jpg","images/stieldorf-h.jpg","images/kullack-h.jpg","images/walter-h.jpg"];
        var diabilder = [];
        var diaanzahl = diaquellen.length;
        var count = 0;
        for (var i = 0; i < diaanzahl; i++) {
            diabilder[i] = new Image();
            diabilder[i].src = diaquellen[i];
        }
        //Diashow der Bilder aus diaquellen
        function doDiaShow() {
            if (count > (diaanzahl-1)) {
           count = 0;
        }
        document.images["Dia"].src = diabilder[count].src;
        count++;
        setTimeout(doDiaShow, 3000);
        }

        /*
 * Anzeigwechsel Homepage
 */
 <!--
//var content=new Array()

function regenerate(){
        window.location.reload()
}

function regenerate2(){
        if (document.layers){
        appear()
        setTimeout("window.onresize=regenerate",450)
        }
}

function changetext(whichcontent){

        if (document.all||document.getElementById){
                cross_el=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
                cross_el.innerHTML='<span class="smallText9pix">'+whichcontent+'</span>'
        }
        else if (document.layers){
                document.d1.document.d2.document.write('<span class="smallText9pix">'+whichcontent+'</span>')
                document.d1.document.d2.document.close()
        }
}

function appear(){
        document.d1.visibility='show'
}

window.onload=regenerate2
//-->

function oeffnen(url){
  var neuesFenster=window.open(url, "referent", "width=700,height=600,resizable=yes,status=yes,scrollbar=yes");
  neuesFenster.focus();
  return false;
}

function oeffnen1(url){
  var neuesFenster=window.open(url, "PW", "width=520,height=350,resizable=yes,status=yes,scrollbar=yes");
  neuesFenster.focus();
  return false;
}

function oeffnen2(url){
  var neuesFenster=window.open(url, "PW", "width=850,height=750,resizable=yes,status=yes,scrollbar=yes");
  neuesFenster.focus();
  return false;
}