<!-- Java function for the below is in:
		/nwimg/smooth/script_cmd.js
-->

<!-- Determine if their is a Start Message
	Only on Forward, Reply and Replyall
	Redirect does not have a start message
-->
||undef||start_msg||

||ifinstr||cmd||forward_edit||
	||ifndef||redirect||
||define||start_msg||(

----- ||lang_str||Message Forwarded on|| ||date_today||date_layout|| -----)||
	||endif||
||endif||

||ifinstr||cmd||msg_reply||
||define||start_msg||(

----- ||lang_str||Original Message Follows|| -----)||
||endif||


||ifnempty||start_msg||
||define||start_msg||(||start_msg||
||lang_str||From||: ||from||
||lang_str||To||: ||to||
||ifdef||cc||||lang_str||Cc||: ||cc||
||endif||||lang_str||Subject||: ||subject||
||lang_str||Date||: ||date||

)||
||endif||

<form name="email_body">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>	<td valign="center" align="center">
		<table border="0" cellpadding="0" cellspacing="0">

		<tr>	<td>
			||ifdef||wys||
				||define||start_msg||(||convert_text||start_msg||)||
				||define||xquote_body||(||convert_text||quote_body||)||

				||define||start_msg||(||html_text||start_msg||)||
				||define||xquote_body||(||html_text||xquote_body||)||

				<input type="hidden" name="message" value="||html_add||xquote_body||start_msg||" />

				||define||wys_width||620||
				||define||wys_height||220||
				||include||ie_htmltext.tpl||
			||else||
				||define||xquote_body||(||convert_text||quote_body||)||
				<textarea tabindex="3" name="message" class="white" ||ifdef||ie_version||cols="123" rows="18"||else||cols="117" rows="18"||endif|| wrap="physical">||start_msg||||xquote_body||</textarea>
			||endif||
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</form>

||ifdef||wys||
<script type="text/javascript">
<!--
	function salvar_html(htmlcode)
	{
		document.email_body.message.value = htmlcode;
	}

	function wys_update()
	{
		tbCE_guardar();
	}

	tbCE_update(document.email_body.message.value);
	wysiwyg_start();
//-->
</script>
||endif||
