<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<!--||define||mynone||\[none\]||
||define||mysticky||\[sticky\]||
||ifnempty||myuidl|| ||define||theuidl||myuidl|| ||else|| ||ifnempty||h_uidl|| ||define||theuidl||h_uidl|| ||endif|| ||endif||
||ifinstr||netscape_version||4.||||define||feild_width||30||||else||||define||feild_width||50||||endif||-->
<style type="text/css">
<!--
td{
	font: 8pt "Arial";
    color: black;
	font-weight: "bold";
}

td.small{
	font: 8pt "Arial";
    color: black;
}

input{
	font: 8pt "Arial";
    color: black;
}
//-->
</style>

<script type="text/javascript">
<!--
var nwimg="||nwimg||";
var action="||action||";
var netscape_version="||netscape_version||";
var putoken="||putoken||";
var attach_id="||attach_id||";
var isdraft="||isdraft||";
var uidl="||uidl||";
var title="||cust_title|| - ||current_user||";
var wys=false;

||undef||wys||
||ifdef||show_wysiwyg||
	||ifequal||_auto_wysiwyg||true||
		||define||wys||true||
		||define||msg_alternative||true||
		wys=true;
	||else||
		||ifequal||msg_alternative||true||
			||define||wys||true||
			wys=true;
		||endif||
	||endif||
||endif||
//-->
</script>
<script type="text/javascript" src="||nwimg||/sendf.js"></script>
<title>Create new message </title>
</head>

<body background="||cust_panel_background||" bgcolor="||cust_panel_bgcolor||" onkeypress="hotkeyoverload();" onload="setTitle();setBody('||action||?cmd=show&amp;page=itembody&amp;utoken=||utoken||&amp;attach_id=||attach_id||&amp;msg_alternative=||msg_alternative||||ifdef||not_new||&amp;myuidl=||theuidl||&amp;folder=||fld||||endif||&amp;&amp;');">

||ifdef||error||
	<center>
	<table border="1">
		<tr>
			<td><img src="||nwimg||/attention.gif" alt="Attention" /></td>
			<td bgcolor="ffffff">||error||</td>
		</tr>
	</table>
	</center>
||endif||

<form name="sendform" method="post" action="||action||" target="_self" onsubmit="document.sendform.message.value = window.parent.frames[1].document.bodyform.message.value;">
||ifinstr||cmd||msg_reply||
	<input type="hidden" name="answered" value="||uidl||" />
||endif||
<input type="hidden" name="remove_setting" value="_del_draft">
<input type="hidden" name="attach_id" value="||attach_id||" />
<input type="hidden" name="not_new" value="||not_new||" />
<input type="hidden" name="folder" value="||fld||" />
<input type="hidden" name="myuidl" value="||theuidl||" />
<input type="hidden" name="utoken" value="||utoken||"  />
<input type="hidden" name="process" value=""  />
<input type="hidden" name="cmd" value=""  />
<input type="hidden" name="msg_alternative" value="||wys||" />
<input type="hidden" name="_auto_wysiwyg" value="||_auto_wysiwyg||" />
<input type="hidden" name="wys_message" value="" />
<input type="hidden" name="do_encode" value="true" />

||undef||start_msg||
||ifequal||not_new||true||
	||ifdef||from_framenew||
		||ifndef||resend||
			||ifndef||isdraft||
				||ifdef||message_headers||
||define||start_msg||(&nbsp;
&nbsp;
----- Message Forwarded on ||date_today||date_layout|| -----
From: ||from||
To: ||to||
||ifdef||cc||Cc: ||cc||
||endif||Subject: ||subject||
Date: ||date||
)||

				||endif||
				||ifdef||h_from||
||define||start_msg||(


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

||ifdef||from_framenew||
	||define||xsig||(||convert_text||sig||)||
||else||
	||undef||xsig||
||endif||

||define||xquote_body||(||quote_body||||my_body||)||
||ifnempty||xquote_body|| ||define||xquote_body||(||convert_text||quote_body||)|| ||endif||

||ifequal||do_encode||true||
	||define||xbody||(||html_line||xquote_body||)||
||else||
	||define||xbody||(||xquote_body||)||
||endif||

<input type="hidden" name="message" value="||ifequal||not_new||true||||start_msg||||xbody||||endif||||ifdef||inline_sig||

||html_line||xsig||||endif||" />

||ifdef||inline_sig||
	<input type="hidden" name="addsig" value="" />
||endif||

||ifequal||redirect||true||
	<input type="hidden" name="redirect" value="true" />
||endif||

<table cellspacing="0" cellpadding="0" rules="none" border="0" width="100%">
<tr bgcolor="#d6d6ce">
	<td align="center" class="small" nowrap="nowrap">Priority</td>
||ifndef||inline_sig||
	<td align="center" class="small" nowrap="nowrap">Signature</td>
||endif||
	<td align="center" class="small" nowrap="nowrap">Content/Type</td>
	||ifdef||have_pgp_key||
		<td align="center" class="small" nowrap="nowrap">PGP&nbsp;</td>
	||endif||
	||ifequal||not_new||true||
		||ifndef||resend||
			||ifndef||isdraft||
				<td align="center" class="small" nowrap="nowrap">Move Original Msg to:</td>
			||endif||
		||endif||
	||endif||
	<td align="center" class="small" nowrap="nowrap">Keep Copies&nbsp;</td>
	||ifequal||isdraft||true||
		<td align="center" class="small" nowrap="nowrap">Delete Draft&nbsp;</td>
	||endif||
	<td align="center" class="small" nowrap="nowrap">Request Confirm</td>
</tr>
<tr bgcolor="#d6d6ce">
	<td>
		<select name="priority">
			<option value="normal"> </option>
			<option value="urgent" ||ifequal||priority||urgent||selected="selected"||endif||>Urgent</option>
		</select>
	</td>

||ifndef||inline_sig||
	<td>
		<select name="_default_profile" size="1" onchange="setSig();">
			||profile_list||_default_profile||
		</select>
		<input type="hidden" name="addsig" value="on" ||ifnempty||addsig||checked="checked"||endif|| />
		<script type="text/javascript">
		<!--
			setSig();
		//-->
		</script>
	</td>
||endif||
	<td> 
		<select name="content_type" size="1">
			<option value="">Plain Text</option>
			<option ||ifequal||content_type||text/html||selected="selected"||else|| ||ifdef||wys||selected="selected"||endif|| ||endif||>text/html</option>
			<option>text/plain; charset="iso-8859-1"</option>
			<option>text/plain; charset="iso-2022-jp"</option>
		</select>
	</td>
	||ifdef||have_pgp_key||
		<td>
			<select name="pgp_type" size="1">
				<option value="" >None</option>
				<option value="attach" ||ifempty||pgp_type||selected||endif|| ||ifequal||pgp_type||attach||selected||endif||>Attach Public Key</option>
				<option value="sign" ||ifequal||pgp_type||sign||selected||endif||>PGP Sign Email</option>
				<option value="encode" ||ifequal||pgp_type||encode||selected||endif||>PGP Encode Email</option>
	<!--			<option value="encode+sign">PGP Encode and Sign</option>
	--->
			</select>
		</td>
	||endif||
	||ifequal||not_new||true||
		||ifndef||resend||
			||ifndef||isdraft||
				<td align="center">
					<select name="_movefld" size="1">
						<option ||ifnempty||return_attach|| ||ifequal||_movefld||mynone||selected="selected"||endif|| ||else|| ||ifndef||_move_original|| selected="selected" ||else|| ||ifequal||_move_original||mynone|| selected="selected" ||else|| ||ifequal||_move_original||mysticky|| ||ifequal||_movefld||mynone||selected="selected"||endif|| ||endif|| ||endif|| ||endif|| ||endif||>(none)</option>
						||begin_xfld_short||
							<option ||ifnempty||return_attach|| ||ifequal||_movefld||fld_name||selected="selected"||endif|| ||else|| ||ifequal||_move_original||mysticky|| ||ifequal||_movefld||fld_name||selected="selected"||endif|| ||else|| ||ifequal||_move_original||fld_name||selected="selected"||endif|| ||endif|| ||endif||>||html_text||fld_name||</option>
						||end_xfld_short||
					</select>
				</td>
			||endif||
		||endif||
	||endif||
	<td align="center"><input type="checkbox" name="copyself" value="on" ||ifndef||_keep_copies|| checked="checked" ||else|| ||ifequal||_keep_copies||on|| checked="checked" ||else|| ||ifequal||_keep_copies||sticky|| ||ifnempty||copyself||checked="checked"||endif|| ||endif|| ||endif|| ||endif|| />&nbsp;</td>
	||ifequal||isdraft||true||
		<td align="center"><input type="checkbox" name="_del_draft" value="on" ||ifequal||_sticky_del_draft||on|| checked="checked" ||else|| ||ifequal||_sticky_del_draft||sticky|| ||ifnempty||_del_draft||checked="checked"||endif|| ||endif|| ||endif|| />&nbsp;</td>
	||endif||
	<td align="center">
		<select name="confirm">
			<option value="none">None</option>
			<option value="read"||ifequal||confirm||read|| selected="selected"||endif||>Reading</option>
		</select>
	</td>
</tr>
||undef||xreply||
||ifdef||return_attach||
	||define||xreply||(||html_text||to||)||
||else||
	||ifinstr||cmd||msg_reply||
		||define||xreply||(||h_from||)||
	||else||
		||ifdef||isdraft||
			||define||xreply||(||h_from||)||
		||else||
			||define||xreply||(||html_text||h_from||)||
		||endif||
	||endif||
||endif||
<tr>
	<td colspan="8">
		<table border="0">
		<tr>
			<td align="right"><strong>To: </strong></td>
			<td align="left" nowrap="nowrap">
				<input name="to" type="text" size="||feild_width||" value="||xreply||" onfocus="document.sendform.oo[0].checked = true" />
				<input type="radio" name="oo" value="t" checked="checked" />
			</td>
			<td rowspan="2" align="left" nowrap="nowrap">
				<a href="javascript:dele();"><img border="0" src="||nwimg||/clear.gif" alt="Clear selected feild" /></a>
				<a href="javascript:newwindow()"><img border="0" src="||nwimg||/addressbook.gif" alt="Use Address Book (Ctrl-Shift-B)" /></a>
				<a href="javascript:wys_update(); mySend('spell_check')"><img border="0" src="||nwimg||/spell.gif" alt="Check Spelling (Ctrl-Shift-S)" /></a>
				<a href="javascript:wys_update(); mySend('add_attach')"><img border="0" src="||nwimg||/attach.gif" alt="Attach files (Ctrl-Shift-A)" /></a>
				<a href="javascript:wys_update(); mySend('send');"><img alt="Send message (Ctrl-Enter)" name="sendImg" border="0" src="||nwimg||/send.gif" /></a>
			</td>
		</tr>
		<tr>
			<td align="right"><strong>Reply to:</strong></td>
			<td align="left" nowrap="nowrap">
				||ifequal||redirect||true||
					||ifdef||from_framenew||
						||define||my_reply||(||ifdef||from||||message_text||from||||else||||message_text||reply||||endif||)||
					||else||
						||define||my_reply||(||ifdef||from||||html_text||from||||else||||html_text||reply||||endif||)||
					||endif||
					<input name="reply" size="||feild_width||" value="||my_reply||" onfocus="document.sendform.oo[1].checked = true" />
				||else||
					||define||my_reply||(||html_text||reply||)||
					||ifinstr||cmd||msg_resend||
						||define||my_reply||(||message_text||reply||)||
					||endif||
					<input name="reply" size="||feild_width||" value="||my_reply||" onfocus="document.sendform.oo[1].checked = true" />
				||endif||
				||ifnequal||modify_from||true||
					<input type="hidden" name="from" value="||my_reply||" />
				||endif||
				<input type="radio" name="oo" value="r" /><br />
			</td>
		</tr>
		||ifequal||modify_from||true||
			<tr>
				<td align="right"><strong>From:</strong></td>
				<td align="left" nowrap="nowrap">
||define||xfrom||from||
||ifinstr||cmd||msg_new||
	||define||xfrom||(||html_text||from||)||
||endif||
||ifdef||return_attach||
	||define||xfrom||(||html_text||from||)||
||endif||
||ifinstr||cmd||attach_msg||
	||define||xfrom||(||html_text||from||)||
||endif||
||ifinstr||cmd||attach_send||
	||define||xfrom||(||html_text||from||)||
||endif||
||ifinstr||cmd||msg_draft||
	||define||xfrom||(||html_text||from||)||
||endif||
					<input name="from" size="||feild_width||" value="||xfrom||" onfocus="document.sendform.oo[2].checked = true" />
					<input type="radio" name="oo" value="r" /><br />
				</td>
			</tr>
		||endif||
		<tr>
			<td align="right"><strong>CC:</strong></td>
			<td align="left" nowrap="nowrap">
				<input name="cc" size="||feild_width||" value="||html_text||h_cc||" onfocus="document.sendform.oo[||ifequal||modify_from||true||3||else||2||endif||].checked = true" />
				<input type="radio" name="oo" value="c" />
			</td>
			<td rowspan="2" align="center">
				||ifdef||wysiwyg_img||
					||ifdef||show_wysiwyg||
						<a href="javascript: do_wys();"><img border="0" src="||nwimg||/||ifdef||wys||textmode.gif" name="text_mode" alt="plain text editor||else||wysiwyg.gif" name="wysiwyg" alt="Styletext editor (What You See Is What You Get)||endif||" /></a>
					||endif||
						&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="javascript:wys_update(); saveDraft()">
				||else||
						&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="javascript:saveDraft()">
				||endif||
				<img src="||nwimg||/save.gif" border="0" alt="Save Draft to selected folder" /></a>
				<select name="dstfld" size="1">
					<option>||xfldlist||</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align="right"><strong>BCC:</strong></td>
			<td align="left" nowrap="nowrap">
				<input name="bcc" size="||feild_width||" value="||html_text||h_bcc||" onfocus="document.sendform.oo[||ifequal||modify_from||true||4||else||3||endif||].checked = true" />
				<input type="radio" name="oo" value="b" />
			</td>
		</tr>
		<tr>
			<td align="right"><strong>Attached:</strong></td>
			<td align="left" colspan="2">
				||ifequal||attach_num||0||
					(none)
				||else||
					||begin_attach||
						<b>||attach_name||</b> (||attach_ksize||k),
					||end_attach||
				||endif||
			</td>
		</tr>
		<tr>
			<td align="right"><strong>Subject:</strong></td>
			<td align="left" colspan="2">
				<input name="subject" size="||ifdef||netscape_version||40||else||66||endif||" value="||html_text||h_subject||||html_text||my_subject||" />
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</form>

||undef||start_msg||
||ifdef||from_framenew||
	||ifequal||not_new||true||
		||ifndef||resend||
			||ifndef||isdraft||
				||ifdef||message_headers||
					||define||start_msg||(<br><br>- Message Forwarded on ||date_today||date_layout|| -<br>From: ||message_text||from||<br>To: ||message_text||to||<br>||ifdef||cc||Cc: ||cc||<br>||endif||Subject: ||message_text||subject||<br>Date: ||cvt_date||date||date_layout||<br><br>)||
				||endif||
				||ifdef||h_from||
					||define||start_msg||(<br><br><br>	----- Original Message Follows -----<br>)||
				||endif||
			||endif||
		||endif||
	||endif||
||endif||
<script type="text/javascript">
<!--
function dele()
{
	var i = 0, j;

	for (j=0; j<4; j++)
		if (document.sendform.oo[j].checked == true) i = j;

	if (i==0)
		document.sendform.to.value = "";
	if (i==1)
		document.sendform.reply.value = "";
	if (i==2)
		document.sendform.cc.value = "";
	if (i==3)
		document.sendform.bcc.value = "";
}

||define||xsig||(||ifnempty||xsig||||message_text||xsig||||endif||)||
||ifdef||inline_sig||
	||define||xsig||(<br><br>||ifnempty||xsig||||strip_html_headers||xsig||||endif||)||
||else||
	||undef||xsig||
||endif||
||ifequal||alternative_multiple||true||
	||define||xquote_body||(||ifnempty||xquote_body||||strip_html_headers||xquote_body||||endif||)||
||endif||
var xmsg = "||start_msg||||ifnempty||xquote_body||||message_text||xquote_body||||endif||||xsig||";
document.sendform.wys_message.value = xmsg;
//-->
</script>
</body></html>
