<script language="JavaScript" type="text/javascript">
<!--

l_empty_message = "{L_EMPTY_MESSAGE}"; 
l_no_text_selected = "{L_NO_TEXT_SELECTED}";

//-->
</script>
<script language="JavaScript" type="text/javascript" src="templates/translit.js"></script>

<script language="JavaScript" type="text/javascript" src="templates/quick_reply.js"></script>

<form action="{S_QUICK_REPLY_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">
<tr>
<td valign="top" colspan="2" class="row1">
<table border="0" cellpadding="5" cellspacing="1" width="100%">
<!-- BEGIN switch_user_logged_out -->
<tr> 
	<td width="135"><span class="gen"><b>{L_USERNAME}</b></span></td>
	<td><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></span></td>
</tr>
<!-- END switch_user_logged_out -->
<tr>
	<td valign="top" width="135">
	<table width="100%" border="0" cellspacing="0" cellpadding="1">
	<tr> 
		<td><span class="gen"><b>{L_MESSAGE_BODY}</b></span> </td>
	</tr>

		  <tr> 
			<td valign="middle" align="center"> <br />
			  <table width="100" border="0" cellspacing="0" cellpadding="5">
				<tr align="center"> 
				  <td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td>
				</tr>
				<!-- BEGIN smilies_row -->
				<tr align="center" valign="middle"> 
				  <!-- BEGIN smilies_col -->
				  <td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
				  <!-- END smilies_col -->
				</tr>
				<!-- END smilies_row -->
				<!-- BEGIN switch_smilies_extra -->
				<tr align="center"> 
				  <td colspan="{S_SMILIES_COLSPAN}"><span  class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></span></td>
				</tr>
				<!-- END switch_smilies_extra -->
			  </table>
			</td>
		  </tr>

	</table>
	</td>
	<td valign="top">
			<table width="450" border="0" cellspacing="0" cellpadding="5">
				<tr align="center" valign="middle" class="genmed">
					<td><input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width:30px" onClick="bbstyle(0)" /></td>
					<td><input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width:30px" onClick="bbstyle(2)" /></td>
					<td><input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width:30px" onClick="bbstyle(4)" /></td>
					<td><input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width:50px" onClick="bbstyle(6)" /></td>
					<td><input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width:40px" onClick="bbstyle(8)" /></td>
					<td><input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width:40px" onClick="bbstyle(10)" /></td>
					<td><input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width:40px" onClick="bbstyle(12)" /></td>
					<td><input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width:40px"  onClick="bbstyle(14)" /></td>
					<td><input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width:40px" onClick="bbstyle(16)" /></td>
					<td><input type="button" class="button" accesskey="t" name="translitbbcode" value="{L_TRANSLIT}" style="width: 70px" onClick="translit()" /></td>
				</tr>
			</table>
			<span class="genmed"> &nbsp;{L_FONT_COLOR}: 
					<select name="addbbcodefontcolor" onChange="bbfontstyle('[color=' + this.form.addbbcodefontcolor.options[this.form.addbbcodefontcolor.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;">
					  <option style="color:black; background-color: {T_TD_COLOR1}" value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>
					  <option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>
					  <option style="color:red; background-color: {T_TD_COLOR1}" value="red" class="genmed">{L_COLOR_RED}</option>
					  <option style="color:orange; background-color: {T_TD_COLOR1}" value="orange" class="genmed">{L_COLOR_ORANGE}</option>
					  <option style="color:brown; background-color: {T_TD_COLOR1}" value="brown" class="genmed">{L_COLOR_BROWN}</option>
					  <option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
					  <option style="color:green; background-color: {T_TD_COLOR1}" value="green" class="genmed">{L_COLOR_GREEN}</option>
					  <option style="color:olive; background-color: {T_TD_COLOR1}" value="olive" class="genmed">{L_COLOR_OLIVE}</option>
					  <option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan" class="genmed">{L_COLOR_CYAN}</option>
					  <option style="color:blue; background-color: {T_TD_COLOR1}" value="blue" class="genmed">{L_COLOR_BLUE}</option>
					  <option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
					  <option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
					  <option style="color:violet; background-color: {T_TD_COLOR1}" value="violet" class="genmed">{L_COLOR_VIOLET}</option>
					  <option style="color:white; background-color: {T_TD_COLOR1}" value="white" class="genmed">{L_COLOR_WHITE}</option>
					  <option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option>
					</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcodefontsize" onChange="bbfontstyle('[size=' + this.form.addbbcodefontsize.options[this.form.addbbcodefontsize.selectedIndex].value + ']', '[/size]')">
					  <option value="7" class="genmed">{L_FONT_TINY}</option>
					  <option value="9" class="genmed">{L_FONT_SMALL}</option>
					  <option value="12" selected class="genmed">{L_FONT_NORMAL}</option>
					  <option value="18" class="genmed">{L_FONT_LARGE}</option>
					  <option  value="24" class="genmed">{L_FONT_HUGE}</option>
					</select>
					</span>
					<br />
				<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="2" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"></textarea><br />
				<!-- BEGIN switch_user_logged_in -->
				<span class="gensmall"><br /><input type="checkbox" name="attach_sig" {S_ATTACH_SIGNATURE}>{L_ATTACH_SIGNATURE}<br /><input type="checkbox" name="notify" {S_NOTIFY}>{L_NOTIFY}<br /><br /></span>
				<!-- END switch_user_logged_in -->
		</td>
	</tr>
	<tr>
		<td align="center" height="28" colspan="2">{S_HIDDEN_FORM_FIELDS}<input type="submit" name="preview" class="liteoption" value="{L_PREVIEW}" />&nbsp;<input type="submit" name="post" tabindex="3" class="mainoption" value="{L_SUBMIT}" /></td>
	</tr>
	</table>

	</td>
</tr>
</form>          