{include file='popup_header.tpl'}
{if $CLOSE}
<script language="javascript" type="text/javascript">
window.onLoad=window.close();
</script>
{/if}
{if $PRINT}
<script language="javascript" type="text/javascript">
<!--
window.onload=window.print();
//-->
</script>
{/if}

<script type="text/javascript" src="includes/javascript/tinymce/tiny_mce.js"></script>
<script type="text/javascript">
<!--
{literal}
function pager_row_nobox_click(tr,clickcssclass,outcssclass,id){
	link_href = '{/literal}{$SELF_LINK}{literal}&id='+id;
	window.location.href=link_href;
}
{/literal}
//-->
</script>
<script type="text/javascript">
{literal}
tinyMCE.init({
	theme : "simple",
	mode : "exact",
	elements : "body"
});
{/literal}
var pager_tab_file = '{$PAGER_TAB_FILE}';
var AJAX_PAGER_VALUE = '';
</script>

<div id="mailmaster">

	<div id="popupheading_title">{$HEADING_TITLE}</div>
	<div id="popupcontentdiv">
	{$FORMULAR}
	{if $BUTTON_HISTORY}{$BUTTON_HISTORY}{/if}
	</div>
</div>

<div id="pager_tab"></div>

		</td>
	</tr>
	</table>
	
{include file='popup_footer.tpl'}