<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="com.csc.library.entry.*,com.csc.library.system.*,com.csc.library.utilities.*" %>
<jsp:useBean id="PSWP003" class="com.csc.library.system.Task" scope="page" />
<%
	PSWP003.setChannel(request, response);
	ProcessEntry screen = (ProcessEntry)PSWP003.process("ProcessEntry","Process");

	if( "save".equalsIgnoreCase(request.getParameter("__cmd")) ) {
		screen.process();
	}

	CscCalendar cal = new CscCalendar();
	String date = cal.getDDMMYYYY();

%>
<html ng-app="myHR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="../CSS/TISCO.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 language="JavaScript" src="../JS/SCREEN.js"></script>
<script src="../JS/angular-1.3.15/angular.js" type="text/javascript"></script>
<script src="../JS/ANGULAR/SCREEN_ANGULAR.js" type="text/javascript"></script>
<script language="javascript" src="../JS/DATEINPUT.js"></script>
<script language="javascript" src="../JS/VIEWCALENDAR.js"></script>
<script language="javascript" src="../JS/jquery-1.3.2.min.js"></script>
<script language="javascript">setLang("<%=screen.getUProfile().get("lang")%>");</script>
<script language="javascript">getTitleName();</script>
<script language="javascript">
	 jQuery.noConflict();

	function goHelp(helpName,inputName) {
	}

	function GoSearch(){
		search();
	}

	function goProcess() {
		with(document.cscform) {
			if( !chkCondition() ) {
				alert(swap2String('Please select data to export'));
			} else {
				if (confirm("Export data to PISWIN System")) {
					if(__condition$pwcompany.checked == false)
						__condition$pwcompany.disabled = true;
					if(__condition$pwbu1.checked == false)
						__condition$pwbu1.disabled = true;
					if(__condition$pwbu2.checked == false)
						__condition$pwbu2.disabled = true;
					if(__condition$pwbu3.checked == false)
						__condition$pwbu3.disabled = true;
					if(__condition$pwbu4.checked == false)
						__condition$pwbu4.disabled = true;
					if(__condition$pwposition.checked == false)
						__condition$pwposition.disabled = true;
					if(__condition$pwprefix.checked == false)
						__condition$pwprefix.disabled = true;
					if(__condition$pwlocation.checked == false)
						__condition$pwlocation.disabled = true;
					if(__condition$pwholiday.checked == false)
						__condition$pwholiday.disabled = true;
					if(__condition$pwemployee.checked == false)
						__condition$pwemployee.disabled = true;
					if(__condition$pwworktime.checked == false)
						__condition$pwworktime.disabled = true;
					if(__condition$pweducbran.checked == false)
						__condition$pweducbran.disabled = true;
					if(__condition$pweducate.checked == false)
						__condition$pweducate.disabled = true;
					if(__condition$pwinstitue.checked == false)
						__condition$pwinstitue.disabled = true;
					if(__condition$pwprovince.checked == false)
						__condition$pwprovince.disabled = true;
					if(__condition$pwgroup.checked == false)
						__condition$pwgroup.disabled = true;
					if(__condition$pwsalatype.checked == false)
						__condition$pwsalatype.disabled = true;
					if(__condition$pwjob.checked == false)
						__condition$pwjob.disabled = true;
					if(__condition$pwtime0.checked == false)
						__condition$pwtime0.disabled = true;
					if(__condition$pwtime1.checked == false)
						__condition$pwtime1.disabled = true;
					if(__condition$pwtime2.checked == false)
						__condition$pwtime2.disabled = true;
					if(__condition$pwcost.checked == false)
						__condition$pwcost.disabled = true;
					if(__condition$pwcurrency.checked == false)
						__condition$pwcurrency.disabled = true;
					if(__condition$pwlocation_ntpc.checked == false)
						__condition$pwlocation_ntpc.disabled = true;
					if(__condition$pwbank.checked == false)
						__condition$pwbank.disabled = true;
					if(__condition$pzemployee_numthune.checked == false)
						__condition$pzemployee_numthune.disabled = true;
					if(__condition$pzpostmove.checked == false)
						__condition$pzpostmove.disabled = true;
					__cmd .value = "save";
					submit();
				}
			}
		}
	}

	function chkCondition() {
		/*jQuery("input:checkbox").filter(":checked").each(function(){
			console.log( jQuery("input:checkbox").filter(":checked").length);
		});*/

/*		if( jQuery("input:checkbox").filter(":checked").length >0) {
			return true;
		} */
		return true;
	}


	function setCheckboxState(id, isChecked) {
/*		var wrapper = jQuery("#s_" +id);
		wrapper.find("input").each(function(){
			jQuery(this).attr("disabled", isChecked==false);
		});

		if(isChecked == true) {
			wrapper.show();
		} else {
			wrapper.hide();
		} */
	}

	function openFilterProcess(link){
		with(document.cscform) {
			__parentpage.value = link;
		}
		var  param="PSW_FILTER_EXPORT.jsp?__parentpage="+link;
		window.open(param,"Help","left=150,top=150,width=800,height=500,toolbar=no,status=yes,scrollbars=yes");
	}


</script>

<style type="text/css">
.normal { color: #000 !important; }
</style>
</head>
<body leftmargin="0" topmargin="0" onLoad="MM_preloadImages('../IMAGES/BUTTON/SWAP/CALENDAR_SWAP20.gif')">

<div align="center">
<div id="toolTipLayer" style="position:absolute; visibility:hidden"></div>

<form name="cscform" method="get" action="?">
	<input type="hidden" name="__cmd" value="">
	<input type="hidden" name="__screen" value="PSWP003">
	<input type="hidden" name="__companyid" value="<%=screen.getUProfile().get("companyid")%>">
	<input type="hidden" name="__process" value="">
	<input type="hidden" name="__tname" value="ส่งข้อมูลออกไปยัง PISWIN">
	<input type="hidden" name="__ename" value="Export data to PISWIN System">
	<input type="hidden" name="__ptype" value="">
	<input type="hidden" name="__prclass" value="ExportPISWINProcess">
  <input type="hidden" name="__language" value="<%=screen.getUProfile().get("lang")%>" />
  <input type="hidden" name="__calendar" value="">
	<input type="hidden" name="__parentpage" value="">
     <script language="JavaScript" >getInputFormatDate();</script>

	 <br>
    <table border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
       <td class="header">PSWP003,
         <!-- <script language="JavaScript">swapLang("Export data to PISWIN System");</script> -->
		 <span swlang code="SW011963">Export data to PISWIN System</span>&nbsp;</td>
      </tr>
      <tr>
        <td align="center">
        <% if("save".equalsIgnoreCase(request.getParameter("__cmd"))) { %>
           <table align="center" cellpadding="0"  cellspacing="0" class="largest">
        	<tr>
        	  <td colspan="2"  class="blankspace"></td>
      	  </tr>
			 <% if(request.getParameter("__condition$pwcompany") != null  && request.getParameter("__condition$pwcompany") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWCOMPANY.CSV");</script> -->
			   <span swlang code="SW011964">PWCOMPANY.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			  <% if(request.getParameter("__condition$pwbu1") != null  && request.getParameter("__condition$pwbu1") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWBU1.CSV");</script> -->
			   <span swlang code="SW011965">PWBU1.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			   <% if(request.getParameter("__condition$pwbu2") != null  && request.getParameter("__condition$pwbu2") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <!-- <td><script language="JavaScript">swapLang("PWBU2.CSV");</script> -->
			   <span swlang code="SW011966">PWBU2.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			  <% if(request.getParameter("__condition$pwbu3") != null  && request.getParameter("__condition$pwbu3") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWBU3.CSV");</script> -->
			   <span swlang code="SW011967">PWBU3.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			  <% if(request.getParameter("__condition$pwbu4") != null  && request.getParameter("__condition$pwbu4") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWBU4.CSV");</script> -->
			   <span swlang code="SW011968">PWBU4.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwposition") != null  && request.getParameter("__condition$pwposition") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWPOSITION.CSV");</script> -->
			   <span swlang code="SW011969">PWPOSITION.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwprefix") != null  && request.getParameter("__condition$pwprefix") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWPREFIX.CSV");</script> -->
			   <span swlang code="SW011970">PWPREFIX.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwlocation") != null  && request.getParameter("__condition$pwlocation") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWLOCATION.CSV");</script> -->
			   <span swlang code="SW011971">PWLOCATION.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pweducbran") != null  && request.getParameter("__condition$pweducbran") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWEDUCBRAN.CSV");</script> -->
			   <span swlang code="SW011972">PWEDUCBRAN.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			 <%}%>
			 <% if(request.getParameter("__condition$pweducate") != null  && request.getParameter("__condition$pweducate") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWEDUCATE.CSV");</script> -->
			   <span swlang code="SW011973">PWEDUCATE.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <%}%>
			  <% if(request.getParameter("__condition$pwinstitue") != null  && request.getParameter("__condition$pwinstitue") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWINSTITUE.CSV");</script> -->
			   <span swlang code="SW011974">PWINSTITUE.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
			 <%}%>
			 <% if(request.getParameter("__condition$pwprovince") != null  && request.getParameter("__condition$pwprovince") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWPROVINCE.CSV");</script> -->
			   <span swlang code="SW011975">PWPROVINCE.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwgroup") != null  && request.getParameter("__condition$pwgroup") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWGROUP.CSV");</script> -->
			   <span swlang code="SW011976">PWGROUP.CSV </span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			  <% if(request.getParameter("__condition$pwsalatype") != null  && request.getParameter("__condition$pwsalatype") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWSALATYPE.CSV");</script> -->
			   <span swlang code="SW011977">PWSALATYPE.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			 <%}%>
			  <% if(request.getParameter("__condition$pwjob") != null  && request.getParameter("__condition$pwjob") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWJOB.CSV");</script> -->
			   <span swlang code="SW011978">PWJOB.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			  <% if(request.getParameter("__condition$pwtime0") != null  && request.getParameter("__condition$pwtime0") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWTIME0.CSV");</script> -->
			   <span swlang code="SW011979">PWTIME0.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
              <% if(request.getParameter("__condition$pwtime1") != null  && request.getParameter("__condition$pwtime1") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWTIME1.CSV");</script> -->
			   <span swlang code="SW011980">PWTIME1.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
              <% if(request.getParameter("__condition$pwtime2") != null  && request.getParameter("__condition$pwtime2") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWTIME2.CSV");</script> -->
			   <span swlang code="SW011981">PWTIME2.CSV</span></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwholiday") != null  && request.getParameter("__condition$pwholiday") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWHOLIDAY.CSV");</script> -->
			   <span swlang code="SW011982">PWHOLIDAY.CSV</span></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwemployee") != null  && request.getParameter("__condition$pwemployee") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWEMPLOYEE.CSV");</script> -->
			   <span swlang code="SW011983">PWEMPLOYEE.CSV</span>

			   </td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwworktime") != null  && request.getParameter("__condition$pwworktime") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td><!-- <script language="JavaScript">swapLang("PWWORKTIME.CSV");</script> -->
			   <span swlang code="SW011984">PWWORKTIME.CSV</span>

			   </td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwcost") != null) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td> <span>PWCOST.CSV</span>

			   </td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwcurrency") != null) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td> <span>PWCURRENCY.CSV</span>

			   </td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwlocation_ntpc") != null) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td> <span>PWLOCATION(NTPC).CSV</span>

			   </td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pwbank") != null) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td> <span>PWBANK.CSV</span>

			   </td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pzemployee_numthune") != null  && request.getParameter("__condition$pzemployee_numthune") != null ) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td> <span>PZEMPLOYEE(NUMTHUNE).CSV</span>

			   </td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
			 <% if(request.getParameter("__condition$pzpostmove") != null) {%>
        	 <tr>
        	   <td class="columnlabel">&nbsp;</td>
        	   <td> <span>PZPOSTMOVE.CSV</span>

			   </td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
             <%}%>
            <tr>
              <td colspan="2" align="center">
              	<a href="PSWQUEUE.jsp"><img src="../IMAGES/BUTTON/BACK.gif" width="73" height="23" border="0" align="absmiddle"></a>
                <!--a href="<%//=request.getRequestURI() %>"><img src="../IMAGES/BUTTON/BACK.gif" width="73" height="23" border="0" align="absmiddle"></a-->
              </td>
             </tr>
            <tr>
              <td colspan="2"  class="blankspace"></td>
            </tr>
          </table>
        <% } else { %>
           <table align="center" cellpadding="0"  cellspacing="0" class="largest">
        	<tr>
        	  <td colspan="2"  class="blankspace"></td>
      	  </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwcompany" type="checkbox" id="__condition$pwcompany" value="pwcompany" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><!-- <label for="c_basic"><script language="JavaScript">swapLang("PWCOMPANY.CSV");</script> -->
			   <span swlang code="SW011964">PWCOMPANY.CSV</span></label></td>
      	   </tr>
		     <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwbu1" type="checkbox" id="__condition$pwbu1" value="pwbu1" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWBU1.CSV");</script> -->
			   <span swlang code="SW011965">PWBU1.CSV</span></label></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwbu2" type="checkbox" id="__condition$pwbu2" value="pwbu2" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWBU2.CSV");</script> -->
			   <span swlang code="SW011966">PWBU2.CSV</span></label></td>
      	   </tr>
		   <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			 <tr>
        	   <td class="columnlabel"><input name="__condition$pwbu3" type="checkbox" id="__condition$pwbu3" value="pwbu3" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWBU3.CSV");</script> -->
			   <span swlang code="SW011967">PWBU3.CSV</span></label></td>
      	   </tr>
		   <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwbu4" type="checkbox" id="__condition$pwbu4" value="pwbu4" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWBU4.CSV");</script> -->
			   <span swlang code="SW011968">PWBU4.CSV</span></label></td>
      	   </tr>
		   <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwposition" type="checkbox" id="__condition$pwposition" value="pwposition" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWPOSITION.CSV");</script> -->
			   <span swlang code="SW011969">PWPOSITION.CSV</span></label></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwprefix" type="checkbox" id="__condition$pwprefix" value="pwprefix" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWPREFIX.CSV");</script> -->
			   <span swlang code="SW011970">PWPREFIX.CSV</span></label></td>
      	   </tr>
		   <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwlocation" type="checkbox" id="__condition$pwlocation" value="pwlocation" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWLOCATION.CSV");</script> -->
			   <span swlang code="SW011971">PWLOCATION.CSV</span></label></td>
      	   </tr>
		   <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pweducbran" type="checkbox" id="__condition$pweducbran" value="pweducbran" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWEDUCBRAN.CSV");</script> -->
			   <span swlang code="SW011972">PWEDUCBRAN.CSV</span></label></td>
      	   </tr>
			 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pweducate" type="checkbox" id="__condition$pweducate" value="pweducate" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWEDUCATE.CSV");</script> -->
			   <span swlang code="SW011973">PWEDUCATE.CSV</span></label></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwinstitue" type="checkbox" id="__condition$pwinstitue" value="pwinstitue" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWINSTITUE.CSV");</script> -->
			   <span swlang code="SW011974">PWINSTITUE.CSV</span></label></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwprovince" type="checkbox" id="__condition$pwprovince" value="pwprovince" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWPROVINCE.CSV");</script> -->
			   <span swlang code="SW011975">PWPROVINCE.CSV</span></label></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwgroup" type="checkbox" id="__condition$pwgroup" value="pwgroup" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWGROUP.CSV");</script> -->
			   <span swlang code="SW011976">PWGROUP.CSV</span></label></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwsalatype" type="checkbox" id="__condition$pwsalatype" value="pwsalatype" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWSALATYPE.CSV");</script> -->
			   <span swlang code="SW011977">PWSALATYPE.CSV</span></label></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			 <tr>
        	   <td class="columnlabel"><input name="__condition$pwjob" type="checkbox" id="__condition$pwjob" value="pwjob" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWJOB.CSV");</script> -->
			   <span swlang code="SW011978">PWJOB.CSV</span></label></td>
      	   </tr>
		    <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			 <tr>
        	   <td class="columnlabel"><input name="__condition$pwtime0" type="checkbox" id="__condition$pwtime0" value="pwtime0" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWTIME0.CSV");</script> -->
			   <span swlang code="SW011979">PWTIME0.CSV</span></label></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
              <tr>
        	   <td class="columnlabel"><input name="__condition$pwtime1" type="checkbox" id="__condition$pwtime1" value="pwtime1" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWTIME1.CSV");</script> -->
			   <span swlang code="SW011980">PWTIME1.CSV</span></label></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
              <tr>
        	   <td class="columnlabel"><input name="__condition$pwtime2" type="checkbox" id="__condition$pwtime2" value="pwtime2" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWTIME2.CSV");</script> -->
			   <span swlang code="SW011981">PWTIME2.CSV</span></label></td>
      	   </tr>
        	 <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwholiday" type="checkbox" id="__condition$pwholiday" value="pwholiday" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWHOLIDAY.CSV");</script> -->
			   <span swlang code="SW011982">PWHOLIDAY.CSV</span></label></td>
      	   </tr>
		   <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			  <tr>
        	   <td class="columnlabel"><input name="__condition$pwemployee" type="checkbox" id="__condition$pwemployee" value="pwemployee$memployee" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWEMPLOYEE.CSV");</script> -->
			   <span swlang code="SW011983">PWEMPLOYEE.CSV</span>&nbsp;&nbsp;<a href="javascript:void(0);" onClick="openFilterProcess('pwemployee$memployee')"><span swlang code="SW013035">Condition</span></a></label>
			    <input type="hidden" name="__condition$pwemployee$memployee$employeeBetween" value="">
			    <input type="hidden" name="__condition$pwemployee$memployee$employeeSelect" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$positionSelect" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$bu1Select" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$bu2Select" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$bu3Select" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$bu4Select" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$bu5Select" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$branchSelect" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$salatypeSelect" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$workareaSelect" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$emp_levelSelect" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$time0Select" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$jobSelect" value="">
				<input type="hidden" name="__condition$pwemployee$memployee$empgroupSelect" value="">
			   </td>
      	   </tr>
		   <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
			 <tr>
        	   <td class="columnlabel"><input name="__condition$pwworktime" type="checkbox" id="__condition$pwworktime" value="pwworktime$ttimecurrent_export" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
        	   <td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWWORKTIME.CSV");</script> -->
			   <span swlang code="SW011984">PWWORKTIME.CSV</span>&nbsp;&nbsp;<a href="javascript:void(0);" onClick="openFilterProcess('pwworktime$ttimecurrent_export')"><span swlang code="SW013035">Condition</span></a></label>
			    <input type="hidden" name="__condition$pwworktime$ttimecurrent_export$employeeBetween" value="">
			   	<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$employeeSelect" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$positionSelect" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$bu1Select" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$bu2Select" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$bu3Select" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$bu4Select" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$bu5Select" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$branchSelect" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$salatypeSelect" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$workareaSelect" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$emp_levelSelect" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$time0Select" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$startDate" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$endDate" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$jobSelect" value="">
				<input type="hidden" name="__condition$pwworktime$ttimecurrent_export$empgroupSelect" value="">
			   </td>
      	   </tr>
		   <tr>
        	   <td colspan="2" class="blankspace"></td>
       	     </tr>
 			 <tr>
 						<td class="columnlabel"><input name="__condition$pwcost" type="checkbox" id="__condition$pwcost" value="pwcost" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
 						<td><label for="c_basic">PWCOST.CSV</label></td>
 					</tr>
 			<tr>
 						<td colspan="2" class="blankspace"></td>
 						</tr>
 			 <tr>
 						<td class="columnlabel"><input name="__condition$pwcurrency" type="checkbox" id="__condition$pwcurrency" value="pwcurrency" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
 						<td><label for="c_basic">PWCURRENCY.CSV</label></td>
 					</tr>
 			<tr>
 						<td colspan="2" class="blankspace"></td>
 						</tr>
 			 <tr>
 						<td class="columnlabel"><input name="__condition$pwlocation_ntpc" type="checkbox" id="__condition$pwlocation_ntpc" value="pwlocation_ntpc" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
 						<td><label for="c_basic">PWLOCATION(NTPC).CSV</label></td>
 					</tr>
 			<tr>
 						<td colspan="2" class="blankspace"></td>
 						</tr>
 			 <tr>
 						<td class="columnlabel"><input name="__condition$pwbank" type="checkbox" id="__condition$pwbank" value="pwbank" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
 						<td><label for="c_basic">PWBANK.CSV</label></td>
 					</tr>
 			<tr>
 						<td colspan="2" class="blankspace"></td>
 						</tr>
			 <tr>
						<td class="columnlabel"><input name="__condition$pzemployee_numthune" type="checkbox" id="__condition$pzemployee_numthune" value="pzemployee_numthune$memployee" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
						<td><label for="c_basic"><!-- <script language="JavaScript">swapLang("PWEMPLOYEE.CSV");</script> -->
				<span>PZEMPLOYEE(NAMTHUNE).CSV</span>&nbsp;&nbsp;<a href="javascript:void(0);" onClick="openFilterProcess('pzemployee_numthune$memployee')"><span swlang code="SW013035">Condition</span></a></label>
				 <input type="hidden" name="__condition$pzemployee_numthune$memployee$employeeBetween" value="">
				 <input type="hidden" name="__condition$pzemployee_numthune$memployee$employeeSelect" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$positionSelect" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$bu1Select" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$bu2Select" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$bu3Select" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$bu4Select" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$bu5Select" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$branchSelect" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$salatypeSelect" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$workareaSelect" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$emp_levelSelect" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$time0Select" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$jobSelect" value="">
			 <input type="hidden" name="__condition$pzemployee_numthune$memployee$empgroupSelect" value="">
				</td>
					</tr>
			<tr>
						<td colspan="2" class="blankspace"></td>
						</tr>
 			 <tr>
 						<td class="columnlabel"><input name="__condition$pzpostmove" type="checkbox" id="__condition$pzpostmove" value="pzpostmove" checked onClick="setCheckboxState(this.value, this.checked)" />&nbsp;</td>
 						<td><label for="c_basic">PZPOSTMOVE.CSV</label></td>
 					</tr>
 			<tr>
 						<td colspan="2" class="blankspace"></td>
 						</tr>

						 <tr>
							 <td  class="buttonline" colspan="7"><div align="center">
								 <button type="button" class="btn btn-primary width100" swlang code="SW002185" onClick="checkAll();">SELECTALL</button>&nbsp;
								 <button type="button" class="btn btn-primary width100" swlang code="SW013164" onClick="decheckAll();">DESELECTALL</button>&nbsp;
								 <button type="button" class="btn btn-primary width100" swlang code="SW013173" onClick="goProcess();">PROCESS</button>
							 </div>
							 </td>
						 </tr>
            <tr>
              <td colspan="2"  class="blankspace"></td>
            </tr>
          </table>

        <% } %>
        </td>
      </tr>
      <tr >
         <td class="bottom" >
        </td>
      </tr>
    </table>
</form>
</div>
</body>
</html>