
	var contentheight = 0;

	function scale_content() {
		var objcontent,
			objectframe,
			windowheight;
		
		windowheight = (document.body.scrollHeight > document.body.offsetHeight) ? document.body.scrollHeight : document.body.offsetHeight;
		windowheight -= 179;

		if(objcontent = document.getElementById('content')) {
			if(objframe = document.getElementById('thecontent')) {
				objcontent.style.height = contentheight;
				objframe.style.height   = contentheight;
			}
		}
	}

	function set_content_height() {
		parent.contentheight = (document.body.scrollHeight > document.body.offsetHeight) ? document.body.scrollHeight : document.body.offsetHeight;
		parent.scale_content();
	}

	function naar_boven() {
		document.body.scrollTop  = 0;
	}
