<html>
<head>
<script type="text/javascript">
function adjust() {
var width, height;
if (document.all) {
width = document.body.offsetWidth;
height = document.body.offsetHeight;
} else {
width = window.innerWidth;
height = window.innerHeight;
}
var forum_iframe = document.getElementById("forum_embed");
forum_iframe.height = Math.max(height - 150, 300);
forum_iframe.width = Math.max(width - 50, 800);
}
function init() {
document.getElementById("forum_embed").src =
"https://groups.google.com/forum/embed/?place=forum/FORUM-NAME" +
"&showsearch=true&showpopout=true&parenturl=" +
encodeURIComponent(window.location.href);
adjust();
}
window.onresize = adjust;
</script>
</head>
<body onload="init()">
<h3>(site header here)</h3>
<iframe id="forum_embed"
src="javascript:void(0)"
scrolling="no"
frameborder="0">
</iframe>
<h3>(site footer here)</h3>
</body>
</html>