// deze fix zorgt ervoor dat scroll positie worden onthouden in ie8

function getDocHeight() {
    var D = document;
    return Math.max(
        Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
        Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
        Math.max(D.body.clientHeight, D.documentElement.clientHeight)
    );
}

 
function setGround() { 

	var groundheight = getDocHeight()+150; 
	
	var groundElement = document.getElementById('container'); groundElement.style.height = groundheight + 'px'; 
 	  // document.write(groundheight);   
  }        
 

window.onload = function() { setGround(); }

/*
#container {
	position:relative;
	top:1px;
	width: 990px;
	left: 50%;
	margin-left: -495px;
}

<div id="container"  > -- hier hele de webpagina--- </div>
*/

