// Fensterhoehe liefern
function get_window_height()
{
	if (document.all)
	{
		return document.body.clientHeight+50;
	}
	else if (document.layers)
	{
		return window.innerHeight;
	}
}

// Fensterbreite liefern
function get_window_width()
{
	
	if (document.all)
	{
		return document.body.clientWidth;
	}
	else if (document.layers)
	{
		return window.innerWidth;
	}
}

function bewege()
{
	window.moveTo ( (screen.width/2)-(get_window_width()/2), screen.height/2-get_window_height()/2 );
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


