var heute = new Date();
var Monat = heute.getMonth()+1;
switch (Monat) {
case 1:
this.location.href="januar.html";
break;
case 2:
this.location.href="februar.html";
break;
case 3:
this.location.href="maerz.html";
break;
case 4:
this.location.href="april.html";
break;
case 5:
this.location.href="mai.html";
break;
case 6:
this.location.href="juni.html";
break;
case 7:
this.location.href="juli.html";
break;
case 8:
this.location.href="august.html";
break;
case 9:
this.location.href="september.html";
break;
case 10:
this.location.href="oktober.html";
break;
case 11:
this.location.href="november.html";
break;
case 12:
this.location.href="dezember.html";
break;
default:
document.write("Datum nicht erkannt");
break;
}
>