<%--
MosP - Mind Open Source Project    http://www.mosp.jp/
Copyright (C) MIND Co., Ltd.       http://www.e-mind.co.jp/

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
--%>
<%@ page
language     = "java"
pageEncoding = "Windows-31J"
buffer       = "16kb"
autoFlush    = "false"
errorPage    = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.common.common.MospConst"
import = "jp.mosp.common.common.HtmlUtility"
import = "jp.mosp.common.vo.LoginVo"
%><%
LoginVo vo = (LoginVo)request.getAttribute(MospConst.ATT_VO);
%>
<%= HtmlUtility.getHeader(vo) %>
<div class="Header">
	<div class="TitleBar">
		<%= HtmlUtility.getTagLogoImage(vo.getLogoPath(), vo.getName("C_LOGO")) %>
		<span id="lblTitle"  ><%= vo.getEscTitle() %>&nbsp;</span>
		<span id="lblVersion"><%= vo.getEscVersion() %></span>
	</div>
</div>
<div class="Body" id="login" >
	<table>
		<tr>
			<td class="TitleLabel">
				UserID
			</td>
			<td class="TitleLabel">
				Password
			</td>
		</tr>
		<tr>
			<td class="LoginTd">
				<input type="text" id="<%= LoginVo.PRM_TXT_USER_ID %>" name="<%= LoginVo.PRM_TXT_USER_ID %>" value="<%= vo.getEscUserId() %>" maxlength="<%= LoginVo.LEN_USER_ID %>" class="TextBox" /></td>
			<td class="LoginTd">
				<input type="password" id="<%= LoginVo.PRM_TXT_PASS %>" name="plain" value="" maxlength="32" class="TextBox" id="txtPass" onkeydown="onLoginKeyDown(event);" />
			</td>
		</tr>
		<tr>
			<td>
				<button type="button" class="Button" id="btnLogin" onclick="submitForm(document.form, 'C1020');"><%= vo.getName("C_LOGIN") %></button>
			</td>
			<td>
				<button type="button" class="Button" id="btnClose" onclick="closeWindow();"><%= vo.getName("C_CLOSE") %></button>
			</td>
		</tr>
	</table>
	<table>
		<tr>
			<td colspan="2">
				<%= HtmlUtility.getMessages(vo) %>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<div class="CopyLabel">
					<%= vo.getCopy() %>
				</div>
			</td>
		</tr>
	</table>
	<input type="hidden" id="hdnPass" name="<%= LoginVo.PRM_TXT_PASS %>" value="" />
</div>
<%= HtmlUtility.getFooter(vo) %>
<%
response.setContentType("text/html; charset=Shift-JIS");
%>
