<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>ZTE Cloud Register</title>

<link rel="stylesheet" type="text/css" href="../../static/style/ZTECloud/ZTECloudCommon.css" />
<link rel="stylesheet" type="text/css" href="../../static/style/ZTECloud/ZTECloudRegister.css" />

<script src="../../static/js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="../../static/js/ZTECloud/ZTECloudUtility.js"></script>
<script type="text/javascript" src="../../static/js/ZTECloud/ZTECloudRegister.js"></script>
<script type="text/javascript" src="../../static/js/ZTECloud/register.js"></script>
<script type="text/javascript" src="../../static/js/plantform.js"></script>
<script type="text/javascript">
	var UserNameNoteText = '$trans("Cloud_UserNameNoteText")';
	var UserNameErorNullText = '$trans("Cloud_UserNameErorNullText")';
	var UserNameErorFormText = '$trans("Cloud_UserNameErorFormText")';
	var UserNameEmailUsedText = '$trans("Cloud_UserNameEmailUsedText")';
	var UserNamePhoneUsedText = '$trans("Cloud_UserNamePhoneUsedText")';

	var PasswordNoteText = '$trans("Cloud_PasswordNoteText")';
	var PasswordErorNullText = '$trans("Cloud_PasswordErorNullText")';
	var PasswordErorFormText = '$trans("Cloud_PasswordErorFormText")';
	
	var ConfirmPasswordNoteText = '$trans("Cloud_ConfirmPasswordNoteText")';
	var ConfirmPasswordText = '$trans("Cloud_ConfirmPasswordText")';
	var ConfirmPasswordDiffText = '$trans("Cloud_ConfirmPasswordDiffText")';
	var ConfirmPasswordFormText = '$trans("Cloud_ConfirmPasswordFormText")';
	
	var NickNameNoteText = '$trans("Cloud_NickNameNoteText")';
	var NickNameRule = '$trans("Cloud_NickNameRule")';
	var NickNameFormText = '$trans("Cloud_NickNameFormText")';
	
	var CaptChaNoteText = '$trans("Cloud_CaptChaNoteText")';
	
	var PlsAcceptAgreement = '$trans("Cloud_PlsAcceptAgreement")';
</script>

</head>
<body>

	<div>
		<div>
			<h1 class="title">$trans("Cloud_Register")</h1>
		</div>
		<div>
			<form method="post">
				<div class="divfiled">
					<label>$trans("Cloud_UserName")</label>
					<input class="input_normal" placeholder=$trans("Cloud_UserNameNoteText") id="username" name="name" tabindex="1" type="text" value="" onfocus="showUsernameNote();" onblur="checkUsernameValid();" onkeydown="return(registerCatchEnter(event))" />
					<div id='usernameNote'></div>
				</div>					
				<div class="divfiled">
					<label>$trans("Cloud_Password")</label>
					<input class="input_normal" placeholder=$trans("Cloud_PasswordNoteText") id="password" name="password" size="30" tabindex="2" type="password" value="" onfocus="showPasswordNote();" onblur="checkPasswordValid()" onkeydown="return(registerCatchEnter(event))" />
					<div id='passwordNote'></div>
				</div>							
				<div class="divfiled">
					<label>$trans("Cloud_ConfirmPassword")</label>
					<input class="input_normal" placeholder=$trans("Cloud_ConfirmPasswordText") id="confirmPassword" name="confirmPassword" size="30" tabindex="3" type="password" value="" onfocus="showConfirmPasswordNote();" onblur="checkConfirmPasswordValid();" onkeydown="return(registerCatchEnter(event))" />
					<div id='passwordNote'></div>
				</div>	
				<div class="divfiled">
					<label>$trans("Cloud_NickName")</label>
					<input class="input_normal" placeholder=$trans("Cloud_NickNameRule") id="nickname" name="nickname" tabindex="4" type="text" value="" onfocus="showNicknameNote();" onblur="checkNicknameValid();" onkeydown="return(registerCatchEnter(event))" />
					<div id='passwordNote'></div>
				</div>		
				<div class="divfiled">
					<input class="input_captcha_normal" placeholder=$trans("Cloud_CaptChaNoteText") id="register_captcha" name="register_captcha" tabindex="5" type="text" value="" onfocus="showCaptchaNote();" onblur="checkCaptchaValid();" onkeydown="return(registerCatchEnter(event))" /> 
					<img src="http://cloud.ztedevices.com/zcloud/captcha.show" id="register_captcha_image" class="captcha_img" onclick="reloadCapImg('register_captcha_image');" onkeydown="return(registerCatchEnter(event))" /> 
					<a href="#" onclick="reloadCapImg('register_captcha_image');" tabindex="5">$trans("Cloud_SecurityCodeChange")</a>
					<div id='passwordNote'></div>
				</div>									
				<div>
					<input id="agreementCheckbox" name="agreementCheckbox" type="checkbox" checked="checked" tabindex="6" /> 
					<label for="agreementCheckbox">$trans("Cloud_AcceptAgreement")</label> 
					<a tabindex="7" onclick="ReadAgreement();"style="margin-left: 20px;">$trans("Cloud_ZTEAgreement")</a>								
				</div>	
				<div>
					<input type="button" name="registerBtn" id="RegisterBtn" value=$trans("Cloud_Register") class="btn_common_normal" tabindex="8" onclick="register();" onmouseover="this.className='btn_common_focus'" onmouseout="this.className='btn_common_normal'" onkeydown="return(registerCatchEnter(event))" />
					<input type="button" id="loginBtn" value=$trans("Cloud_Login") class="login_btn_normal"onclick="LoadLoginPage()" onmouseover="this.className='login_btn_focus'" onmouseout="this.className='login_btn_normal'"  onkeydown="return(registerCatchEnter(event))" />
				</div>										
			</form>
		</div>
		
	</div>


</body>

</html>