chris: Wie kann ich den Hintergrund meiner Site Stündlich wechseln

Beitrag lesen

<html>
<head>
<title></title>
</head>
<script language="JavaScript">
<!--
  today = new Date()
    if(today.getMinutes() < 10){
        pad = "0"}
    else
    pad = "";
  document.write    ;if((today.getHours() >=6) && (today.getHours() <11)){
document.write("<body background="border1.png" bgproperties=fixed>") //nach 6 Uhr bis 11 Uhr
}
   if((today.getHours() >=11) && (today.getHours() <13)){
document.write("<body background="border2.png" bgproperties=fixed>") //nach 11 Uhr bis 13 Uhr
}
    if((today.getHours() >=13) && (today.getHours() <18)){
document.write("<body background="border3.png" bgproperties=fixed>") // nach 12 Uhr bis 16 Uhr
}
    if((today.getHours() >=18) && (today.getHours() <23)){
document.write("<body background="border4.png" bgproperties=fixed>") //nach 17 Uhr bis 23 Uhr
}
    if((today.getHours() >=23) && (today.getHours() <24)){
document.write("<body background="border1.png" bgproperties=fixed>")
}
    if((today.getHours() >=0) && (today.getHours() <4)){
document.write("<body background="border1.png" bgproperties=fixed>")
}
    if((today.getHours() >=4) && (today.getHours() <6)){
document.write("<body background="border1.png" bgproperties=fixed>")
}
//-->
</script>
</body>
</html>

So das ist das skript aber es klappt nicht!!!!