if(top.frames.length > 0)
top.location.href=self.location;

defaultStatus='Metaplan | Leading Through Understanding | Tel. +49 4106 6170';

function resizeTop()
{
	topbox.style.height= (window.screen.availHeight - 500) / 2;
}

function resizeCont()
{
	if(document.getElementById("header"))
	{
		if(header.offsetHeight > 19)
		{
			var sb = document.getElementById("scrollbox");
			var sb2 = document.getElementById("scrollbox2");
			var sb3 = document.getElementById("scrollbox3");
			var sb4 = document.getElementById("scrollbox4");
			var sb5 = document.getElementById("scrollbox5");
			
			if(sb != null)
			{
				scrollbox.style.height = 289 - header.offsetHeight + "px";
			}
			if(sb2 != null)
			{
				scrollbox2.style.height = 311 - header.offsetHeight + "px";
			}
			if(sb3 != null)
			{
				scrollbox3.style.height = 269 - header.offsetHeight + "px";
			}
			if(sb4 != null)
			{
				scrollbox4.style.height = 279 - header.offsetHeight + "px";
			}
			if(sb5 != null)
			{
				scrollbox5.style.height = 249 - header.offsetHeight + "px";
			}			
		}
	}

	//Anpassung für Arbeitssprachen
	if(document.getElementById("AP"))
	{
		if(AP.offsetHeight > 15)
		{
			mpbox1.style.height = 167 - AP.offsetHeight + "px";
			mpbox2.style.height = 193 - AP.offsetHeight + "px";
			ctab.style.height = 196 - AP.offsetHeight + "px";
		}
	}
	if(document.getElementById("AP2"))
	{
		if(AP2.offsetHeight > 15)
		{
			mpbox4.style.height = 131 - AP2.offsetHeight + "px";
			mpbox5.style.height = 156 - AP2.offsetHeight + "px";
		}
	}	
}

function navOver(whatObj,classObj)
{
whatObj.className = classObj;
}

function navOut(whatObj,classObj)
{
whatObj.className = classObj;
}

function show(what)
{
what.style.display = 'inline';
}

function hide(what)
{
what.style.display = 'none';
}
