<html>
||ifdef||email_charset||
	<meta http-equiv="Content-type" content="text/html; charset=||email_charset||">
||endif||

<script language="JavaScript">
<!---
function start()
{
	if (top.stats) {
		if (top.stats.document) {
			top.stats.Message(0);
		}
	}
}

function do_command(command, msg)
{
	if (top.stats) {
		if (top.stats.document) {
			top.stats.Message(msg);
		}
	}
	window.location = command;
}

function mysubmit(cmd, msg)
{
	if (top.stats) {
		if (top.stats.document) {
			top.stats.Message(msg);
		}
	}
	document.email.cmd.value = cmd;
	document.email.submit();
}

function mysubmit_layout(cmd, msg)
{
	if (top.stats) {
		if (top.stats.document) {
			top.stats.Message(msg);
		}
	}
	document.layout.cmd.value = cmd;
	document.layout.submit();
}

// -->
</script>

<head><title>Item ||uidl||, ||folder|| folder</title></head>

||ifdef||background||
<body background="||nwimg||/||background||" onLoad="start()">
||else||
<body onLoad="start()">
||endif||

||ifdef||error||
<script language="JavaScript">
<!---	if (top.stats.document) {
		top.stats.Message(1000);
	} // -->
</script>
	<center>
	<table border="1">
		<tr>	<td><img src="||nwimg||/attention.gif">
			<td bgcolor="ffffff">||error||</td>
		</tr>
	</table>
	</center>
||endif||

<center>
<table border>
	<tr>
||ifdef||b_prev||
	<td><a href="||b_prev||" >Prev message</a>
||else||
	<td><i>Prev message</i>
||endif||
||ifdef||b_next||
	<td><a href="||b_next||" >Next message</a>
||else||
	<td><i>Next message</i>
||endif||
	<td><a href="||b_list||" >Mail List</a>
||ifnequal||folder||bulletin_fld||
	<td><a href="||delitem||" >Delete Item</a>
	<td><a href="||delitem||&force_empty=true&ignore_trash=true">Remove Now</a>
||endif||
	<tr><td><a href="||b_save||" >Save to Disk</a>
	<td><a href="||b_reply||" >Reply</a>
||ifnequal||folder||bulletin_fld||
	<td><a href="||b_replyall||" >Reply-All</a>
	<td><a href="||b_forward_edit||">Forward</a>
	<td align="center">||item_id|| of ||nitems||
||endif||

</table>
||ifnequal||folder||bulletin_fld||
<table border>
	<tr><td>
	<img src="||nwimg||/iread||h_isread||.gif">
	<img src="||nwimg||/iattach||h_isattached||.gif">
	<img src="||nwimg||/ireply||h_isreplied||.gif">
	<img src="||nwimg||/idelete||h_isdeleted||.gif">
	<img src="||nwimg||/iflag||h_isflagged||.gif">
</table>
||endif||
</center>


<center>
<table border="1" width ="70%" cellpadding="20" cellspacing="0" >
<tr>
<td bgcolor="ffffff"><table border="0" width="100%">
	<tr>

	<form method="post" action="||action||" name="email">
		<input type=hidden name="utoken" value="||utoken||">
		<input type=hidden name="folder" value="||folder||">
		<input type=hidden name="cmd" value="">
		<td><table border="0" cellpadding="0" cellspacing="0">
			<tr>	<td align="right"><font size="2"><b>To:</b></td>
				<td width="12" rowspan="7"></td>
				<td><font size="2">
					||ifnequal||folder||bulletin_fld||
					<!---  ||html_text||h_to|| --->
					||begin_email||h_to||
						||ifgreater||num||1||,||endif||
						<a href="||action||?cmd=msg_new&utoken=||utoken||&h_from=||href_text||email||">||html_text||email||</a>
					||end_email||

					||else||
						<b>Bulletin</b>
					||endif||
				</td>
			</tr>
			<tr>	<td align="right"><font size="2"><b>Subject:</b></td>
				<td><font size="2">||html_text||h_subject||</td>
			</tr>
||ifnequal||folder||bulletin_fld||
			<tr>	<td align="right"><font size="2"><b>CC:</b></td>
				<td><font size="2"><!-- ||html_text||h_cc|| --->
					||begin_email||h_cc||
						||ifgreater||num||1||,||endif||
						<a href="||action||?cmd=msg_new&utoken=||utoken||&h_from=||href_text||email||">||html_text||email||</a>
					||end_email||
				</td>
			</tr>
||endif||
			<tr>	<td align="right"><b><font size="2">Date:</b></td>
				<td><font size="2">||h_local_date||</td>
			</tr>
			<tr>
				<td align="right"><font size="2"><b>Status:</b></td>
				<td><font size="2">||html_text||h_pri||</td>
			</tr>
			<tr> 	<td align="right"><font size="2"><b>From:</b></td>
				<td><font size="2">||html_text||h_from||</td>
			</tr>
			<tr> 	<td align="right"><font size="2"><b>Reply-to:</b></td>
				<td><font size="2">||html_text||h_reply||</td>
				<td><input type="image" border="0" src="||nwimg||/pick.gif" name="saveaddr-||uidl||"></td>
				<td><input type="image" border="0" src="||nwimg||/isaveadd.gif" name="saveaddrbook-||uidl||"></td>
				<td><a href="||action||?cmd=add_reject&fld=||fld||&reject=||href_text||h_from||&utoken=||utoken||"><img border="0" src="||nwimg||/reject.gif"></a></td>
			</tr>

||ifdef||attachments||
			<tr>	<td align="right"><font size="2"><strong>Attachments:</strong></td>
				<td width="12" rowspan="7"></td>
				<td><font size="2">||attachments||</td>
			</tr>
||endif||
		</table></td>
	</form>

	<tr></tr>
	<td valign="top" align="right">
		<table border="1" celspacing="0" cellpadding="0"></table></td>
	</tr>
||ifdef||alternative_multiple||
	<tr><td><a href="||action||?cmd=item-||uidl||&alt_multi_display=true&folder=||folder||&utoken=||utoken||">Display Alternative Part</a>
	</td></tr>
||endif||
	<tr><td colspan="2"><font size="3">||show_email||</td></tr>

||ifdef||body_pos||
	<tr><td colspan="2"><font size="3"><a href="||action||?cmd=item-||h_uidl||&body_pos=||body_pos||&fld=||fld||&utoken=||utoken||">MORE</a></td></tr>
||endif||

</table>
</table>
</center>





<center>
||ifnequal||folder||bulletin_fld||
<table border>
	<tr><td>
	<img src="||http_server||||nwimg||/iread||h_isread||.gif">
	<img src="||http_server||||nwimg||/iattach||h_isattached||.gif">
	<img src="||http_server||||nwimg||/ireply||h_isreplied||.gif">
	<img src="||http_server||||nwimg||/idelete||h_isdeleted||.gif">
	<img src="||http_server||||nwimg||/iflag||h_isflagged||.gif">
</table>
||endif||
<table border>
	<tr>
||ifdef||b_prev||
	<td><a href="||http_server||||b_prev||" >Prev message</a>
||else||
	<td><i>Prev message</i>
||endif||
||ifdef||b_next||
	<td><a href="||http_server||||b_next||" >Next message</a>
||else||
	<td><i>Next message</i>
||endif||
	<td><a href="||http_server||||b_list||" >Mail List</a>
||ifnequal||folder||bulletin_fld||
	<td><a href="||http_server||||delitem||" >Delete Item</a>
||endif||
	<tr><td><a href="||http_server||||b_save||" >Save to Disk</a>
	<td><a href="||http_server||||b_reply||" >Reply</a>
	<td><a href="||http_server||||b_replyall||" >Reply-All</a>
||ifnequal||folder||bulletin_fld||
	<td><a href="||http_server||||b_forward_edit||" >Forward</a>
||endif||
</table>
</center>
<hr>

<form method="post" action="||http_action||" name="layout">
	<input type="hidden" name="utoken" value="||utoken||">
	<input type="hidden" name="fld" value="||folder||">
	<input type="hidden" name="cmd" value="">
<center>
<table>
<tr><td width="50%"><table>
	<tr><td rowspan="6"><input type="image" border="0" src="||http_server||||nwimg||/setview.gif" name="setview-||uidl||"></td>
	<td><input type="checkbox" name="v_raw" value="on" ||v_raw||>Raw<td></tr>
	<tr><td><input type="checkbox" name="v_headers" value="on" ||v_headers||>Headers<td></tr>
	<tr><td><input type="checkbox" name="v_font" value="on" ||v_font||>Variable width font<td></tr>
	<tr><td><input type="checkbox" name="v_inline" value="on" ||v_inline||>Inline Images<td></tr>
	<tr><td><input type="checkbox" name="v_exec" value="on" >Enable Attach HTML<br>Scripts, Forms, Applets<td></tr>
	<tr><td><input type="checkbox" name="v_show_alt" value="on" ||v_show_alt||>Show Both 'alternative' parts<td></tr>
	</table>
||ifnequal||folder||bulletin_fld||
	<td><table>
	<tr><td><input type="image" border="0" src="||http_server||||nwimg||/copyto.gif" name="copyitem-||uidl||"></td>
	<td>	<select name="dstfld" size=1>
			||ifequal||enable_inbox_transfer||true||
				<option>||fldlist||</option>
			||else||
				<option>||xfldlist||</option>
			||endif||
		</select></td></tr>
	<tr><td><input type="image" border="0" src="||http_server||||nwimg||/moveto.gif" name="moveitem-||uidl||"></td>
	</table>
||endif||
</table>
</center>
</form>
<hr>
||copyright||

||ifdef||confirm||
<script language="JavaScript">
<!---
	if (confirm("'||confirm||' wishes you to confirm that you have read this EMail.\nPressing the 'ok' will send him an EMail telling ||confirm|| that you have read the EMail.")) {
	// Send the confirm message.
		link = '||action||?cmd=send_confirm-||uidl||&fld=||fld||&confirm_email=||href_text||confirm||&utoken=||putoken||';

		open(link,
			'confirm',
			'width=1,height=1,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=no',
			'confirm');
		focus();
	}

// -->
</script>
||endif||

</body>
</html>
