<%--
MosP - Mind Open Source Project         http://www.mosp.jp/
Copyright (C) 1987-2009 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.
--%>
<%-- 乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂--%>
<%--      僐儞僺儏乕僞丒儅僀儞僪丒僔儕乕僘乛MosP                             --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--      僾儘僌儔儉俬俢丗  kaisyaMasterCard                                 --%>
<%--      僾儘僌儔儉柤  丗  帠嬈強儅僗僞曐庣徻嵶夋柺                         --%>
<%--      廋惓棜楌      丗                                                   --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%-- 乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂乣丂--%>
<%@ 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.CommonConst"
import = "jp.mosp.system.vo.KaisyaMasterCardVo"
%><%
KaisyaMasterCardVo vo = (KaisyaMasterCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%=HtmlUtility.getHeader(vo)%>
<%=vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_SYSTEM2)%>
<div class="Body" id="kaisyaMasterCard">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Card">
		<table >
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KaisyaMasterCardVo.NAM_JCODE%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_JCODE %>" name="<%= KaisyaMasterCardVo.PRM_TXT_JCODE %>" value="<%= vo.getEscTxtJCode() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KaisyaMasterCardVo.NAM_KAIMEI%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="TextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAIMEI %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAIMEI %>" value="<%= vo.getEscTxtKaiMei() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KaisyaMasterCardVo.NAM_KAIFURI%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="TextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAIFURI %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAIFURI %>" value="<%= vo.getEscTxtKaiFuri() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KaisyaMasterCardVo.NAM_KJIGYONUSI%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="TextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KJIGYONUSI %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KJIGYONUSI %>" value="<%= vo.getEscTxtKJigyoNusi() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KaisyaMasterCardVo.NAM_KAIYUBIN%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAIYUBIN1 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAIYUBIN1 %>" value="<%= vo.getEscTxtKaiYubin1() %>" />
					-
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAIYUBIN2 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAIYUBIN2 %>" value="<%= vo.getEscTxtKaiYubin2() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KaisyaMasterCardVo.NAM_KAIJYUSYO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="TextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAIJYUSYO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAIJYUSYO %>" value="<%= vo.getEscTxtKaiJyusyo() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_KAITEL%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAITEL1 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAITEL1 %>" value="<%= vo.getEscTxtKaiTel1() %>" />
					<%= CommonConst.FILE_NAME_SEPARATOR %>
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAITEL2 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAITEL2 %>" value="<%= vo.getEscTxtKaiTel2() %>" />
					<%= CommonConst.FILE_NAME_SEPARATOR %>
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAITEL3 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAITEL3 %>" value="<%= vo.getEscTxtKaiTel3() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_KAIFAX%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAIFAX1 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAIFAX1 %>" value="<%= vo.getEscTxtKaiFax1() %>" />
					<%= CommonConst.FILE_NAME_SEPARATOR %>
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAIFAX2 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAIFAX2 %>" value="<%= vo.getEscTxtKaiFax2() %>" />
					<%= CommonConst.FILE_NAME_SEPARATOR %>
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KAIFAX3 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KAIFAX3 %>" value="<%= vo.getEscTxtKaiFax3() %>" />
				</td>
			</tr>
<!--	2008/10/21	m.yoshida	師婜Ver偵偰懳墳 -->
<!--
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKOYOU%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKOYOU %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKOYOU %>" value="<%= vo.getEscTxtRitKoyou() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKKOYOU%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKKOYOU %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKKOYOU %>" value="<%= vo.getEscTxtRitKKoyou() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKENPO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKENPO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKENPO %>" value="<%= vo.getEscTxtRitKenpo() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKKENPO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKKENPO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKKENPO %>" value="<%= vo.getEscTxtRitKKenpo() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKAIGO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKAIGO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKAIGO %>" value="<%= vo.getEscTxtRitKaigo() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKKAIGO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKKAIGO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKKAIGO %>" value="<%= vo.getEscTxtRitKKaigo() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKOSEI%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKOSEI %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKOSEI %>" value="<%= vo.getEscTxtRitKosei() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKKOSEI%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKKOSEI %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKKOSEI %>" value="<%= vo.getEscTxtRitKKosei() %>" />

				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_KIKINKBN%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2" >
					<select style="width:160px" id="<%= KaisyaMasterCardVo.PRM_PLT_KIKINKBN%>" name="<%= KaisyaMasterCardVo.PRM_PLT_KIKINKBN %>">
						<%=HtmlUtility.getSelectOption(vo.aryPltKikinKbn , vo.getEscPltKikinKbn())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKIKIN%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKIKIN %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKIKIN %>" value="<%= vo.getEscTxtRitKikin() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_RITKKIKIN%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_RITKKIKIN %>" name="<%= KaisyaMasterCardVo.PRM_TXT_RITKKIKIN %>" value="<%= vo.getEscTxtRitKKikin() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_SYAHOFUGO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_SYAHOFUGO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_SYAHOFUGO %>" value="<%= vo.getEscTxtSyahoFugo() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_SYAHOKIGO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_SYAHOKIGO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_SYAHOKIGO %>" value="<%= vo.getEscTxtSyahoKigo() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_SYAHOBANGO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_SYAHOBANGO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_SYAHOBANGO %>" value="<%= vo.getEscTxtSyahoBango() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_KENPOJINO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KENPOJINO %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KENPOJINO %>" value="<%= vo.getEscTxtKenpoJiNo() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=KaisyaMasterCardVo.NAM_KIKINJINO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KIKINJINO1 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KIKINJINO1 %>" value="<%= vo.getEscTxtKikinJiNo1() %>" />
					-
					<input type="text" class="CodeTextBox" id="<%= KaisyaMasterCardVo.PRM_TXT_KIKINJINO2 %>" name="<%= KaisyaMasterCardVo.PRM_TXT_KIKINJINO2 %>" value="<%= vo.getEscTxtKikinJiNo2() %>" />
					<%=KaisyaMasterCardVo.NAM_KIKINJINO1%>-<%=KaisyaMasterCardVo.NAM_KIKINJINO2%>
				</td>
			</tr>
-->
		</table>
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_RODOUBI %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_RODOUBI %>" 	value="<%=vo.getEscHidRodouBi() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_ROUDOUJI %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_ROUDOUJI %>" 	value="<%=vo.getEscHidRoudouJi() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_ROUDOUJI1 %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_ROUDOUJI1 %>" 	value="<%=vo.getEscHidRoudouJi1() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_ZARITU %>" 		name="<%= KaisyaMasterCardVo.PRM_HID_ZARITU %>" 	value="<%=vo.getEscHidZaRitu() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_KSRITU %>" 		name="<%= KaisyaMasterCardVo.PRM_HID_KSRITU %>" 	value="<%=vo.getEscHidKsRitu() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_SNRITU %>" 		name="<%= KaisyaMasterCardVo.PRM_HID_SNRITU %>" 	value="<%=vo.getEscHidSnRitu() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_ZANTANKBN %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_ZANTANKBN %>" 	value="<%=vo.getEscHidZantanKbn() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_KOSEI3KBN %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_KOSEI3KBN %>" 	value="<%=vo.getEscHidKosei3Kbn() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_RITKOSEI3 %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_RITKOSEI3 %>" 	value="<%=vo.getEscHidRitKosei3() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_RITKKOSEI3 %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_RITKKOSEI3 %>" value="<%=vo.getEscHidRitKKosei3() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_RITKIKIN3 %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_RITKIKIN3 %>" 	value="<%=vo.getEscHidRitKikin3() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_RITKKIKIN3 %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_RITKKIKIN3 %>" value="<%=vo.getEscHidRitKKikin3() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_KAIBANK %>" 	name="<%= KaisyaMasterCardVo.PRM_HID_KAIBANK %>" 	value="<%=vo.getEscHidKaiBank() %>" />
		<input type="hidden" id="<%= KaisyaMasterCardVo.PRM_HID_SERVER %>" 		name="<%= KaisyaMasterCardVo.PRM_HID_SERVER %>" 	value="<%=vo.getEscHidServer() %>" />
	</div>
</div>
<div class="Footer">
	<button type="button" class="ExecuteButton" onclick="submitForm(document.form)"><%= CommonConst.NAM_REGIST %></button>
	<button type="button" class="ExecuteButton" id="btnDelete" onclick="doSubmitMessage(document.form, 'S2019','QC0002' ,'')"><%= CommonConst.NAM_DELETE %></button>
	<button type="button" class="ExecuteButton" onclick="doSubmit(document.form, 'S2012')"><%= CommonConst.NAM_TO_LIST %></button>
	<button type="button" class="ExecuteButton" id="btnNewData" onclick="doSubmit(document.form, 'S2015')"><%= CommonConst.NAM_MAKE_NEW_DATA %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
