{literal}
	<script language="javascript">
		function calcHeight(vars)
			{
	  			var tes = vars;
	  			var the_height = document.getElementById(tes).contentWindow.document.body.scrollHeight;
	  			document.getElementById(tes).height = the_height;
				document.getElementById(tes).contentWindow.document.body.style.backgroundColor = 'transparent';
			}
	</script>
{/literal}
<div id="inner_container">
	{ if $myobj->getStaticContent.page_display_title}
		<h2 class="clsInboxReadHeading">{$myobj->getStaticContent.page_display_title}</h2>
	{/if}
	<div class="clsInboxReadTbl">
	{ if $myobj->getStaticContent.page_content}
		<div class="clsFckoverwrite">
			<iframe src="{$CFG.site.url}iframe.php?sid={$myobj->getFormField('pg')}" id="fck_static" frameborder="0" allowtransparency="true" onLoad="calcHeight('fck_static');"  class="clsFckIframe" scrolling="no">
			</iframe>
		</div>
	{/if}
	</div>
</div>
