||ifdef||email_charset||
	||ifinstr||email_charset||UTF-8|| ||define||email_charset||iso-8859-1|| ||endif||
	||ifinstr||email_charset||UTF-7|| ||define||email_charset||iso-8859-1|| ||endif||
	<meta http-equiv="Content-type" content="text/html; charset=||email_charset||">
||endif||
<html>
<head>
||ifdef||do_post_cmd||
	||post_cmd||(||user_cgi_http_prefix||/cgi/user.cgi?cmd=auto_login&||do_post_cmd||&vhost=||vhost||)||
||endif||
<link rel="stylesheet" type="text/css" href="||nwimg||||tpl_color||/surge.css" />
<script type="text/javascript">
<!--
||/*||// The following are the lang translations for POPUP javascript alerts||*/||
var x_stop = 	"||lang_str||You need to use the link at the top of this email to download this attachment||";
var x_stop_s = 	"||lang_str||Warning, the ||";
var x_stop_e = 	"||lang_str||attachment could be malicious. Press Ok to continue downloading or Cancel to abort the download||";
var x_reject = 	"||lang_str||Do you want to permanently delete this email and all other emails from this address?||";
var from = "||html_text||h_from_email||";
var uidl="||uidl||";
var nwimg="||nwimg||";
||ifequal||_item_window||true||
	var ut="&utoken=||putoken||";
	var fld="&fld=||encode_text||folder||&encode_text=fld";
	var act="||action||?cmd=";
	var iw=true;
	function G(g){document.location = act+g+fld+ut;}
||else||
	var iw=false;
||endif||
||ifequal||folder||waste_name||
	var ftrash=true;
||else||
	var ftrash=false;
||endif||
// -->
</script>
<script type="text/javascript" src="||common_files||/util.js"></script>
<script type="text/javascript" src="||nwimg||/layout.js"></script>
<script type="text/javascript" src="||nwimg||/item.js"></script>
<title>||cust_title|| - ||html_text||h_subject||</title>
</head>
<body class="body" onload="doresize();" onresize="doresize()">
||ifnequal||_item_window||true||
	||include||_layout_start.tpl||
||endif||

||ifdef||error||
	||include||_errorinline.tpl||
||endif||
||ifdef||msg||
	||include||_msginline.tpl||
||endif||

||ifdef||confirm||
<script type="text/javascript">
<!--
	if (confirm("||confirm|| ||lang_str||wishes you to confirm that you have read this email||.\n||lang_str||Pressing 'ok' will send an email telling|| ||confirm|| ||lang_str||that you have read this email||.")){
		// Send the confirm message.
		link = act+'send_confirm-'+uidl+fld+'&confirm_email=||href_text||confirm||'+ut;
		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||


<center>
||ifdef||post_cmd_failed|| ||include||_post_failed.tpl|| ||endif||
<TABLE WIDTH="600" BORDER="0" CELLSPACING="0" CELLPADDING="4">

<TR>
	<TD HEIGHT="5" COLSPAN="4" class="c" nowrap>
||include||_msgbuttons.tpl||
	</TD>
</TR>
<TR>
	<TD HEIGHT="3"> </TD>
</TR>


<TR class="bg1">
	<TD>
		<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="5">
		<tr>
			<td class="LF b">||lang_str||From||</td>
			<td>
				||begin_email||h_from||
					||ifgreater||num||1||,||endif||
					<a class="H" href='javascript:press_email_enc("||encode_text||email||")'>||html_text||email||</a>
				||end_email||

			</td>
		</tr>
		<tr>
			<td> </td>
			<td nowrap>
				<a href="javascript:addAddr();">(||lang_str||Add to address book||)</a>
				<a href="javascript:G('saveaddr-||uidl||');">(||lang_str||Add to recent addresses||)</a>
				<a href="javascript:do_reject();">(||lang_str||Add to blacklist||)</a>
			</td>
		</tr>
||ifdef||h_cc||
		<tr>
			<td class="LF b">||lang_str||Cc||</td>
			<td>
				||begin_email||h_cc||
					||ifgreater||num||1||,||endif||
					<a class="H" href='javascript:press_email_enc("||encode_text||email||")'>||html_text||email||</a>
				||end_email||
			</td>
		</tr>
||endif||
		<tr>
			<td class="LF b">||lang_str||Date|| </td>
			<td class="LF" nowrap>||h_date_day|| ||h_date_time||</td>
		</tr>
		<tr>
			<td class="LF b">||lang_str||To||</td>
			<td>
				||ifnequal||folder||bulletin_fld||
					||begin_email||h_to||
						||ifgreater||num||1||,||endif||
						<a class="H" href='javascript:press_email_enc("||encode_text||email||")'>||html_text||email||</a>
					||end_email||
				||else||
					<b>||lang_str||Bulletin||</b>
				||endif||

			</td>
		</tr>
		<tr>
			<td class="LF b">||lang_str||Subject||</td>
			<td class="LF">||html_text||h_subject||</td>
		</tr>
		||ifdef||attachments||
			<tr>
				<td class="LF b">||lang_str||Attachments||:</td>
				<td class="LF">
				||begin_attachments||
					||ifdef||stop_attach||
						<a class="H" href="javascript:stop_attach_warn('||attach_link||&save_file=true&&/||attach_name||','||attach_full_name||')">||attach_full_name|| ||ifdef||attach_ksize||(||attach_ksize||k)||endif||</a>
					||else||
						<a class="H" href="||attach_link||&save_file=true&&/||attach_name||">||attach_full_name|| ||ifdef||attach_ksize||(||attach_ksize||k)||endif||</a>
						||ifequal||use_surgemail_xfile||true||
						||ifinstr||surgemail_disallow||surgeplus||
						||else||
						||ifequal||(||check_id||102||)||true||
							<a href="javascript:upload_attach('||attach_full_name||','||attach_subpart||','||attach_part||' )"><img border="0" src="||nwimg||/fileshare.gif"></a>
						||endif||
						||ifequal||(||check_id||103||)||true||
							<a href="javascript:upload_image('||attach_full_name||','||attach_subpart||','||attach_part||' )"><img border="0" src="||nwimg||/imagestore.gif"></a>
						||endif||
						||endif||
						||endif||
					||endif||
				||end_attachments||
				</td>
			</tr>
		||endif||

		</TABLE>
	</TD>
	<TD VALIGN="TOP">
		<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2">
		<tr class="rt"><td class="U" colspan="2">||ifequal||h_pri||urgent||Urgent||endif||</td></tr>
		<tr>
			<td class="rt" nowrap colspan="2">
||ifnequal||_item_window||true||<a href="javascript:G('list&pos=||pos||')">Back to list</a><br>||endif||
			</td>
		</tr>
		</TABLE>
	</TD>
</TR>

<tr class="bg1">
	<td width="100%" colspan="2"><table>
	<tr>
		<td></td>
		<td width="100%" class="HW">
			||lang_str||This Email and its attachments total to|| ||h_kbytes||k ||lang_str||bytes in size which could take a few minutes to download||.
			||Do you want to wait for this email to download?||
			<center><a class="LF" href="javascript:G('item-||uidl||&java_email=true&force_download=true')">||lang_str||Download Email||</a></center>
		</td>
		<td></td>
	</tr>
	</table></td>
</tr>
<TR class="bg1">
	<TD COLSPAN="2" class="c">
	<A href="||http_server||||b_save||&message_file=true" class="LF b">||lang_str||Save email to disk as a text file||</A></TD>
</TR>
<TR class="bg1">
	<TD COLSPAN="2" class="c">
	<A href="javascript:myprint()" class="LF b">||lang_str||Print email||</A></TD>
</TR>
</table>
</center>
<form method="post" action="||action||" name="upload">
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="folder" value="||folder||" />
	<input type="hidden" name="cmd" value="fileshare_msg-||uidl||" />
	<input type="hidden" name="process" value="item-||uidl||" />
	<input type="hidden" name="share_fld" value="web/Private" />

	<input type="hidden" name="subpart" value="" />
	<input type="hidden" name="part" value="" />
</form>
</body>
</html>
