<div class="middleLeft">
	<div class="middleRight p16">

		{ERROR}
		<form method="post" id="editForm">
		<table width="500" cellspacing="0" cellpadding="5" border="0" align="center">
		<tr class="line">
		<td><div class="labelBox">{rs:LOGIN}<span class="red">*</span>:</div></td>
		<td><div class="inputBox login"><input type="text" name="r[login]" value="{login}" maxlength="30"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:PASSWORD}<span class="red">*</span>:</div></td>
		<td><div class="inputBox login"><input type="password" name="r[password]" maxlength="30"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:PASSWORD_CONFIRM}<span class="red">*</span>:</div></td>
		<td><div class="inputBox login"><input type="password" name="r[password2]" maxlength="30"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:MAIL}<span class="red">*</span>:</div></td>
		<td><div class="inputBox"><input type="text" name="r[mail]" value="{mail}"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:NAME}:</div></td>
		<td><div class="inputBox"><input type="text" name="r[name]" value="{name}"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:GENDER}<span class="red">*</span>:</div></td>
		<td>
			<div class="checkBox"><input type="radio" name="r[gender]" id="male" value="1"{if:gender} checked{/if}></div>
			<div class="label"><label for="male">{rs:MALE}</label></div>
			<div class="checkBox"><input type="radio" name="r[gender]" id="female" value="1"{if:!gender} checked{/if}></div>
			<div class="label"><label for="female">{rs:FEMALE}</label></div>
			<div class="br"><img src="{global:PATH}img/spacer.gif" width="1" height="1" border="0" /></div>
		</td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:PHONE_H}:</div></td>
		<td><div class="inputBox"><input type="text" name="r[phone_h]" value="{phone_h}"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:PHONE_W}:</div></td>
		<td><div class="inputBox"><input type="text" name="r[phone_w]" value="{phone_w}"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:PHONE_C}:</div></td>
		<td><div class="inputBox"><input type="text" name="r[phone_c]" value="{phone_c}"></div></td>
		</tr>

		<tr>
		<td><img src="{global:PATH}img/spacer.gif" width="200" height="1" border="0" alt=""></td>
		<td width="100%"><img src="{global:PATH}img/spacer.gif" width="1" height="1" border="0" alt=""></td>
		</tr>
		</table>
		<input type="hidden" name="save" value="1" class="hidden">
		</form>
		<div class="info">{rs:MSG_REQUIRED_FILL}</div>
	</div>
</div>
<div class="actionPanelLeft">
	<div class="actionPanelRight">
		<div class="actionPanelBottom">
			<div class="actionPanelBottomLeft">
				<div class="actionPanelBottomRight p16">
					<div id="actionBottom">
						<div class="button actionNext right">
							<div class="buttonRight">
								<div class="buttonMiddle">{rs:NEXT}</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
	$(".actionNext").click(function() {
		$("#editForm").submit();
	});
	$("#editForm").keydown(function(event) {
  		if (event.keyCode == '13' && event.target.nodeName!='TEXTAREA') $(".actionNext").triggerHandler('click');
	});
</script>


