/* *
 * Returns the current sreen width
 * This function is cross - browser compatible
 */
function getScreenWidth()
{
   if ( typeof( window.innerWidth ) == 'number' )
   return window.innerWidth;
   // Non IE browser
   else if (document.documentElement && document.documentElement.clientWidth)
   return document.documentElement.clientWidth;
   // IE6
   else if (document.body && document.body.clientWidth)
   return document.body.clientWidth;
   // IE4
}

/* *
 * Returns the current screen height
 * This function is cross - browser compatible
 */
function getScreenHeight()
{
   if ( typeof( window.innerHeight ) == 'number' )
   return window.innerHeight;
   // Non IE browser
   else if (document.documentElement && document.documentElement.clientHeight)
   return document.documentElement.clientHeight;
   // IE6
   else if (document.body && document.body.clientHeight)
   return document.body.clientHeight;
   // IE4
}

function windowInit () {
	/*
    Weite = getScreenWidth();
    Hoehe = getScreenHeight();
    document.getElementById('footer').style.position = "absolute";
    document.getElementById('footer').style.bottom = "0";
    document.getElementById('footer').style.display = "block";
	*/
}

/* Überwachung von Netscape initialisieren */
if (!window.Weite && window.innerWidth) {
  window.onresize = windowInit;
}

/* Überwachung von Internet Explorer initialisieren */
if (!window.Weite && document.body && document.body.offsetWidth) {
  window.onresize = windowInit;
}
