TEMPLATE

<script>// <![CDATA[
function getDocHeight(doc) {
var body = doc.body;
var html = doc.documentElement;
var height = Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight );
return height;
}
function setIframeHeight(id) {
var ifrm = document.getElementById(id);
var doc = ifrm.contentDocument ? ifrm.contentDocument : ifrm.contentWindow.document;

ifrm.style.visibility = ‘hidden’;
ifrm.style.height = “500px”;
ifrm.style.height = getDocHeight( doc ) + 4 + “px”;
ifrm.style.visibility = ‘visible’;
}
// ]]></script>

<iframe id=”ifrm” onload=”setIframeHeight(this.id)” src=”/?wysija-page=1&amp;controller=email&amp;action=view&amp;email_id=59″ width=”100%” height=”1000px” bgcolor=”#ffffff” frameborder=”0″></iframe>