<html>
<script language="JavaScript">
<!---
function mysubmit(cmd, msg)
{
	if (top.stats) {
		if (top.stats.document) {
			top.stats.Message(msg);
		}
	}
	document.sendform.cmd.value = cmd;
	document.sendform.submit();
}

function newwindow()
{
	msgWindow = open('||action||?cmd=addr_only&utoken=||putoken||&&','ADDRESSBOOK','width=500,height=150,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=yes','POPUP');
	if (msgWindow.opener == null){
		msgWindow.opener = self;
	}
	if (msgWindow.opener.sendform == null){
        msgWindow.opener.sendform = document.sendform;
	}
	msgWindow.focus();
}

// -->
</script>

<head>
<title>Forward ||nfwd|| mail message(s) </title>
</head>


<body bgcolor="#cedfff">
<table border="0" cellpadding="0" cellspacing="0" rules="none"><tr valign="top">
<td>||include||nfmenu.tpl||</td><td>&nbsp;</td><td>


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

<table border=1 width="100%">
<tr><td width="70%" valign="top"><table>
<form name="sendform" method=post action="||action||"> 
	<h3>Forward <b>||nfwd||</b> mail message(s)</h3>
	<input type=hidden name="utoken" value="||utoken||"> 
	<input type=hidden name="fld" value="||folder||"> 
	<input type=hidden name="cmd" value=""> 
	<input type=hidden name="fwd_list" value="||fwd_list||"> 
	<tr><td>
	<table>
	<tr>	<td>
		<table>
			<tr><td align=right>To: </td><td align=left><input name="to" size=24 value="||to||" onFocus="document.sendform.oo[0].checked = true"><input type=radio name="oo" value="t" checked></td></tr>
			<tr><td align=right>CC: </td><td align=left><input name="cc" size=24 onFocus="document.sendform.oo[1].checked = true"><input type=radio name="oo" value="c" ></td></tr>
			<tr><td align=right>BCC: </td><td align=left><input name="bcc" size=24 onFocus="document.sendform.oo[2].checked = true"><input type=radio name="oo" value="b"></td></tr>
			<tr><td align=right>From: </td><td align=left><input name="reply" size=24 value="||reply||" onFocus="document.sendform.oo[3].checked = true"><input type=radio name="oo" value="r"></td></tr>
			<tr><td></td><td><input type=checkbox name="v_myfrom" value="on" ||v_myfrom||>Use my From Address<br>
				<input type=checkbox name="v_supheader" value="on" ||v_supheader||>Suppress Headers</td></tr>
		</table></td>

		<td>	Pick List (and Distribution List)<br>
			<img border="0" src="||nwimg||/clear.gif" alt="Clear" usemap="#Clearfield">
			<map name="Clearfield"><area coords="0,0,109,25" href="javascript:dele()"></map>

			<img border="0" src="||nwimg||/addrsbk.gif"  alt="Address Book" name="Display Address" usemap="#ABooks"><br>
			<map name="ABooks"><area coords="0,0,109,25" href="javascript:newwindow()">
			<br>
				<select name="tolist" size=5 onClick="setto(this)" >
					<option>||picklist||</option>
				</select>
	</td></tr>
	</table>
	</td></tr>

	<tr aligh="right"><td>
	<table >
		<tr>
			<td align="right">Subject: </td>
			<td>
				||ifequal||nfwd||1||
					||begin_forward||
						<input name="subject" size=44 value="FWD: ||h_subject||">
					||end_forward||	
				||else||
					<input name="subject" size=44 value="FWD: (subject)">
				||endif||
			</td>
		    <td><input type=image border="0" src="||nwimg||/send.gif" name=forward_send></td>
		</tr>
		<tr>
			<td></td>
			<td>
				||ifequal||nfwd||1||
				||else||
					<p>'(subject)' Gets Replaced by the Forwarding Messages Subject.</p>
				||endif||
			</td>
<!--		<td><input type="image" name="forward_senddel" alt="Send And Delete" border="0" src="||nwimg||/sendand_delete.gif"></td>-->
		</tr>
	</table>
	</td></tr>

	<tr><td><table>
		<tr><td>Added Note:</td></tr>
		<tr><td><textarea wrap="physical" name="fwd_note" cols=64 rows=8></textarea><br></td>
		</tr>
	</table>
	</td></tr>

	<tr><td>
	<hr>
	<center>
	<input type=image border="0" src="||nwimg||/send.gif" name=forward_send>
	<input type="image" name="forward_senddel" alt="Send And Delete" border="0" src="||nwimg||/sendand_delete.gif">
	</center>
	</td></tr>
</form>
</table>
</td>
<td valign="top">
	<table width=100%>
	<tr ><td nowrap><b>EMail List</b></td></tr>

	||begin_forward||
		<tr><td nowrap>
			<a href="javascript:window.open('||action||?cmd=item-||uidl||&page=email.tpl&fld=||fld||&utoken=||utoken||&&','EMAIL','width=470,height=400,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes');void(0);">
				||lchop||h_subject||40||</a></td>
		</tr>
	||end_forward||
	</table>
</table>

||copyright||
</td></tr></table>
</body>
</html>


<script language="JavaScript">
<!--- hide script from old browsers
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.cc.value = "";
  if (i==2)
       document.sendform.bcc.value = "";
  if (i==3)
       document.sendform.reply.value = "";
  document.sendform.tolist.options[0].selected = true;
}
function setto(sel) {
  var option;
  var i;
 
 for (i=0; i<sel.options.length; i++) {
   if (sel.options[i].selected==true) {
     if (document.sendform.oo[0].checked == true){
       if (document.sendform.to.value != "")
        document.sendform.to.value = ", " + document.sendform.to.value;
       document.sendform.to.value = sel.options[i].value + document.sendform.to.value;
     }
     if (document.sendform.oo[1].checked == true){
       if (document.sendform.cc.value != "")
        document.sendform.cc.value = ", " + document.sendform.cc.value;
       document.sendform.cc.value = sel.options[i].value + document.sendform.cc.value;
     }
     if (document.sendform.oo[2].checked == true){
       if (document.sendform.bcc.value != "")
        document.sendform.bcc.value = ", " + document.sendform.bcc.value;
       document.sendform.bcc.value = sel.options[i].value + document.sendform.bcc.value;
     }
     if (document.sendform.oo[3].checked == true){
       if (document.sendform.reply.value != "")
        document.sendform.reply.value = ", " + document.sendform.reply.value;
       document.sendform.reply.value = sel.options[i].value + document.sendform.reply.value;
     }
   }
 }
   if (sel.options[0].selected==true){
     dele();
   }
}
// end hiding from old browsers -->
</script>