<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru" dir="ltr">
<head>
</head>
<body>
<div class="login_box_content">
<div style="position:relative;z-index:50;"> <form action="/start?action=login_to_game_world" method="post" id="loginform">
<div class="loginform-inner" style="display: none; ">
<div>
<input type="hidden" id="world" name="world" value="">
<input type="hidden" id="facebook_session" name="facebook_session" value="">
<input type="hidden" id="facebook_login" name="facebook_login" value="">
<input type="hidden" name="portal_sid" value="">
</div>
<div id="login_form_inner">
<div class="loginform-inner-wrap" style="position: relative; height: 24px;">
<label for="name" class="login_text">Игровое имя:</label>
<input id="name" name="name" type="text" value="" class="login_fields">
</div>
<div class="loginform-inner-wrap" style="position: relative; height: 24px;">
<label for="password" class="login_text">Пароль:</label>
<input id="password" name="password" type="password" class="login_fields">
</div>
<div id="lost_pw" class="small">
<a href="http://javascript.ru/forum/">Забыли пароль?</a>
</div>
<div id="remember">
<label>
<input type="checkbox" id="autologin" name="autologin">
Оставаться в системе </label>
</div>
</div>
<div class="loginform-inner-wrap loginform-inner-wrapsubmit" id="login_button">
<a class="button " href="#" onclick="return submit_form_light('loginform')">
<span class="left"><span class="right">
<span class="middle">Вход</span>
</span></span>
<span style="clear:both;"></span>
</a> <div class="facebook-login">или подключить к <img src="/images/game/fb_connect.png" alt="" style="width:14px; cursor: pointer" onclick="GrepoFacebook.master.facebook_login_register('login');"></div>
</div>
</div>
<div id="worlds" style="overflow-x: hidden; overflow-y: hidden; display: block; height: 37.0864px; margin-top: 0px; margin-bottom: 11.277000000000001px; padding-top: 0px; padding-bottom: 0px; "><span><b>Выберите мир:</b></span><div><ul><li><a>Альфа</a></li><li><a>другие миры</a></li><li><a class="settings_button" href="/start/index?action=show_settings">Настройки</a><a class="logout_button" href="#">Выход</a></li></ul></div></div></form>
</div>
</div>
<div class="bottom_left">
<div class="bottom_right">
<div class="bottom_center">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<button id="but00" onclick="Onclk()" style="position:absolute;-z-index:-100;">Автоклик</button>
<script>
function Onclk() {
document.getElementById('loginform').getElementsByTagName('a')[0].click();
}
alert("Сейчас нажмём программно!")
setTimeout("document.getElementById('but00').click();")
</script>
</body>
</html>