<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page contentType="text/html; charset=UTF-8"%>
<%@ page import="com.csc.library.entry.*" %>
<%@ page import="com.csc.library.session.*,com.csc.library.utilities.*" %>
<jsp:useBean id="TEXTFILE_AIA" scope="page"
	class="com.csc.library.system.Task" />
<html>
<% 
     TEXTFILE_AIA.setChannel(request ,response);
     ProcessEntry screen=(ProcessEntry)TEXTFILE_AIA.process("ProcessEntry","ExportDataToAIA");
     screen.process();
     UProfile up = screen.getUProfile();
	
     String branch=CheckNull.getInstance().chkNullString(request.getParameter("__condition$branch")); 
	
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../CSS/TISCO.css" rel="stylesheet" type="text/css">
<link href="../CSS/bootstrap.css" rel="stylesheet"  type="text/css">
<link href="../CSS/bootstrap_csc_backend.css" rel="stylesheet"  type="text/css">
<script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script>
<script type='text/javascript' src="../JS/bootstrap.js"></script>
<script type='text/javascript' src='../JS/SCREEN.js'></script>
<script language='javascript'>setLang('<%=screen.getUProfile().get("lang")%>');</script>
<script language="javascript">getTitleName();</script>
<script language="javascript">

function process() {
	with(document.cscform){
			bCon=confirm("Confirm Process");
			if (bCon==true)	{	
				__cmd .value = "save";
				submit();
			}
	}
}

function goHelp(helpName,inputName){
	var helpReturn;
	if(inputName=="__condition$branch" )
		helpReturn="__condition$branch:branchid,MBRANCH@TDESC";
	linkHelp_Return(helpName,helpReturn);
}

</script>
</head>
<body leftmargin="0" topmargin="0"
	onLoad="MM_preloadImages('IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif')">
<div id="toolTipLayer" style="position: absolute; visibility: hidden"></div>
<script language="javascript">initToolTips();</script>
<div class="centered">
<form name="cscform" method="post" action=""

<!----------BEGIN CSC INITIAL ZONE ------------------------>

<%=screen.InitialVariable()%>

<!----------END CSC INITIAL ZONE -------------------------->

<input type="hidden" name="__screen" value="TEXTFILE_AIA"> 
<input type="hidden" name="__fixCon" value="companyid='<%=screen.getUProfile().get("companyid")%>'"> 
<input type="hidden" name="__tname" value="นำส่งกองทุนสำรองเลี้ยงชีพ (AIA)">
<input type="hidden" name="__ename" value="Export provident fund (AIA)">
<input type="hidden" name="__cmd" value=""> 
<input type="hidden" name="__help" value=""> 
<input type="hidden" name="__user" value="<%=screen.getUProfile().getUserId()%>"> 
<input type="hidden" name="__companyid" value='<%=screen.getUProfile().get("companyid")%>'>
<input type="hidden" name="__name" value="Export provident fund (AIA)"> 
<!-- <input type="hidden" name="__ptype" value="PR4">  -->
<input type="hidden" name="__prclass" value="ExportDataToAIA">
<input type="hidden" name="__language" value="<%=screen.getUProfile().get("lang")%>">
<div align="center">
<table width="640" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="7" class="header">TEXTFILE_AIA</td>
	</tr>
	<tr>
		<td>
		<table width="100%" border="0" cellpadding="0" cellspacing="0 "
			id="rsTable" name="rsTable" cols=7 class="row1">
			<tr>
				<td colspan="2" class="blankspace"></td>
			</tr>
			<tr>
				<td width="177"><div align="right"><script language="javascript">swapLang('Company');</script>&nbsp;</div></td>
				<td width="457">
				<input type="text" name="__condition$branch" size="5" maxlength="5" value="" onkeypress="chkSpecialStr(event);" onkeyup="sysIsEdit();" onblur="trimValue(this);" onfocus="this.select();" alt="Company" onmousemver="toolTip('Company')" onmouseout="toolTip()" readonly="">&nbsp;<a href="javascript:goHelp('MBRANCHHELP','__condition$branch');" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('__branch_image','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="SEARCH" name="__branch_image" width="20" height="20" border="0" align="absmiddle"></a>
				<input name="MBRANCH@TDESC" type="text" disabled="true" size="40" value="" readonly="">
				</td>
			</tr>

			<tr>
				<td  class="buttonline" colspan="7"><div align="center">
					<button type="button" class="btn btn-primary width100" swlang code="SW013173" onClick="process();">PROCESS</button>
				</div>
				</td>
			</tr>
			<tr>
				<td colspan="3" class="blankspace"></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td class="bottom"></td>
	</tr>
</table>
</center>
</div>


<!----------BEGIN CSC ENDING ZONE ------------------------>

<%=screen.endJSP()%>

<!----------END CSC ENDING ZONE -------------------------->

</form>
</body>
</html>