<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
||ifdef||email_charset||
	<meta http-equiv="Content-type" content="text/html; charset=||email_charset||">
||endif||
<html>
<head>
<style type="text/css">
<!--
em{
	font: 8pt "Arial";
    color: black;
}

a{
	font: 8pt "Arial";
    color: black;
}

input{
	font: 8pt "Arial";
    color: black;
}

td{
	font-size: x-small;
}

td.bold{
	font-size: x-small;
	font-weight: bold;
}
//-->
</style>

<script type="text/javascript">
<!--
var utoken="||utoken||";
var action="||action||";
var _nopreview="||_nopreview||";
var folder="||message_text||(||folder||)||";
var fld="||message_text||(||fld||)||";
var h_from="||href_text||h_from||";
var netscape_version="||netscape_version||";
var uidl="||uidl||";
var b_prev="||b_prev||";
||ifdef||b_next||
var b_next="||b_next||&amp;require_lock=true";
||else||
var b_next="";
||endif||
var delitem="||action||?cmd=delitem_next-||uidl||&amp;utoken=||utoken||&amp;folder=||fld||&amp;page=framelist&amp;process=list&amp;listcmd=list&amp;require_lock=true&amp;showitem=";

||ifndef||netscape_version||
||ifndef||no_select||
if(window.parent){
	if(window.parent.frames){
		if(window.parent.frames[0]){
			if(window.parent.frames[0].document){
				if(window.parent.frames[0].document.getElementById('listTable')){
					var rows = window.parent.frames[0].document.getElementById('listTable').rows;
					var elements = window.parent.frames[0].document.List.elements;
  					for(var i=1; i<rows.length-1; i++){
						if(rows[i].id == "tr||uidl||")
							rows[i].bgColor = "#eeeeff";
						else
							rows[i].bgColor = "#ffffff";
					}
					for(i=0; i<elements.length; i++){
						if(elements[i].name.substr(0,4) == "sel_"){
							if(elements[i].name == "sel_||uidl||")
								elements[i].checked = true;
							else
								elements[i].checked = false;
						}
					}
				}
			}
		}
	}
}
||endif||
||endif||
// -->
</script>
<script type="text/javascript" src="||nwimg||/item.js"></script>

<title>||html_text||h_subject||</title>
</head>

<body background="||cust_panel_background||" bgcolor="||cust_panel_bgcolor||" onkeypress="hotkeyoverload(event);">

<form method="post" action="||action||" name="email"> 
<input type="hidden" name="attach_id" value="||attach_id||" />
<input type="hidden" name="delquery" value="||action||?cmd=delitem_next-||uidl||&amp;utoken=||utoken||&amp;folder=||fld||&amp;page=framelist&amp;listcmd=list&amp;showitem=next_preview&amp;&amp;" />
<input type="hidden" name="copyquery" value="||action||?cmd=copyitem-||uidl||&amp;utoken=||utoken||&amp;folder=||href_text||(||folder||)||&amp;page=framelist&amp;listcmd=list&amp;showitem=||uidl||" />
<input type="hidden" name="movequery" value="||action||?cmd=moveitem-||uidl||&amp;utoken=||utoken||&amp;folder=||href_text||(||folder||)||&amp;page=framelist&amp;listcmd=list&amp;showitem=||msg_next||||ifinstr||msg_next||*||&amp;local_uidl=true||endif||" />
<input type="hidden" name="utoken" value="||utoken||" />
<input type="hidden" name="folder" value="||folder||" />
<input type="hidden" name="cmd" value="" />
<input type="hidden" name="listcmd" value="" />
<input type="hidden" name="page" value="" />
<input type="hidden" name="myuidl" value="||uidl||" />
<input type="hidden" name="mynext" value="||msg_next||" />
<input type="hidden" name="myprev" value="||msg_prev||" />
<input type="hidden" name="fromItem" value="||uidl||" />
<input type="hidden" name="require_lock" value="true" />

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

<center>
<table>
<tr>
	<td>
<script type="text/javascript">
<!--

function delete_email()
{
	open("||action||?cmd=delitem_next-||uidl||&amp;utoken=||utoken||&amp;folder=||fld||&amp;page=framelist&amp;process=list&amp;listcmd=list&amp;require_lock=true&amp;showitem=next_popup&amp;&amp;", "framelist");

||/*||	||ifdef||b_next||
		document.location='||b_next||&amp;require_lock=true';
	||else|| ||*/||
		window.close();
	||/*|| ||endif|| ||*/||
}
//-->
</script>

||ifnequal||folder||bulletin_fld||
<script type="text/javascript">
<!--
if(window.opener){
	var target = window.opener||ifndef||_nopreview||.parent||endif||;
	
	document.write('		<a href="#" onclick="delete_email()"><img border="0" src="||nwimg||/itemdelete.gif" alt="Delete this Message (Ctrl-Shift-D)"></a>		\n');
	document.write('		<a href="#" onclick="fwd_reply(\'msg_reply-\');window.close();"><img border="0" src="||nwimg||/itemreply.gif" alt="Reply to this message (Ctrl-Shift-R)"></a>		\n');
	document.write('		<a href="#" onclick="fwd_reply(\'msg_replyall-\');window.close();"><img border="0" src="||nwimg||/itemreplyall.gif" alt="Reply to all the recipients of this message (Ctrl-Shift-A)"></a>		\n');
	document.write('		<a href="#" onclick="fwd_reply(\'forward_edit-\');window.close();"><img border="0" src="||nwimg||/itemforward.gif" alt="Forward this message \'from me\' to another address (Ctrl-Shift-F)"></a>		\n');
	document.write('		<a href="#" onclick="redirectf();window.close();"><img border="0" src="||nwimg||/itemredirect.gif" alt="Forward this message \'as is\' to another address (Ctrl-Shift-E)"></a>		\n');
	document.write('		<a href="#" onclick="myprint();"><img border="0" src="||nwimg||/itemprint.gif" alt="Print this message (Ctrl-Shift-P)"></a>		\n');
	document.write('		<a href="#" onclick="myMove();"><img border="0" src="||nwimg||/itemmove.gif" alt="Move this message to selected folder"></a>		\n');
	document.write('	</td><td>					\n');
	document.write('	<select name="dstfld" size="1">	\n');
	||begin_fld_short||		
		document.write("	||ifequal||enable_inbox_transfer||true|| <option value=\"||fld_name||\">||fld_name||</option> ||else|| ||ifnequal||fld_name||(||new_mail_name||)||	<option value=\"||fld_name||\">||fld_name||</option>	||endif|| ||endif||		\n");
	||end_fld_short||
	document.write('	</select><br />&nbsp;<br />		\n');
}
else{
	document.write('<p>&nbsp;</p>');
}
//-->
</script>
||else||
<p>&nbsp;</p>
||endif||
	</td>
</tr>
</table>

<table border="0" width="100%" rules="none" cellpadding="0" cellspacing="0">
<tr>
	<td valign="top" align="center">
	<a href="||ifdef||b_prev||||b_prev||||else||javascript:alert('This is the first message in this folder')||endif||"><img border="0" src="||nwimg||/itemprev.gif" alt="Open Previous Message ( [ )" /></a><a href="||ifdef||b_next||||b_next||||else||javascript:alert('This is the last message in this folder')||endif||"><img border="0" src="||nwimg||/itemnext.gif" alt="Open Next Message ( ] )" /></a><br />
		||ifdef||b_resend||
			<a href="javascript:fwd_reply('msg_resend-');window.close();"><img border="0" src="||nwimg||/itemresend.gif" alt="Resend this message (Ctrl-Shift-T)" /></a><br />
		||endif||
		<a href="javascript:mysubmit('saveaddr-||uidl||');"><img border="0" src="||nwimg||/itemaddpick.gif" alt="Add to recent addresses (Ctrl-Shift-N)" /></a><br />
		<a href="javascript:mysubmit('saveaddrbook-||uidl||');"><img border="0" src="||nwimg||/itemaddbook.gif" alt="Add to address book (Ctrl-Shift-B)" /></a><br />
		<a href="javascript:do_reject();"><img border="0" src="||nwimg||/itemreject.gif" alt="Reject this address" /></a>
	</td>
	<td nowrap="nowrap" valign="top">
		<table border="1" width ="90%" cellpadding="20" cellspacing="0" > 
		<tr>
		<td bgcolor="ffffff"><table border="0" width="100%">
			<tr>
				<td>
					<table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td class="bold">To:</td>
						<td>
							||ifnequal||folder||bulletin_fld||
								||begin_email||h_to||
									||ifgreater||num||1||,||endif||
									<a href='javascript:clickAddress("||message_text||email||")'>||html_text||email||</a>
 								||end_email||
							||else||
								<b>Bulletin</b>
							||endif||
							
						</td>
						<td class="bold">Date:</td>
						<td>||h_local_date||</td>
					</tr>
					<tr>
						<td class="bold">Subject:</td>
						<td>||html_text||h_subject||</td>
						<td class="bold">Status:</td>
						<td>||html_text||h_pri||</td>
					</tr>
					<tr>
		||ifnequal||folder||bulletin_fld||
						<td class="bold">CC:</td>
						<td>
							||begin_email||h_cc||
								||ifgreater||num||1||,||endif||
								<a href='javascript:clickAddress("||message_text||email||")'>||html_text||email||</a>
 							||end_email||
 							
						</td>

		||else||
						<td>&nbsp;</td>
						<td>&nbsp;</td>
		||endif||
			 			<td class="bold">From:</td>
						<td>
							||begin_email||h_from||
								||ifgreater||num||1||,||endif||
								||define||enc_email||(||message_text||email||)||
								<a href='javascript:clickAddress("||html_text||enc_email||")'>||html_text||email||</a>
 							||end_email||
 							
						</td>
					</tr>
					<tr>
			 			<td nowrap="nowrap" valign="top" class="bold">Reply-to:</td>
						<td valign="top">
							||begin_email||h_reply||
								||ifgreater||num||1||,||endif||
								<a href='javascript:clickAddress("||message_text||email||")'>||html_text||email||</a>
 							||end_email||
 							
						</td>
					</tr>
					</table>
					<br />
					||ifdef||attachments||
						<table border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td class="bold">Attachments:</td>
							<td><img src="||nwimg||/space.gif" width="10" height="1" alt="" /></td>
							<td>||attachments||</td>
						</tr>
						</table>
					||endif||
				
				</td>
			</tr>
		||ifdef||alternative_multiple||
			<tr><td><a href="||action||?cmd=item-||uidl||&amp;alt_multi_display=true&amp;folder=||fld||&amp;utoken=||utoken||">Display Alternative Part</a>
			</td></tr>
		||endif||
			<tr><td colspan="2" style="font-size: small;">||show_email||</td></tr>
			
		||ifdef||got_pgp_key||
		<!-- PGP Public Message -->
			<tr><td colspan="2"><hr /></td></tr>
			<tr><td colspan="2"><i>
				This email has a PGP public key for <b>'||pgp_from||'</b>.<br />
					||ifndef||pgp_enabled||
						This verison of ||product|| does not support PGP sorry.
					||else||
						Press the following link to add this PGP key to your key ring.<br />
							
						<a href="||action||?cmd=pgp_add-||uidl||&amp;folder=||fld||&amp;utoken=||utoken||">Add Key</a>
					||endif||
				</i></td>

			</tr>
		||endif||
		||ifdef||got_pgp_sig||
		<!-- PGP Signed Message -->
			<tr><td colspan="2"><hr /></td></tr>
			<tr><td colspan="2"><i>
				This email has been signed with a PGP key from <b>'||pgp_from||'</b>.<br />
					||ifndef||pgp_enabled||
						This verison of ||product|| does not support PGP sorry.
					||else||
						Press the following link to verify this PGP signed message.<br />
							
						<a href="#" onclick="javascript:open('||action||?cmd=pgp_verify-||uidl||&amp;folder=||fld||&amp;utoken=||utoken||&amp;&amp;','pgp_sig','width=450,height=150,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes','POPUP')">Verify Signature</a>
					||endif||
				</i></td>

			</tr>
		||endif||
		||ifdef||got_pgp_encoded||
		<!-- PGP Encoded Message ---->
			<tr><td colspan="2"><hr></td></tr>
			<tr><td colspan="2"><font size = 2><i>
				This email has been encoded with a PGP key from <b>'||pgp_from||'</b>.<br>
				||ifndef||pgp_enabled||
					This verison of ||product|| does not support PGP sorry.
				||endif||
				</i></font></td>

			</tr>
		||endif||


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

		</table></td></tr>
		</table>
	</td>
</tr>
</table>
</center>
</form>

<form method="post" action="||action||" name="layout">
	<input type="hidden" name="attach_id" value="||attach_id||" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="fld" value="||folder||" />
	<input type="hidden" name="cmd" value="" />
<center>
<table>
<tr>
	<td><input type="submit" value="    Set View    " name="setview-||uidl||" /></td>
	<td><input type="checkbox" name="v_raw" value="on" ||ifnempty||v_raw||checked="checked"||endif|| /><em>Raw</em></td>
	<td><input type="checkbox" name="v_headers" value="on" ||ifnempty||v_headers||checked="checked"||endif|| /><em>Headers</em></td>
	<td><input type="checkbox" name="v_font" value="on" ||ifnempty||v_font||checked="checked"||endif|| /><em>Variable width font</em></td>
</tr>
<tr>
	<td>
		<a href="||http_server||||b_save||">Save to disk</a>
	</td>
	<td><input type="checkbox" name="v_inline" value="on" ||ifnempty||v_inline||checked="checked"||endif|| /><em>Inline Images</em></td>
	<td><input type="checkbox" name="v_exec" value="on" /><em>Enable Attached Scripts etc</em></td>
	<td><input type="checkbox" name="v_show_alt" value="on" ||ifnempty||v_show_alt||checked="checked"||endif|| /><em>Show Both 'alternative' parts</em></td>
</tr>
</table>
</center>
</form>


<table width="100%"><tr><td align="right">||copyright||</td></tr></table>

||ifdef||confirm||
<script type="text/javascript">
<!--
	if (confirm("||confirm|| wishes you to confirm that you have read this EMail.\nPressing 'ok' will send an EMail telling ||confirm|| that you have read the EMail.")){
		// Send the confirm message.
		link =  '||action||?cmd=send_confirm-||uidl||&amp;fld=||fld||&amp;confirm_email=||href_text||confirm||&amp;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>
