// Bild mit Status "normal" zeigen 
function normal() 
{ 
 document[this.bild].src = this.bild_normal.src 
 return true 
} 
// Bild mit Status "aktiv" zeigen 
function aktiv() 
{ 
 document[this.bild].src = this.bild_aktiv.src 
 return true 
} 
// Bild mit Status "gedrueckt" zeigen 
function gedrueckt() 
{ 
 if(!this.bild_gedrueckt) 
 return true 
 document[this.bild].src = this.bild_gedrueckt.src 
 return true 
} 
// Objekt "Dynamische Schaltflaeche" 
function dynamische_schaltflaeche(bildname, dateiname_normal, dateiname_aktiv, dateiname_gedrueckt) 
{ 
 this.bild = bildname 
 this.bild_normal = new Image() 
 this.bild_normal.src = dateiname_normal 
 this.bild_aktiv = new Image() 
 this.bild_aktiv.src = dateiname_aktiv 
 if(dateiname_gedrueckt) 
{ 
 this.bild_gedrueckt = new Image() 
 this.bild_gedrueckt.src = dateiname_gedrueckt 
} 
 this.normal = normal 
 this.aktiv = aktiv 
 this.gedrueckt = gedrueckt 
 
 return this 
} 
ObjButton1 = new dynamische_schaltflaeche("Button1", 
                                          "images/button1.gif", 
                                          "images/button1_aktiv.gif", 
                                          "images/button1_gedrueckt.gif") 
ObjButton2 = new dynamische_schaltflaeche("Button2", 
                                          "images/button2.gif", 
                                          "images/button2_aktiv.gif", 
                                          "images/button2_gedrueckt.gif") 
ObjButton3 = new dynamische_schaltflaeche("Button3", 
                                          "images/button3.gif", 
                                          "images/button3_aktiv.gif", 
                                          "images/button3_gedrueckt.gif") 
ObjButton4 = new dynamische_schaltflaeche("Button4", 
                                          "images/button4.gif", 
                                          "images/button4_aktiv.gif", 
                                          "images/button4_gedrueckt.gif") 
ObjButton5 = new dynamische_schaltflaeche("Button5", 
                                          "images/button5.gif", 
                                          "images/button5_aktiv.gif", 
                                          "images/button5_gedrueckt.gif") 
ObjErklaerung1 = new dynamische_schaltflaeche("Erklaerung", 
                                              "images/leer.gif", 
                                              "images/erklaerung_1.gif") 
ObjErklaerung2 = new dynamische_schaltflaeche("Erklaerung", 
                                              "images/leer.gif", 
                                              "images/erklaerung_2.gif") 
ObjErklaerung3 = new dynamische_schaltflaeche("Erklaerung", 
                                              "images/leer.gif", 
                                              "images/erklaerung_3.gif") 
ObjErklaerung4 = new dynamische_schaltflaeche("Erklaerung", 
                                              "images/leer.gif", 
                                              "images/erklaerung_4.gif") 
ObjErklaerung5 = new dynamische_schaltflaeche("Erklaerung", 
                                              "images/leer.gif", 
                                              "images/erklaerung_5.gif") 


