<html>
||undef||spell_allowed||
||ifnempty||header_charset||
	||begin_language||||ifempty||match_lang||||ifequal||header_charset||lang_charset||||define||match_lang||lang_name||||endif||||endif||||end_language||
||endif||
||ifempty||match_lang||
	||define||match_lang||(||language||)||
||endif||
||ifempty||match_lang||
	||define||match_lang||(||_tpl_lang||)||
||endif||
||ifempty||match_lang||
	||define||match_lang||(||_language||)||
||endif||
||ifempty||match_lang||
	||define||spell_allowed||words.dat||
||else||
<!-- language == '||match_lang||' -->

||begin_language||||ifequal||match_lang||lang_name||<meta http-equiv="Content-type" content="text/html; charset=||lang_charset||">||define||display_lang||lang_charset||||define||spell_allowed||(||lang_dictionary||)||||endif||||end_language||
||endif||
<head>
<link rel="stylesheet" type="text/css" href="||nwimg||||tpl_color||/surge.css" />
<script type="text/javascript">
<!--
||ifempty||dflt_reply||
	||define||dflt_reply||(||current_user||@||domain||)||
||endif||
||ifinstr||dflt_reply||<||
	||define||my_dreply||(||html_text||dflt_reply||)||
||else||
	||ifdef||_real_name||
		||define||xreal_name||(||encode_slash||_real_name||)||
		||define||my_dreply||(&#34;||html_text||xreal_name||&#34; &lt;||html_text||dflt_reply||&gt;)||
	||else||
		||define||my_dreply||(||html_text||dflt_reply||)||
	||endif||
||endif||

||ifinstr||netscape_version||4.|| ||define||feild_width||30|| ||else|| ||define||feild_width||70|| ||endif||
||undef||wys||
||ifinstr||ie_version||7.|| ||ifinstr||win_nt_ver||6.|| ||define||vista_nowys||true|| ||endif|| ||endif||
||ifinstr||ie_version||8.|| ||ifinstr||win_nt_ver||6.|| ||define||vista_nowys||true|| ||endif|| ||endif||
||ifdef||ie_version|| ||ifnequal||is_mac||true|| ||ifnequal||vista_nowys||true|| ||ifequal||_auto_wysiwyg||true||
	||define||wys||true|| ||define||wys_width||95%||  ||define||wys_height||150|| ||ifequal||_topnav||hide|| ||define||wheight||275|| ||else|| ||define||wheight||290|| ||endif||
||endif|| ||endif|| ||endif|| ||endif||
var a_s="false";
var sms_text="||lang_str||When sending to an '@sms' address your email MUST be less than 150 characters||";
//-->
</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||/send.js"></script>
<title>||cust_title|| - ||lang_str||Create new bulletin|| </title>
</head>
||undef||foc||
||ifequal||wys||true||
	||define||foc||(document.getElementById('tbCE').focus\[\];)||
||else||
	||define||foc||(document.sendform.message.focus\[\];)||
||endif||

<body class="body" onLoad="||foc||doresize();||ifequal||wys||true||resize_screen();||endif||" onresize="doresize();||ifequal||wys||true||resize_screen()||endif||">
||ifequal||wys||true||<script type="text/javascript"><!--
function resize_screen(){
	document.getElementById("tbCE").style.height = (document.body.clientHeight-||wheight||) +"px";
}
//-->
</script>||endif||
||include||_layout_start.tpl||
||ifdef||error|| ||include||_errorinline.tpl|| ||endif||
||ifdef||msg|| ||include||_msginline.tpl|| ||endif||
<form name="sendform" method="post" action="||action||">
||ifdef||answered||<input type="hidden" name="answered" value="||answered||" />||endif||
<input type="hidden" name="remove_setting" value="_use_sms_sig" />
<input type="hidden" name="force_connection" value="true" />
<input type="hidden" name="page" value="" />
<input type="hidden" name="utoken" value="||utoken||" />
<input type="hidden" name="cmd" value="||ifequal||is_mac||true||attach_msg||endif||" />
<input type="hidden" name="process" value="" />
<input type="hidden" name="_dflt_alias" value="||html_text||_dflt_alias||" />
<input type="hidden" name="attach_id" value="||attach_id||" />
<input type="hidden" name="_auto_wysiwyg" value="||_auto_wysiwyg||" />
<input type="hidden" name="language" value="||language||" />
<input type="hidden" name="share_fld" value="web/private" />
<input type="hidden" name="fld" value="||fld||" />
<input type="hidden" name="isbulletin" value="true" />
<center>
<br />
<table class="bg1"||ifdef||wys|| width="||wys_width||"||endif||>
<TR><TD>
<TABLE>
<TR>
	<TD WIDTH="10" ROWSPAN="6"> </TD>
	<TD class="LF b">||lang_str||For Users||</TD>
	<TD><INPUT tabindex="1" TYPE="Text" NAME="valid_users" SIZE="||feild_width||" value="||ifdef||valid_users||||valid_users||||else||*||endif||"> </TD>
</TR>
<TR>
	<TD class="LF b">||lang_str||Valid Until||</TD>
	<TD class="LF b">
		||ifequal||date_format||dmy||
			<input name="valid_day" size="2" value="||valid_day||" />/
			<input name="valid_month" size="2" value="||valid_month||" />/
		||else||
			<input name="valid_month" size="2" value="||valid_month||" />/
			<input name="valid_day" size="2" value="||valid_day||" />/
		||endif||
		<input name="valid_year" size="4" value="||valid_year||" />
		&nbsp;Maximum date is ||valid_max||
	</TD>
</TR>

||define||dosel||false||
||define||dname||(||current_user||@||domain||)||
||ifinstr||my_dreply||dname||
	||begin_alias|| ||ifdef||alias|| ||define||dosel||true|| ||endif|| ||end_alias||
||else||
	||define||dosel||true||
||endif||
<TR><TD class="LF b">||lang_str||From||</TD>
||ifequal||dosel||true||
	<TD><SELECT NAME="from">
<option value="||my_dreply||"||ifdef||_dflt_alias|| ||ifequal||(||html_text||_dflt_alias||)||my_dreply||selected="selected"||define||donesel||true||||endif|| ||endif||>||my_dreply||</option>
||begin_alias||
	<option value="||alias||" ||ifequal||_dflt_alias||alias||selected="selected"||define||donesel||true||||endif||>||alias||</option>
||end_alias||
||ifinstr||my_dreply||dname||
||else||
	<option value="||dname||"||ifnequal||donesel||true|| ||ifdef||from|| ||ifequal||from||dname||selected="selected"||endif|| ||else|| selected="selected"||endif|| ||endif||>||dname||</option>
||endif||
	</SELECT></TD>
||else||
	<td class="LF" nowrap>||my_dreply||</td>
	<input type="hidden" name="from" value="||my_dreply||">
||endif||
</TR>
<TR>
	<TD class="LF b">||lang_str||Subject||</TD>
	<TD><INPUT tabindex="2" TYPE="Text" NAME="subject" SIZE="||feild_width||" value="||subject||"></TD>
</TR>
||undef||isattach||
||begin_attach|| ||define||isattach||true|| ||end_attach||
||ifdef||isattach||
<TR>
	<TD class="LF b">||lang_str||Attached||</TD>
	<TD class="LF b">||begin_attach|| ||attach_name|| (||attach_ksize||k),||end_attach||</TD>
</TR>
||endif||
</TABLE>

	</TD>
	<TD ALIGN="RIGHT" VALIGN="TOP" height="100%">

<TABLE WIDTH="100%" height="100%" CELLSPACING="0" CELLPADDING="1">
<TR>
	<td class="rt U">||lang_str||Urgent|| <INPUT TYPE="Checkbox" NAME="priority" value="urgent"||ifequal||priority||urgent|| checked="checked"||endif|| /></td>
	<TD WIDTH="10" ROWSPAN="3"> </TD>
</tr>
<tr>
	<td class="rt LF">||lang_str||Read receipt|| <INPUT TYPE="Checkbox" NAME="confirm" value="read"||ifequal||confirm||read|| checked="checked"||endif|| /></TD>
</TR>
<TR>
	<TD class="rt">
	<A class="LF" HREF="||ifdef||wys||#" onclick="obj_editor=tbCE; tbCE_guardar(); ||else||javascript:||endif||document.sendform.cmd.value = 'add_attach';document.sendform.submit()">||lang_str||Attach file||</A><BR>
||ifdef||spell_allowed||
	<A class="LF" HREF="||ifdef||wys||#" onclick="obj_editor=tbCE; tbCE_guardar(); ||else||javascript:||endif||document.sendform.cmd.value = 'spell_check';document.sendform.submit()">||lang_str||Check spelling||</A><BR>
||else||
	<font class="LF">||lang_str||Check spelling||<BR>
||endif||
	||ifempty||wys||
		||ifdef||ie_version|| ||ifnequal||is_mac||true|| ||ifnequal||vista_nowys||true|| 
				<A class="LF" HREF="javascript:document.sendform.cmd.value='attach_msg';document.sendform._auto_wysiwyg.value='true';document.sendform.page.value='send_bull';document.sendform.submit()">||lang_str||Html text||</A>
		||endif|| ||endif|| ||endif||
	||else||
		||ifinstr||ie_version||5.||
			<input type="button" class="btn" onclick="obj_editor=tbCE; tbCE_guardar();document.sendform.cmd.value='attach_msg';document.sendform._auto_wysiwyg.value='';document.sendform.page.value='send_bull';document.sendform.submit()" value="||lang_str||Plain text||">
		||else||
			<A class="LF" HREF="#" onclick="obj_editor=tbCE; tbCE_guardar();document.sendform.cmd.value='attach_msg';document.sendform._auto_wysiwyg.value='';document.sendform.page.value='send_bull';document.sendform.submit()">||lang_str||Plain text||</A>
		||endif||
	||endif||
	</td>
</tr>
<tr height="100%">
	<td class="rt" valign="bottom" width="100%">
	||ifempty||wys||
		<input tabindex="4" type="button" class="btn70" onclick="do_send();" value="||lang_str||Send||"></td>
	||else||
		<input tabindex="4" type="button" class="btn70" onclick="obj_editor=tbCE; tbCE_guardar(); do_send();" value="||lang_str||Send||"></td>
	||endif||
	</TD>
</TR>
</TABLE>

	</TD>
</TR>
<!-- message="||message||" -->
||undef||start_msg||
||ifempty||wys||
	||define||decode_slash||true||
	||define||xquote_body||(||convert_text||message||)||
<TR>
	<TD COLSPAN="2" class="c">
	<TEXTAREA tabindex="3" NAME="message" COLS="80" ROWS="18">||start_msg||||xquote_body||</TEXTAREA>
	</TD>
</TR>
||else||
||/*||<!-- WYSIWYG stuff here -->||*/||
	||define||start_msg||(||convert_text||start_msg||)||
	||define||start_msg||(||html_text||start_msg||)||
	||define||xquote_body||(||convert_text||message||)||
	||define||xquote_body||(||html_text||xquote_body||)||

	<input type="hidden" name="message" value="||html_add||xquote_body||start_msg||" />
<TR width="||wys_width||">
	<TD COLSPAN="2" class="c"> ||ifdef||ie_version|| ||include||ie_htmltext.tpl|| ||else|| ||include||ns_htmltext.tpl|| ||endif|| </TD>
</TR>
||/*||<!-- end WYSIWYG stuff -->||*/||
||endif||
<TR><TD COLSPAN="2" valign="top">
<TABLE WIDTH="100%"><TR>
	<td class="LF b">
		||lang_str||Select your signature||
		<select class="LF" name="_default_profile" size="1" onchange="setSig();">
			||profile_list||_default_profile||
		</select>
		<input type="hidden" name="addsig" value="on" />
		<script type="text/javascript">
		<!--
			setSig();
		//-->
		</script>
	</td>

||ifequal||match_lang2||english||
	<input type="hidden" name="language" value="||match_lang||">
||else||
	<td class="LF b">
		||lang_str||Content Language||
		<select name="language" size="1" onChange="setlang()">
			||begin_language||
				<option value="||lang_name||" ||ifequal||match_lang||lang_name||selected="selected"||endif||>||lang||lang_name||</option>
			||end_language||
		</select>
	</td>
||endif||
||ifdef||have_pgp_key||
	<td class="LF b">
		PGP
		<select name="pgp_type" size="1">
			<option value="" >||lang_str||None||</option>
			<option value="attach" ||ifempty||pgp_type||selected||endif|| ||ifequal||pgp_type||attach||selected||endif||>Attach Public Key</option>
			<option value="sign" ||ifequal||pgp_type||sign||selected||endif||>PGP Sign Email</option>
			<option value="encode" ||ifequal||pgp_type||encode||selected||endif||>PGP Encode Email</option>
	<!--		<option value="encode+sign">PGP Encode and Sign</option>
	--->
		</select>
	</td>
||endif||
	<td class="LF rt b">
		||lang_str||Keep Copies||
	</td>
	<td><input type="checkbox" name="copyself" value="on" ||ifnempty||copyself||checked="checked"||endif||></td>
	||ifempty||wys||
		<td class="rt"><input tabindex="5" type="button" class="btn70" onclick="do_send();" value="||lang_str||Send||"></td>
	||else||
		<td class="rt"><input tabindex="5" type="button" class="btn70" onclick="obj_editor=tbCE; tbCE_guardar(); do_send();" value="||lang_str||Send||"></td>
	||endif||
</TR></TABLE>
</TD></TR>
</TABLE>
</td></tr></table>
</center>
</BODY>
</HTML>
||ifdef||wys||
||/*||<!-- WYSIWYG stuff here -->||*/||
<script type="text/javascript">
<!--
function salvar_html(htmlcode){
	document.sendform.message.value = htmlcode;
}
tbCE_update(document.sendform.message.value);
//-->
</script>
||/*||<!-- end WYSIWYG stuff -->||*/||
||endif||
