//Installieren
Sprache = "D"
Verweis = new VerweisKlasse()


//Konstruktor
function VerweisKlasse()
{

 //Eigenschaften
 this.Bildordner = "../../Galerie/Bilder/Steuerelemente/"
 this.Bildformat = "gif"
 this.BildsuffixEin = "Ein"
 this.BildsuffixAus = "Aus"
 this.BildsuffixAktuelleSeite = "Akt"

 //Methoden
 this.ein = VerweisEin
 this.aus = VerweisAus
 this.aktuelleSeite = VerweisAktuelleSeite

 //Variablen
 this.BildAktuelleSeite = ""

 //Sprachsuffixe
 this.Sprachsuffix = new Array()
 this.Sprachsuffix["D"] = ""
 this.Sprachsuffix["E"] = "E"
}


//Ein
function VerweisEin(Bild)
{
 if (Browser.Hersteller == "Microsoft" && Browser.Version < 4) return
 if (Bild == this.BildAktuelleSeite) return
 document.images[Bild].src = this.Bildordner + Bild + this.Sprachsuffix[Sprache] + this.BildsuffixEin + "." + this.Bildformat
}


//Aus
function VerweisAus(Bild)
{
 if (Browser.Hersteller == "Microsoft" && Browser.Version < 4) return
 if (Bild == this.BildAktuelleSeite) return
 document.images[Bild].src = this.Bildordner + Bild + this.Sprachsuffix[Sprache] + this.BildsuffixAus + "." + this.Bildformat
}


//Aktuelle Seite
function VerweisAktuelleSeite(Bild)
{
 if (Browser.Hersteller == "Microsoft" && Browser.Version < 4) return
 document.images[Bild].src = this.Bildordner + Bild + this.Sprachsuffix[Sprache] + this.BildsuffixAktuelleSeite + "." + this.Bildformat
 this.BildAktuelleSeite = Bild
}
