function initPulldownMenuForNode(elementOrId) {
	// for IE only!
	if (document.all && document.getElementById) {
		if (typeof(elementOrId) == "string")
			elementOrId = document.getElementById(elementOrId);
		
		elementOrId.onmouseover = function() {
			this.className += " hover";
		}
		elementOrId.onmouseout=function() {
			this.className = this.className.replace(" hover", "");
		}
		
	}
}

function initPulldownMenu(elementOrId) {
	// for IE only!
	if (document.all && document.getElementById) {
		if (typeof(elementOrId) == "string")
			elementOrId = document.getElementById(elementOrId);
		for (i = 0; i < elementOrId.childNodes.length; i++) {
			node = elementOrId.childNodes[i];
			if (node.nodeName == "LI") {
				node.onmouseover = function() {
					this.className += " hover";
				}
				node.onmouseout=function() {
					this.className = this.className.replace(" hover", "");
				}
			} else {
				initPulldownMenu(node);
			}
		}
	}
}



// Div ausblenden

function hideElementById(elemId) { document.getElementById(elemId).style.display = "none"; }

// Div anzeigen

function showElementById(elemId) { document.getElementById(elemId).style.display = "block"; }

// Divs austauschen

function toggleElementsById(oldElemId, newElemId) { hideElementById(oldElemId); showElementById(newElemId)}
