<!-- регистрация -->
<div class="mainf2a">

<table class="manTable" id="siM63" width="100%" border="0" cellpadding="2" cellspacing="1">
<?if($ERROR$)?>
<tbody><tr id="siM1"><td colspan="2" class="manTdError" id="siM2" align="center"><font size="1" face="Bookman Old Style">$ERROR$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($LOGIN_FL$)?>
<tr id="siM42"><td class="manTd1" id="siM43" width="35%"><font size="1" face="Bookman Old Style">$LOGIN_SIGN$</font></td><td class="manTd2" id="siM44"><font size="1" face="Bookman Old Style">$LOGIN_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>


<br><div id="LoginInfo"><font face="Bookman Old Style"><span style="font-size: 8pt;">Введите логин</span></font></div> 
 <script> 

 $(document).ready(function () { 
 $('#siF20').attr('disabled', true); 
 }); 
 $('#siF13').change(function () { 
 Er = false; 
 if ($('#siF13').attr('value').length < 2){ 
 $('#LoginInfo').html('<img align="absmiddle" src="http://src.ucoz.ru/img/icon/er.png"> <b style="color: red;">Минимальная длина логина - 2 символа</b></b>'); 
 Er = true; 
 } 
 if ($('#siF13').attr('value').length > 25){ 
 $('#LoginInfo').html('<img align="absmiddle" src="http://src.ucoz.ru/img/icon/er.png"> <b style="color: red;">Максимальная длина логина - 25 символов</b>'); 
 Er = true; 
 } 
 if ($('#siF13').attr('value').match(/[^a-zA-Z0-9\-\_\@\%\{\}\[\]\(\)\u0080-\uFFFF]/)){ 
 $('#LoginInfo').html('<img align="absmiddle" src="http://src.ucoz.ru/img/icon/er.png"> <b style="color: red;">Недопустимые символы</b>'); 
 Er = true 
 } 
 if (!Er){ 
 $('#LoginInfo').html('<img align="absmiddle" src="http://src.ucoz.ru/img/wd/3/ajaxs.gif"> <b>Подождите идет проверка...</b>'); 
 $.get('/index/8-0-' + $('#siF13').attr('value'), function (Data) { 
 if (Data == 'Пользователь не найден') { 
 $('#LoginInfo').html('<img align="absmiddle" src="http://src.ucoz.ru/img/icon/ok.png"> <b style="color: green;">Логин ' + $('#siF13').attr('value') + ' свободен</b>'); 
 $('#siF20').attr('disabled', false); 
 } 
 else { 
 $('#LoginInfo').html('<img align="absmiddle" src="http://src.ucoz.ru/img/icon/er.png"> <b style="color: red;">Логин ' + $('#siF13').attr('value') + ' занят</b>'); 
 $('#siF20').attr('disabled', true); 
 } 
 }) 
 } 
 else { 
 $('#siF20').attr('disabled', true); 
 } 
 }); 
 </script>





<?if($PASSWORD_FL$)?>
<tr id="siM45"><td class="manTd1" id="siM46"><font size="1" face="Bookman Old Style">$PASSWORD_SIGN$</font></td><td class="manTd2" id="siM47"><font size="1" face="Bookman Old Style">$PASSWORD_FL$</font></td></tr>
<?endif?>
<?if($PASSWORD1_FL$)?>


<div id="mypassword_text" style="display:inline;"></div> 
<div id="mypassword_bar" style="font-size: 1px; height: 3px; width: 0px; "></div></td></tr><SCRIPT type="text/javascript"> var m_strUpperCase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_"; var m_strLowerCase = "abcdefghijklmnopqrstuvwxyz-"; var m_strNumber = "0123456789"; function checkPassword(strPassword) { var nScore = 0; if (strPassword.length < 6) { nScore += 0; } else if (strPassword.length > 5 && strPassword.length < 10) { nScore += 11; } else if (strPassword.length > 9) { nScore += 33; } var nUpperCount = countContain(strPassword, m_strUpperCase); var nLowerCount = countContain(strPassword, m_strLowerCase); var nLowerUpperCount = nUpperCount + nLowerCount; if (nUpperCount == 0 && nLowerCount != 0) { nScore += 10; } else if (nUpperCount != 0 && nLowerCount == 0) { nScore += 10; } else if (nUpperCount != 0 && nLowerCount != 0) { nScore += 26; } var nNumberCount = countContain(strPassword, m_strNumber); if (nNumberCount >= 2) { nScore += 10; } if (nNumberCount >= 4) { nScore += 26; } if (nNumberCount != 0 && nLowerUpperCount != 0) { nScore += 5; } return nScore; } function runPassword(strPassword, strFieldID) { var nScore = checkPassword(strPassword); var ctlBar = document.getElementById(strFieldID + "_bar"); var ctlText = document.getElementById(strFieldID + "_text"); if (!ctlBar || !ctlText) return; ctlBar.style.width = nScore + "%"; if (nScore == 100) { var strText = "Отличный пароль! Главное не забыть его. :)"; var strColor = "limegreen"; } else if (nScore >= 80) { var strText = "Очень хороший пароль."; var strColor = "blue"; } else if (nScore >= 65) { var strText = "Это видно, что пароль, можно уже и остановиться!"; var strColor = "dodgerblue"; } else if (nScore >= 50) { var strText = "Во-во, это ещё ничего!.."; var strColor = "mediumturquoise"; } else if (nScore >= 25) { var strText = "Слабоват парольчик."; var strColor = "yellowgreen"; } else if (nScore != 0) { var strText = "Ужас. (qwerty и то лучше :)) "; var strColor = "firebrick"; } else { var strText = ""; var strColor = "black"; } ctlBar.style.backgroundColor = strColor; ctlText.innerHTML = "<span style='color: " + strColor + ";'> " + strText + " - " + nScore + "%</span>"; } function countContain(strPassword, strCheck) { var nCount = 0; for (i = 0; i < strPassword.length; i++) { if (strCheck.indexOf(strPassword.charAt(i)) > -1) { nCount++; } } return nCount; } document.getElementById("siF14").onkeyup="runPassword(this.value, 'mypassword')"; </SCRIPT>


<tr id="siM48"><td class="manTd1" id="siM49"><font size="1" face="Bookman Old Style">$PASSWORD1_SIGN$</font></td><td class="manTd2" id="siM50"><font size="1" face="Bookman Old Style">$PASSWORD1_FL$








<script>
Chars = new Array ()
for (j = 65; j <=122; j++){
 if ((j < 91) || (j > 96)) {
 Chars[Chars.length] = String.fromCharCode(j);
 }
}
function GenerateRandomPassword(){
 PassLength = 10 + Math.round(5 * Math.random());
 Pass = ''
 for (i = 0; i < PassLength; i++){
 ChIndex = Math.round(Chars.length * Math.random()) - 1;
 if ((Chars[ChIndex]) && (Pass.length < 15)) {
 Pass += Chars[ChIndex];
 }
 }
 return Pass;
}
function NewPass(){
 NewRandPass = GenerateRandomPassword();
 $('#siF14, #siF15').attr('value', NewRandPass);
 $('#RandPass').hide('fast').html('Ваш пароль <b>' + NewRandPass + '</b><br><a href="javascript://" style="font-size: 9px; " onclick="NewPass()">Сгенерировать новый пароль</a>').show('slow');
}

</script>
<div id="RandPass">
<a href="javascript://" style="font-size: 9px; " onclick="NewPass()">Сгенерировать случайный пароль</a>
</div>
</td></tr>


</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?else?><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($GROUP_FL$)?>
<tr id="siM70"><td class="manTd1" id="siM71"><font size="1" face="Bookman Old Style">$GROUP_SIGN$</font></td><td class="manTd2" id="siM72"><font size="1" face="Bookman Old Style">$GROUP_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($NAME_FL$)?>
<tr id="siM51"><td class="manTd1" id="siM52"><font size="1" face="Bookman Old Style">$NAME_SIGN$</font></td><td class="manTd2" id="siM53"><font size="1" face="Bookman Old Style">$NAME_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($EMAIL_FL$)?>
<tr id="siM54"><td class="manTd1" id="siM55"><font size="1" face="Bookman Old Style">$EMAIL_SIGN$</font></td><td class="manTd2" id="siM56"><font size="1" face="Bookman Old Style">$EMAIL_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($WWW_FL$)?>
<tr id="siM3"><td class="manTd1" id="siM4"><font size="1" face="Bookman Old Style">$WWW_SIGN$</font></td><td class="manTd2" id="siM5"><font size="1" face="Bookman Old Style">$WWW_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($ICQ_FL$)?>
<tr id="siM6"><td class="manTd1" id="siM7"><font size="1" face="Bookman Old Style">$ICQ_SIGN$</font></td><td class="manTd2" id="siM8"><font size="1" face="Bookman Old Style">$ICQ_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($AOL_FL$)?>
<tr id="siM9"><td class="manTd1" id="siM10"><font size="1" face="Bookman Old Style">$AOL_SIGN$</font></td><td class="manTd2" id="siM11"><font size="1" face="Bookman Old Style">$AOL_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($MSN_FL$)?>
<tr id="siM12"><td class="manTd1" id="siM13"><font size="1" face="Bookman Old Style">$MSN_SIGN$</font></td><td class="manTd2" id="siM14"><font size="1" face="Bookman Old Style">$MSN_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($YAHOO_FL$)?>
<tr id="siM15"><td class="manTd1" id="siM16"><font size="1" face="Bookman Old Style">$YAHOO_SIGN$</font></td><td class="manTd2" id="siM17"><font size="1" face="Bookman Old Style">$YAHOO_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($BIRTHDAY_FL$)?>
<tr id="siM30"><td class="manTd1" id="siM31"><font size="1" face="Bookman Old Style">$BIRTHDAY_SIGN$</font></td><td class="manTd2" id="siM32"><font size="1" face="Bookman Old Style">$BIRTHDAY_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($GENDER_FL$)?>
<tr id="siM27"><td class="manTd1" id="siM28"><font size="1" face="Bookman Old Style">$GENDER_SIGN$</font></td><td class="manTd2" id="siM29"><font size="1" face="Bookman Old Style">$GENDER_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($COUNTRY_FL$)?>
<tr id="siM18"><td class="manTd1" id="siM19"><font size="1" face="Bookman Old Style">$COUNTRY_SIGN$</font></td><td class="manTd2" id="siM20"><font size="1" face="Bookman Old Style">$COUNTRY_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($STATE_FL$)?>
<tr id="siM21"><td class="manTd1" id="siM22"><font size="1" face="Bookman Old Style">$STATE_SIGN$</font></td><td class="manTd2" id="siM23"><font size="1" face="Bookman Old Style">$STATE_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($CITY_FL$)?>
<tr id="siM24"><td class="manTd1" id="siM25"><font size="1" face="Bookman Old Style">$CITY_SIGN$</font></td><td class="manTd2" id="siM26"><font size="1" face="Bookman Old Style">$CITY_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($AVATAR_FL$)?>
<tr id="siM36"><td class="manTd1" id="siM37" valign="top"><font size="1" face="Bookman Old Style">$AVATAR_SIGN$</font></td><td class="manTd2" id="siM38"><font size="1" face="Bookman Old Style">$AVATAR_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($SIGNATURE_FL$)?>
<tr id="siM33"><td class="manTd1" id="siM34"><font size="1" face="Bookman Old Style">$SIGNATURE_SIGN$</font></td><td class="manTd2" id="siM35"><font size="1" face="Bookman Old Style">$SIGNATURE_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($SUBSCRIPTION_FL$)?>
<tr id="siM39"><td class="manTd1" id="siM40"><font size="1" face="Bookman Old Style">$SUBSCRIPTION_SIGN$</font></td><td class="manTd2" id="siM41"><font size="1" face="Bookman Old Style">$SUBSCRIPTION_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($OPTIONS_FL$)?>
<tr id="siM63"><td class="manTd1" id="siM64"><font size="1" face="Bookman Old Style">$OPTIONS_SIGN$</font></td><td class="manTd2" id="siM65"><font size="1" face="Bookman Old Style">$OPTIONS_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<?if($SECURITY_CODE_FL$)?>
<tr id="siM60"><td class="manTd1" id="siM61"><font size="1" face="Bookman Old Style">$SECURITY_CODE_SIGN$</font></td><td class="manTd2" id="siM62"><font size="1" face="Bookman Old Style">$SECURITY_CODE_FL$</font></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<?endif?>
<tr id="siM64"><td class="manTdBut" colspan="2" id="siM65" align="center"><font size="1" face="Bookman Old Style"><input class="manFlSbm" id="siF20" type="image" src="/img/submit_btn.png" name="sbm" value="$SUBMIT_SIGN$" type="submit"></font></td></tr>
</tbody></table>

</div>
 <div class="nfoot2"></div>
<!-- регистрация -->