function get_page_height() 
{
   if ( document.body.clientHeight ) 
   {
      return document.body.clientHeight;
   } 
   else if ( window.innerHeight ) 
   {
      return window.innerHeight;
   } 
   else 
   {
      return 400;
   }
}
function get_page_width() 
{
   if ( document.body.clientWidth ) 
   {
      return document.body.clientWidth;
   } 
   else if ( window.innerWidth ) 
   {
      return window.innerWidth;
   } 
   else 
   {
      return 760;
   }
}

function init_scroll() 
{
   var h = (navigator.appName == 'Microsoft Internet Explorer' && navigator.userAgent.indexOf('MSIE 7') == -1) ? 206 : 206;
   var pheight = get_page_height();
   var pwidth = get_page_width();
   
   document.getElementById( 'header' ).style.width = (pwidth) + 'px';
   document.getElementById( 'header' ).style.display='block';
   
   document.getElementById( 'headerImg' ).style.left = ((pwidth - 617) / 2) + 'px';
   document.getElementById( 'headerImg' ).style.display='block';
   
   document.getElementById( 'footer' ).style.width = (pwidth) + 'px';
   document.getElementById( 'footer' ).style.display='block';
   
   document.getElementById( 'footerImg' ).style.left = ((pwidth - 617) / 2) + 'px';
   document.getElementById( 'footerImg' ).style.display='block';
   
   document.getElementById( 'footerTxt' ).style.left = ((pwidth - 617) / 2) + 'px';
   document.getElementById( 'footerTxt' ).style.display='block';
   
   document.getElementById( 'menuLinks' ).style.width = ((pwidth - 617) / 2) + 'px';
   document.getElementById( 'menuLinks' ).style.height = (pheight - 301) + 'px';
   document.getElementById( 'menuLinks' ).style.display='block';
   
   document.getElementById( 'menuRechts' ).style.width = ((pwidth - 617) / 2) + 'px';
   document.getElementById( 'menuRechts' ).style.height = (pheight - 165) + 'px';
   document.getElementById( 'menuRechts' ).style.display='block';
   
   document.getElementById( 'content' ).style.left = ((pwidth - 617) / 2) + 'px';
   document.getElementById( 'content' ).style.height = (pheight - 165) + 'px';
   document.getElementById( 'content' ).style.display='block';
}
