<div id='root'>
<div id=loginRoot>
	<div id=loginTop>
		<span><img id='loginLogo' src='/Images/HaCi_Logo2.png'></span>
		<br>
		<span><img id='loginLogoString' src='/Images/HaCi_Logo_String.png'></span>
	</div>

	<form name='loginForm' action='[% thisScript %]' method='post' [% IF buttonFocus %]onkeyup  = "submitOnEnter(event,'[% buttonFocus %]')"[% END %]>
	<input type='hidden' id='buttonTmp_loginForm' name='buttonTmp' value='' />
	
	<table width='100%'><tr><td align='center'><table><tr><td>
	<div id='box'>
		<p id='boxHeader'>[% loginHeader %]</p>
		<div id='boxBody'>
			[% INCLUDE HaCiBox.tmpl
				menu						= loginMenu
				parentFormName  = 'loginForm'
				hiddens					= loginHiddens
			%]
		</div>
	</div>
	</td></tr></table></td></tr></table>

	[% IF authError %]
		<div id='authError'>
			<div id='authErrorText'>
				[% authError %]
			</div>
		</div>
	[% END %]
</div> <!-- loginRoot -->
</div>  <!-- root -->
<div id='footer'>
	[% INCLUDE HaCiFooter.tmpl %]
</div>
<div id='warnl' onmousedown='startDrag(this);'>
	<table><tr><td>
		<div id='floatbox'>
			<p id='boxHeader'>[% warnlHeader %]</p>
			<div id='boxBody'>
				[% INCLUDE HaCiBox.tmpl 
					menu	= warnlMenu 
				%]
			</div>
		</div>
	</td></tr></table>
</div>
<script>setFocus('username')</script>
