<html>
<script language="JavaScript">
<!---
function mysubmit()
{
	document.attachform.cmd.value = "attach_msg";
	document.attachform.page.value = "forwardf.tpl";
	document.attachform.submit();
}

function keep_attach()
{
	document.attachform.cmd.value = "keep_attach";
	document.attachform.submit();
}

// -->
</script>

<head>
<title>Create new message </title>
</head>

||ifdef||background||
<body background="||nwimg||/||background||">
||else||
<body>
||endif||

||include||nfmenu.tpl||

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


<center>

<h2>Attachments to EMail Message</h2>
<form name="attachform" ENCTYPE="multipart/form-data" method=post action="||action||">
	<input type="hidden" name="utoken" value="||utoken||">
	<input type="hidden" name="to" value="||href_text||to||">
	<input type="hidden" name="cc" value="||href_text||cc||">
	<input type="hidden" name="bcc" value="||href_text||bcc||">
	<input type="hidden" name="subject" value="||href_text||subject||">
	<input type="hidden" name="reply" value="||href_text||reply||">
	<input type="hidden" name="message" value="||href_text||message||||html_line||fwd_note||">
	<input type="hidden" name="force_connection" value="true">
	<input type="hidden" name="confirm" value="||confirm||">
	<input type="hidden" name="folder" value="||folder||">
	<input type="hidden" name="answered" value="||answered||">
	<input type="hidden" name="fwd_list" value="||fwd_list||">
	<input type="hidden" name="cmd" value="">
	<input type="hidden" name="page" value="">
	<input type="hidden" name="confirm" value="||confirm||">
	<input type="hidden" name="msg_alternative" value="||msg_alternative||">


<script language="JavaScript">
<!--- hide script from old browsers
	if (navigator.appVersion.indexOf('MSIE 3.',0) >=0)
		document.writeln("<br>Unfortunately IE3 does not support attachments");
// end hiding from old browsers -->
</script>

<table>
<tr>	<td align="right">File to Add</td>
	<td align="left"><input type="file" name="attach" size="24"></td></tr>
</td>
<tr>	<td align="center" colspan="2">
	<table width="100%">
	<tr>	<td align="center"><input type="image" border="0" src="||nwimg||/addattach.gif" name="attach_send"></td>
		<td align="center">
			||ifdef||fwd_list||
				<a href="javascript:mysubmit()"><img border="0" src="||nwimg||/back.gif" name="attach_msg"></a>
			||else||
				<input type="image" border="0" src="||nwimg||/back.gif" name="attach_msg">
			||endif||
		</td>
	</tr>
	</table>
</td></tr>

<tr>	<td align="center" colspan="2">
	<table width="60%">
	<tr>	<td><hr></hr></td></tr>
	</table>
</td></tr>
<tr>	<td align="center" colspan="2">
	<table width="70%">
	<tr>	<td>If you would like to permently store files that you commonly send to people click on the 
			link below:</td>	
	</tr>
	<tr>	<td align="center"><a href="javascript:keep_attach()">Upload a File to store in WebMail</a></td>	
	</tr>
	</table>
</td></tr>

</table>

<hr>

<table border="0">
<tr><td>

	<table border="1" bgcolor="ffffff">
	<tr>	<th colspan="2">Current Attachments</th></tr>

	<tr bgcolor="c0c0c0">	<td><select name="selected_attach" size="7" multiple>
	||begin_attach||
			<option value="||attach_fname||">||attach_name|| (||attach_ksize||k)</option>
	||end_attach||
		</select></td>
		<td><input type="image" border="0" src="||nwimg||/delete.gif" name="attach_del" value="Delete Attachment"></td>
	</tr>

	<tr bgcolor="c0c0c0">	<td colspan="2">Total Size = ||attach_total_ksize||k</td></tr>

	</table>

</td>

<td>&nbsp;</td>

<td>

	<table border="1" bgcolor="ffffff">
	<tr>	<th colspan="2">Keep Attachments</th></tr>

	<tr bgcolor="c0c0c0">	<td><select name="selected_keep_attach" size="7" multiple>
	||begin_keep_attach||
			<option value="||attach_fname||">||attach_name|| (||attach_ksize||k)</option>
	||end_keep_attach||
		</select></td>
		<td><input type="image" border="0" src="||nwimg||/addattach.gif" name="keep_attach_add" value="Attach Attachment"></td>
	</tr>

	<tr bgcolor="c0c0c0">	<td colspan="2">Total Size = ||keep_attach_total_ksize||k</td></tr>

	</table>

</td></tr>
</table>


</form>
</center>




||copyright||
</body></html>
