<html>
<head>

</head>

<body>

<h3 id="h3"></h3>

<div>Div</div>

<script>
document.documentElement.offsetHeight;
n = document.getElementById("h3");
n.appendChild(document.createTextNode("Header"));
</script>
</body>
</html>