//***** IE-Center navigation 0.9 01.03.98 by Kai Schätzl *****//
//***** Unauthorized re-use prohibited, please mail iec@conactive.com *****//
var lastLink;
var pressedButton;

function OverMe()
{
	if (document.all(window.event.srcElement.id).className == "buttonOff") {
		document.all(window.event.srcElement.id).className = "buttonUp";
	}
}

function OverMeNot()
{
	if (document.all(window.event.srcElement.id).className == "buttonUp") {
		document.all(window.event.srcElement.id).className = "buttonOff";
	}
}

function PressMe()
{
window.event.cancelBubble = "true";
if (document.all(window.event.srcElement.id).className == "buttonPress") {
	if (pressedButton != null) {
		document.all(window.event.srcElement.id).className = "buttonOff";
		document.all[pressedButton + "1"].className = "dropOff";
	}
	document.all(window.event.srcElement.id).className = "buttonUp";
	pressedButton = document.all(window.event.srcElement.id).id;
	}
else {
		if (pressedButton != null) {
			document.all[pressedButton].className = "buttonOff";
			document.all[pressedButton + "1"].className = "dropOff";
		}
	pressedButton = document.all(window.event.srcElement.id).id;
	document.all[pressedButton].className = "buttonPress";
	document.all[pressedButton + "1"].className = "dropOn";
	}
}

function SelectMe()
{
window.event.cancelBubble = "true";
if (lastLink != null) document.all[lastLink].className ="dropOn2";
if (document.all(window.event.srcElement.id).tagName == "A") {
	document.all(window.event.srcElement.id).className = "selectedHighlight";
}
lastLink = document.all(window.event.srcElement.id).id;
parent.frames.Nav.focus();
}

function SoundOff()
{
if (document.all(window.event.srcElement.id).className == "buttonPress") {
	Sound1.src = "";
	music.innerText = "Musik";
	document.all(window.event.srcElement.id).className = "buttonUp";
	}
else {
	Sound1.src = "../sounds/subdivs.mid";
	music.innerText = "Musik ist an";
	document.all(window.event.srcElement.id).className = "buttonPress";
	}
window.event.cancelBubble = "true";
}

