var aktiv = window.setInterval("onResizeDocument()",100);
function getDocHeight() 
{
    var D = document;
    return Math.max(
        Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
        Math.max(D.body.clientHeight, D.documentElement.clientHeight)
    );
}
var c = 0;
function onResizeDocument () 
{
	c++;
	if (c>1 && document.getElementById ("startImage").height > 100)
	{
		document.getElementById ("startImage").style.top = (getDocHeight()/2)-(document.getElementById ("startImage").height/2)+ "px"; 
		document.getElementById ("startImage").style.display = "block"; 
	}
}
function addEvent( obj, evt, fn )
{
    if ( typeof obj.attachEvent != 'undefined' )
    {
        obj.attachEvent( "on" + evt, fn );
    }
    else if ( typeof obj.addEventListener != 'undefined' )
    {
        obj.addEventListener( evt, fn, false );
    } else {
        //      Do you want to support browser this old? 
        //      If so, you'll need to accomodate it here
    }
}

addEvent( document, 'DOMContentLoaded', function()
{
    onResizeDocument ();
} );
addEvent( window, 'load', function()
{
    onResizeDocument ();
} );

function startFunctions ()
{
	document.getElementById ("startNavigation").style.display = "none"; 
}