// JavaScript Document

// Aktuelle Hoehe holen
function getHeight() {
	var myWidth = 0, myHeight = 0;

	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
//	return [ myWidth, myHeight ];
	return myHeight;
}


// div Hoehen per css Anpassung variabel setzen

// <![CDATA[
function changeProp() {
	
	myHeight = getHeight();
	
	var contentHeight = myHeight - 224 + "px";
	
	with (document.getElementById("content")) {
		style.height = contentHeight;
	}
}
// ]]>



function openLosung () {
	document.getElementById("losungpopup").style.visibility = "visible";
}
function closeLosung () {
	document.getElementById("losungpopup").style.visibility = "hidden";
}





<!--

var dom = document.getElementById?1:0;
var ns4 = document.layers?1:0;

function showMenu(name,number) {
	var groups = 12;			/*  NICHT VERGESSEN  */
	for (count = 1; count <= groups; count++) {
		var content = name + count;
		var active = name + number;

		if(dom) {
			if(content == active) {
    			document.getElementById(active).style.visibility = 'visible';
	    		document.getElementById(active).onmouseover = clearShut;
    			document.getElementById(active).onmouseout = setShut;
			} else {
				document.getElementById(content).style.visibility = 'hidden';
	   		}
		}
		else if(ns4) {
			if(content == active) {
    			document[active].visibility = 'show';
    			document[active].onmouseover = clearShut;
	    		document[active].onmouseout = setShut;
 			} else {
			    document[content].visibility = 'hide';
	   		}
	  	}
	}
	first = name, sec = number;
	clearShut();
}

function setShut() { 
	timer = setTimeout("shut(first,sec)", 200);
}

function clearShut() {
	if(window.timer)
	clearTimeout(timer);
}

function shut(first,sec) {
	var active = first + sec;
	if(dom)
 		document.getElementById(active).style.visibility = 'hidden';
 	else if(ns4)
 		document[active].visibility = 'hide';
}
//-->
