/**
 * @author udo
 */

// Bildschirmabmessungen

var hoehe;
var rest;



function Abmessungen()
{

// alle außer IE
if (self.innerHeight)
{
        hoehe = self.innerHeight;
}

// IE 6 strict Mode
else if (document.documentElement && document.documentElement.clientHeight)

{
        hoehe = document.documentElement.clientHeight;
}

// andere IE
else if (document.body)
{
        hoehe = document.body.clientHeight;
}


// zum Testen
//alert( "Inner Height: " + hoehe);

if(hoehe > 600)
	{
	rest = (hoehe-600)/2;
 	e=document.getElementById("content");

	e.style.top = rest + 'px';
	} else {
	e=document.getElementById("content");

	e.style.top = 0 + 'px';
	}
	

}

