function doit() {
	document.getElementById('marginal').style.height=document.getElementById('content').offsetHeight-254+'px';
	}
function switchDisplayStatus(elementID)
{
	if(window.document.getElementById("subElements").style.display == 'none'
	|| window.document.getElementById("subElements").style.display == ''
	)
	{
		window.document.getElementById("subElements").style.display = 'block';
	}
	else
	{
		window.document.getElementById("subElements").style.display = 'none';
	}
}
function closeDDB(elementID) {
		window.document.getElementById("subElements").style.display = 'none';
}



var si_con; //Der Container, dessen bnil


	function valign()
	{
		if ( document.getElementById )
		{
			winH = document.body.clientHeight;
			rtrH = document.getElementById('reiter_menu').offsetHeight;
			innH = document.getElementById('inner').offsetHeight;

			if (winH > (innH + rtrH))
			{
			document.getElementById('inner').style.marginTop = (winH - innH - rtrH) /2;
			}
		}
	}

	function togglePD(MODE)
	{
		if ( document.getElementById )
		{
			var elems = document.getElementsByTagName('li');

			for (i=0; i< elems.length; i++)
			{
				if ( elems[i].className == 'next' )
				{
				(MODE == 'open') ? elems[i].style.display = 'block' : elems[i].style.display = 'none';
				}
			}
		}
	}


function openWindow(url)
{
window.open(url,'popup','height=664,width=770,dependent=yes,location=no,menubar=no,resizable=yes,status=no,toolbar=no,scrollbars=yes')
}


