//Ulead(R) RollOverButton(TM) 1.0 Generated JavaScript.
nMaxItem = 4;
NameIndex = 0;
DefaultState = 1;
MouseOverState = 2;
MouseDownState = 3;
imgCounter = 0;

ImageList = new Array();

bIsSupportOK = (
((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) ||
((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
);

function AddImageToImageList(name, Default, MouseOver, MouseDown)
{
ImageList[imgCounter] = new Array(nMaxItem);
ImageList[imgCounter][NameIndex] = name;
ImageList[imgCounter][DefaultState] = new Image();
ImageList[imgCounter][DefaultState].src = Default;
if (MouseOver != "") {
ImageList[imgCounter][MouseOverState] = new Image();
ImageList[imgCounter][MouseOverState].src = MouseOver;
}
if (MouseDown != "") {
ImageList[imgCounter][MouseDownState] = new Image();
ImageList[imgCounter][MouseDownState].src = MouseDown;
}
imgCounter++;
}

function ReplaceImage(name, state)
{
for (i = 0; i < imgCounter; i++) {
if (document.images[ImageList[i][NameIndex]] != null) {
if ((name == ImageList[i][NameIndex]) && (ImageList[i][state] != null))
document.images[name].src = ImageList[i][state].src;
}
}
}
AddImageToImageList("Home", "buttons/Home.gif", "buttons/Home-ov.gif", "buttons/Home-cl.gif");
AddImageToImageList("Ltuerme", "buttons/Leuchttuerme.gif", "buttons/Leuchttuerme-ov.gif", "buttons/Leuchttuerme-cl.gif");
AddImageToImageList("Kloen", "buttons/Kloen.gif", "buttons/Kloen-ov.gif", "buttons/Kloen-cl.gif");
AddImageToImageList("Gaeste", "buttons/Gaestebuch.gif", "buttons/Gaestebuch-ov.gif", "buttons/Gaestebuch-cl.gif");
AddImageToImageList("Kontakt", "buttons/Kontakt.gif", "buttons/Kontakt-ov.gif", "buttons/Kontakt-cl.gif");
AddImageToImageList("NW-Karte", "buttons/NW-Karte.gif", "buttons/NW-Karte-ov.gif", "buttons/NW-Karte-cl.gif");
AddImageToImageList("BHV", "buttons/BHV.gif", "buttons/BHV-ov.gif", "buttons/BHV-cl.gif");
AddImageToImageList("WHV", "buttons/WHV.gif", "buttons/WHV-ov.gif", "buttons/WHV-cl.gif");
AddImageToImageList("Abbrechen", "buttons/Abbrechen.gif", "buttons/Abbrechen-ov.gif", "buttons/Abbrechen-cl.gif");
AddImageToImageList("Pfeil-li", "buttons/Pfeil-li.gif", "buttons/Pfeil-li-ov.gif", "buttons/Pfeil-li-cl.gif");
AddImageToImageList("Pfeil-re", "buttons/Pfeil-re.gif", "buttons/Pfeil-re-ov.gif", "buttons/Pfeil-re-cl.gif");
AddImageToImageList("UF-Sandstedt", "bhv/bilder/UF-Sandstedt.jpg", "bhv/bilder/UF-Sandstedt-ov.jpg", "bhv/bilder/UF-Sandstedt-ov.jpg");
AddImageToImageList("Molenturm", "bhv/bilder/Lturm_Geeste-Mole.jpg", "bhv/bilder/Lturm_Geeste-Mole-ov.jpg", "bhv/bilder/Lturm_Geeste-Mole-ov.jpg");