<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>

<script type="text/javascript">
<!--
function change_language()
{
	parent.frames[1].itembody = "false";
	document.sendform.cmd.value = "attach_msg";
	document.sendform.submit();
}
//-->
</script>

<!-- Setup Language -->
||ifnempty||header_charset||
	||begin_language||||ifempty||match_lang||||ifequal||header_charset||lang_charset||||define||match_lang||lang_name||||endif||||endif||||end_language||
||endif||
||ifempty||match_lang||
	||define||match_lang||(||language||)||
||endif||
||ifempty||match_lang||
	||define||match_lang||(||_language||)||
||endif||

<!-- language == '||match_lang||' -->
||begin_language||||ifequal||match_lang||lang_name||<meta http-equiv="Content-type" content="text/html; charset=||lang_charset||">||endif||||end_language||

<!--||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;
var a_s="||allow_sender||";

||undef||wys||
||ifinstr||ie_version||7.|| ||ifinstr||win_nt_ver||6.|| ||define||vista_nowys||true|| ||endif|| ||endif||
||ifinstr||ie_version||8.|| ||ifinstr||win_nt_ver||6.|| ||define||vista_nowys||true|| ||endif|| ||endif||
||ifndef||is_mac||
||ifndef||vista_nowys||
||ifdef||ie_version||
	||ifequal||_auto_wysiwyg||true||
		||define||wys||true||
		||define||msg_alternative||true||
		wys=true;
	||endif||
||endif||
||endif||
||endif||

wys='||wys||'
ie_version='||ie_version||'
auto='||_auto_wysiwyg||'

//-->
</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;xcmd=||cmd||&amp;page=itembody&amp;language=||match_lang||&amp;header_charset=||header_charset||&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||" />
||else||
	||ifnempty||answered||
		<input type="hidden" name="answered" value="||answered||" />
	||endif||
||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="||folder||" />
<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="||ifequal||is_mac||true||attach_msg||endif||"  />
<input type="hidden" name="msg_alternative" value="||wys||" />
<input type="hidden" name="_auto_wysiwyg" value="||_auto_wysiwyg||" />
<input type="hidden" name="do_encode" value="true" />

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

||undef||start_msg||
||ifequal||not_new||true||
	||ifdef||from_framenew||
		||ifndef||resend||
			||ifndef||isdraft||
				||ifndef||redirect||
					||ifdef||message_headers||
||define||start_msg||(

----- 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 -----
From: ||from||
To: ||to||
||ifdef||cc||Cc: ||cc||
||endif||Subject: ||subject||
Date: ||date||

)||
					||endif||
				||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||

||ifdef||wys||
	||define||start_msg||(||wysiwyg_text||start_msg||)||
||endif||

||ifdef||allow_html_reply||
	||define||total_message||(||ifequal||not_new||true||||html_add||xbody||start_msg||||endif||||ifdef||inline_sig||

||html_line||xsig||||endif||)||
||else||
	||define||total_message||(||ifequal||not_new||true||||start_msg||||xbody|| ||endif||||ifdef||inline_sig||

||html_line||xsig||||endif||)||
||endif||

<input type="hidden" name="message" value="||html_line||total_message||" />
<input type="hidden" name="wys_message" value="" />



||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/Language</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 align="center">
		<select name="language" size="1" onChange="change_language()">
			||begin_language||
				<option value="||lang_name||" ||ifequal||match_lang||lang_name||selected="selected"||endif||>||lang||lang_name||</option>
			||end_language||
		</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>
			||else||
				<input type="hidden" name="_movefld" value="mynone">
			||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>
			<option value="deliver"||ifequal||confirm||deliver|| selected="selected"||endif||>||lang_str||Deliver||</option>
		</select>
	</td>
</tr>
||undef||xreply||
||ifdef||return_attach||
	||define||xreply||(||html_text||to||)||
||else||
	||ifinstr||cmd||msg_reply||
		||define||xreply||(||html_text||h_from||)||
	||else||
		||ifdef||isdraft||
			||define||xreply||(||html_text||h_from||)||
		||else||
			||define||xreply||(||html_text||h_from||)||
		||endif||
	||endif||
||endif||

||ifdef||my_from||
	||ifempty||xreply||
		||define||xreply||(||html_text||my_from||)||
	||else||
		||define||xreply||(||html_text||my_from||,||xreply||)||
	||endif||
||endif||

<tr>
	<td colspan="8">
		<table border="0">
		<tr>
			<td align="right"><strong>To: </strong></td>
			<td align="left" nowrap="nowrap">
				<input tabindex="1" name="to" type="text" size="||feild_width||" value="||xreply||" onfocus="document.sendform.oo[0].checked = true" ||ifdef||enable_autocomplete||id="to_field" autocomplete="off"||endif||/>
				<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 tabindex="4" 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||dflt_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||
					||ifdef||_real_name||
						||ifinstr||cmd||msg_resend||
							<input type="hidden" name="from" value="||my_reply||" />
						||else||
							||ifinstr||my_reply||<||
								<input type="hidden" name="from" value="||my_reply||" />
							||else||
								<input type="hidden" name="from" value="&#34;||html_text||_real_name||&#34; &lt;||my_reply||&gt;" />
							||endif||
						||endif||
					||else||
						<input type="hidden" name="from" value="||my_reply||" />
					||endif||
				||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">
||ifdef||_real_name||
	||ifdef||redirect||
		||define||xfrom||my_reply||
	||else||
		||ifinstr||my_reply||&#34;||
			||define||xfrom||my_reply||
		||else||
			||define||xfrom||(&#34;||html_text||_real_name||&#34; &lt;||my_reply||&gt;)||
		||endif||
	||endif||
||else||
	||define||xfrom||my_reply||
||endif||
||ifdef||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||
||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" ||ifdef||enable_autocomplete||id="cc_field" autocomplete="off" ||endif|| />
				<input type="radio" name="oo" value="c" />
			</td>
			<td rowspan="2" align="center">
				||ifdef||show_wysiwyg||
					||ifndef||vista_nowys||
					||ifndef||is_mac||
						<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>
						&nbsp;&nbsp;&nbsp;&nbsp;
						||ifdef||wys||
							<a href="javascript:wys_update(); saveDraft()">
						||else||
							<a href="javascript:saveDraft()">
						||endif||
					||else||
						&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="javascript:saveDraft()">
					||endif||
					||endif||
				||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" ||ifdef||enable_autocomplete|| id="bcc_field" autocomplete="off" ||endif|| />
				<input type="radio" name="oo" value="b" />
			</td>
		</tr>
		<tr>
			<td align="right"><strong>Attached:</strong></td>
			<td align="left" colspan="2">
				||define||total_attach_est||0||
				||ifequal||attach_num||0||
					(none)
				||else||
					||begin_attach||
						||define||total_attach_est||(||total_attach_est|| + \[30 + ||attach_size||*1.3\])||
						<strong>||attach_name||</strong> (||attach_ksize||k),
					||end_attach||
				||endif||
			</td>
		</tr>
		<tr>
			<td align="right"><strong>Subject:</strong></td>
			<td align="left" colspan="2">
				<input tabindex="2" name="subject" size="||ifdef||netscape_version||40||else||66||endif||" value="||html_text||h_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;

var total_attach_est = ||total_attach_est||;
||ifdef||max_email_send_size||
var max_email_send_size = ||max_email_send_size||;
||else||
var max_email_send_size = 0;
||endif||
//-->
</script>

||ifdef||enable_autocomplete||

||define||ac_textcolour||#112266||
||define||ac_bgcolour||#daf0fd||
||define||ac_selcolour||#a3ceec||
||define||ac_bordercolour||#666666||
<style>
	#ac { position: absolute; border: 1px solid ||ac_bordercolour||; background: ||ac_bgcolour||; z-index:10; }
	#ac span{ text-decoration:none; font-family: Arial, Helvetica, sans-serif; font-size:75%; color:||ac_textcolour||;
		display:block; cursor:default; padding:0 20 0 5; white-space:nowrap	}
	#ac span.sel{ background:||ac_selcolour|| }

</style>
<script type="text/javascript" src="||common_files||/util.js"></script>
<script type="text/javascript" src="||common_files||/abk_autocomplete.js"></script>
<script>
	||begin_address||
		abk_entry("||encode_quotes||name||","||encode_quotes||abk_full_name||","||encode_quotes||abk_email||","shortlist_na","||abk_instant||","||abk_nused||");
	||end_address||
	init_autocomplete();
</script>

||endif||


</body></html>
