<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/enrgise-html.tld" prefix="enrgise" %>


<html:html>
<html:base />
<head>
  <TITLE><bean:message  key="hrm.title" /></TITLE>
  <jsp:include page="GenIncludes.jsp" flush="true" />
</head>


<BODY  scroll="auto" onkeydown="hotKeys(event);">

<html:form name="HrmRecApplnMtnForm" action="HrmRecApplnMtnEduDtlBaseAction" type="wenrgise.hrms.webtier.form.HrmRecApplnMtnForm">
<bean:define id="ParentForm" name="HrmRecApplnMtnForm" toScope="request" />
<jsp:include page="GenMenu.jsp" flush="true" />
<bean:define id="left" name="ParentForm" property="positionRequested"/>
<bean:define id="right" name="ParentForm" property="totalCount"/>
<table cellSpacing=0 bgColor=#bdd0ef>
<tr height=27>
  <td colSpan=11></td>
</tr>
  <TR > 
    <TD ><enrgise:img name="ParentForm" property="butQuery" onmouseover='this.src="../includes/images/query_act.jpg"' onmouseout='this.src="../includes/images/query.jpg"' alt="Query (Ctrl+Q)" src="../includes/images/query.jpg" onclick="doBaseQueryMode()" /><enrgise:img name="ParentForm" property="butInsert" onmouseover='this.src="../includes/images/insert_act.jpg"' onmouseout='this.src="../includes/images/insert.jpg"' alt="Insert (Alt+N)" src="../includes/images/insert.jpg"  onclick="doBaseInsertMode()"/></TD>
    <TD width="2%"></TD>
    <TD ><enrgise:img name="ParentForm" property="butExecute" onmouseover='this.src="../includes/images/execute_act.jpg"' onmouseout='this.src="../includes/images/execute.jpg"' alt="Execute (Ctrl+U)" src="../includes/images/execute.jpg" onclick="doBaseExecute()" /><enrgise:img name="ParentForm" property="butSave" onmouseover='this.src="../includes/images/save_act.jpg"' onmouseout='this.src="../includes/images/save.jpg"' alt="Save (Ctrl+S)" src="../includes/images/save.jpg" onclick="doBaseSave()" />
    <img name="ParentForm" property="butDelete" src="../includes/images/delete_dis.jpg" /><enrgise:img name="ParentForm" property="butRefresh" onmouseover='this.src="../includes/images/refresh_act.jpg"' onmouseout='this.src="../includes/images/refresh.jpg"' alt="Refresh (Ctrl+R)"  src="../includes/images/refresh.jpg" onclick="doBaseRefresh()" />
    <enrgise:img name="ParentForm" property="butPrint" onmouseover='this.src="../includes/images/print_act.jpg"' onmouseout='this.src="../includes/images/print.jpg"' alt="Print (Ctrl+P)"  src="../includes/images/print.jpg" /></TD>
    <TD width="2%" bgColor=#bdd0ef></TD>
  <TD><enrgise:img name="ParentForm" property="butExit" onmouseover='this.src="../includes/images/exit_act.jpg"' onmouseout='this.src="../includes/images/exit.jpg"' alt="Exit (Alt+X)"  src="../includes/images/exit.jpg"   onclick="doBaseExit()" />
    <enrgise:img name="ParentForm" property="butHelp" onmouseover='this.src="../includes/images/help_act.jpg"' onmouseout='this.src="../includes/images/help.jpg"' alt="Help (Ctrl+?)" src="../includes/images/help.jpg" onclick="doBaseHelp()" /></TD>
    <TD width="50%"></TD>
    <TD ><enrgise:img name="ParentForm" property="butPrevHeader" src='../includes/images/butn_prev.jpg' onmouseover='this.src="../includes/images/butn_prev_act.jpg"' onmouseout='this.src="../includes/images/butn_prev.jpg"' alt="Butn_prev (Ctrl+<)" onclick="doBasePrevHeader()" /></td>
    <td class=dtlNavText><bean:write  name="left" /> of 
    <bean:write name="right" /></td>
    <td align=right><enrgise:img name="ParentForm" property="butNextHeader" src="../includes/images/butn_next.jpg" onmouseover='this.src="../includes/images/butn_next_act.jpg"' onmouseout='this.src="../includes/images/butn_next.jpg"' alt="Butn_next (Ctrl+>)" onclick="doBaseNextHeader()" /></td>
    <td align=right><enrgise:text property="newPositionRequested" size="1" onkeydown="isInteger(event)" title="wenrgise.common.jumpDetail" alt="N" disabledClass="locked" maxlength="3" styleClass="optional" /></td>
    <td ><enrgise:img name="ParentForm" property="butJumpHeader" alt="Go (Ctrl+G)" src="../includes/images/go.jpg" onmouseover='this.src="../includes/images/go_act.jpg"' onmouseout='this.src="../includes/images/go.jpg"' onclick="doBaseJumpHeader()" /></td>
    <td > </td>
    
</TR>
</table>
<table>
<tr>
  <td colspan="11" class="userText"></td>
</tr>
<enrgise:checkSession/>
</TABLE>

<!--Top Most Blue Bar-->
<TABLE cellSpacing=0 bgColor=#bdd0ef>
    <tr>
        <TD  colSpan=12 class=mainHeader height=10><bean:message key="hrm.HrmApplicationMaintenance.heading" /></TD>
    </TR>
</TABLE>
<!--//  Display Errors -->
<enrgise:errors/>
<logic:messagesPresent message="true">
<Table>
    <html:messages id="message" message="true">
    <TR><TD>
      <bean:write name="message"/>
    </TD></TR>
    </html:messages>      
</Table>
</logic:messagesPresent>
<!--//  Display Errors -->

<TABLE cellSpacing=0 cellPadding=0 border=0 >
    <TR>
        <TD>
        
        <TABLE cellSpacing=0 cellPadding=0 >
        <!--Application Header Starts -->
           <TR>
                  <TD class=subHeader colspan=6><bean:message key="hrm.HrmApplicationMaintenance.subHeader1" /></TD>
            </TR>
            <TR>
                  <TD colspan=6 bgColor=#4682b4><IMG height=1 src="../INCLUDES/IMAGES/pixel.gif" width=1 border=0></TD>
            </TR>
             <tr>
                  <td class="labelText"><bean:message key="hrm.HrmApplicationMaintenance.applicationNo" /></td>
                  <td><enrgise:text  property="applicationNo" titleKey="hrm.HrmApplicationMaintenance.applicationNo" maxlength="15" size="23" styleClass="required" disabledClass="required" onchange="doChangeHeader();" /><enrgise:img name="HrmRecApplnMtnForm" height="16" align="center" src="../includes/images/lov.jpg" property="butApplicationNo"  onclick="return ShowApplnNo()" /></td>              
                  <td class="labelText"><bean:message key="hrm.HrmApplicationMaintenance.applicationDate" /></td>
                  <td><html:text  property="applicationDate" titleKey="hrm.HrmApplicationMaintenance.applicationDate" size="23" styleClass="required" onchange="doChangeHeader();" readonly="true" /><enrgise:img name="HrmRecApplnMtnForm" src="../includes/images/cal.gif"  width="15" height="19" align="top" styleClass="lov" property="butApplicationDate"   onclick="showCalendar('applicationDate',this)" /></td>
                  <td class="labelText"><bean:message key="hrm.HrmApplicationMaintenance.referenceNo" /></td>
                  <td><html:text  property="referenceNo" titleKey="hrm.HrmApplicationMaintenance.referenceNo" size="23" styleClass="locked" onchange="doChangeHeader();" readonly="true" /><enrgise:img name="HrmRecApplnMtnForm" height="16" align="center" src="../includes/images/lov.jpg" property="butReferenceNo"  onclick="return ShowAdvtNo()" /></td>              
                  
           </tr>
           <tr>
                  <td class="labelText"><bean:message key="hrm.HrmApplicationMaintenance.applicationName" /></td>
                  <td colspan="4"><enrgise:text  property="applicantFirstName" titleKey="hrm.HrmApplicationMaintenance.applicationFirstName" size="26" styleClass="required" disabledClass="required" onchange="doChangeHeader();" /><enrgise:text  property="applicantMiddleName" titleKey="hrm.HrmApplicationMaintenance.applicationMiddleName" size="28" styleClass="optional" disabledClass="locked" onchange="doChangeHeader();" /><enrgise:text  property="applicantLastName" titleKey="hrm.HrmApplicationMaintenance.applicationLastName" size="26" styleClass="required" disabledClass="required" onchange="doChangeHeader();"/></td> 
           </tr>
           <tr>
                  <td class="labelText"><bean:message key="hrm.HrmApplicationMaintenance.applForGradeDesignation" /></td>
                  <td colspan="3"><html:text  property="applForGrade" alt="A" titleKey="hrm.HrmApplicationMaintenance.applForGrade" size="26" styleClass="optional" onchange="doChangeHeader();" readonly="true" /><html:text  property="applForDesignation" alt="A" titleKey="hrm.HrmApplicationMaintenance.applForDesignation" size="26" styleClass="optional" onchange="doChangeHeader();" readonly="true" /><enrgise:img name="HrmRecApplnMtnForm" height="16" align="center" src="../includes/images/lov.jpg" property="butApplForDesignation"  onclick="return ShowDesignation()" /></td>              
                  <td class="labelText"><bean:message key="hrm.HrmApplicationMaintenance.rollNo" /></td>
                  <td><enrgise:text  property="rollNo" titleKey="hrm.HrmApplicationMaintenance.rollNo" maxlength="10" size="26" styleClass="optional" disabledClass="locked" onchange="doChangeHeader();"/></td>              
           </tr>
          
           <tr>
                   <td height="10"></td>          
           </tr>
      
    </table>
      
      
      
   <table cellspacing=0 cellpadding=0 border=0>
   <!-- Detail Information Row starts -->
 	 <TR>
       <TD colspan=6>
        <!-- Personal Details Table Starts -->
         <TABLE cellSpacing=0 cellPadding=0 >
           <tr>
                <enrgise:tab name="HrmRecApplnMtnForm" property="tabAddress" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif"        rows="2" onclick= "doGetTab('HrmRecApplnMtnAddDtl','HrmRecApplnMtnEduGetTabAction.do')"><bean:message key="hrm.HrmApplicationMaintenance.addDtl" /></enrgise:tab>
                <enrgise:tab name="HrmRecApplnMtnForm" property="tabExperience" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif"    rows="2" onclick= "doGetTab('HrmRecApplnMtnExpDtl','HrmRecApplnMtnEduGetTabAction.do')" ><bean:message key="hrm.HrmApplicationMaintenance.expDtl" /></enrgise:tab>
                <enrgise:tab name="HrmRecApplnMtnForm" property="tabLanguage" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmRecApplnMtnLangDtl','HrmRecApplnMtnEduGetTabAction.do')"><bean:message key="hrm.HrmApplicationMaintenance.langDtl" /></enrgise:tab>
                <enrgise:tab name="HrmRecApplnMtnForm" property="tabEducation" styleClass="actTabText" disabledClass="lockedTab" src="../includes/images/formtab_r.gif" rows="2" ><bean:message key="hrm.HrmApplicationMaintenance.eduDtl" /></enrgise:tab>
                <enrgise:tab name="HrmRecApplnMtnForm" property="tabOtherDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif"      rows="2" onclick= "doGetTab('HrmRecApplnMtnOtherDtl','HrmRecApplnMtnEduGetTabAction.do')"  ><bean:message key="hrm.HrmApplicationMaintenance.otherDtl" /></enrgise:tab>
                <enrgise:tab name="HrmRecApplnMtnForm" property="tabTrainingDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif"      rows="2" onclick= "doGetTab('HrmRecApplnMtnTrngDtls','HrmRecApplnMtnEduGetTabAction.do')"  ><bean:message key="hrm.HrmApplicationMaintenance.trainingDtls" /></enrgise:tab>
                <enrgise:tab name="HrmRecApplnMtnForm" property="tabRefDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif"      rows="2" onclick= "doGetTab('HrmRecApplnMtnRef','HrmRecApplnMtnEduGetTabAction.do')"  ><bean:message key="hrm.HrmApplicationMaintenance.references" /></enrgise:tab>
                             
                <td width="30%"> </td>
          </tr>                  
          <TR >

          <!-- Detail table Container starts -->
              <TD colspan=22>
                <TABLE cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                   <TR>
                     <TD >
                       <DIV id=divDtlTable style="height:250px" >
                        
                        
                        
                        <!-- Detail table starts -->
                        <TABLE cellSpacing=0 cellPadding=0>
                         <TBODY>
                          <tr>
                              <TD class=tableHeader width="1%"><html:checkbox property="selectAll" onclick="toggleCheckBox('checked')" /></TD>
                              <TD class=tableHeader ><bean:message  key="hrm.HrmApplicationMaintenance.instCode" /></td>
                              <TD class=tableHeader ><bean:message  key="hrm.HrmApplicationMaintenance.examPassed" /></td>
                              <TD class=tableHeader ><bean:message  key="hrm.HrmApplicationMaintenance.percentageMarks" /></td>
                              <TD class=tableHeader ><bean:message  key="hrm.HrmApplicationMaintenance.passYear" /></td>
                              <TD class=tableHeader ><bean:message  key="hrm.HrmApplicationMaintenance.majorSubj" /></td>
                              <TD class=tableHeader ><bean:message  key="hrm.HrmApplicationMaintenance.splSubj" /></td>
                              <TD class=tableHeader ><bean:message  key="hrm.HrmApplicationMaintenance.otherQualification" /></td>
                              <TD class=tableHeader ><bean:message  key="hrm.HrmApplicationMaintenance.splCourseAttended" /></td>
                                                         
                         </tr>
                         
                          <logic:iterate id="HrmRecApplnMtnEdu" name="HrmRecApplnMtnForm" property="arylstHrmRecApplnMtnEduDtl" type="wenrgise.hrms.bean.HrmRecApplnMtnEduDtlBean" indexId="idx" >
                            <logic:notEqual name="HrmRecApplnMtnEdu" property="status" value="D" >
                            
                              <tr class='<bean:write name="HrmRecApplnMtnForm" property="listRowClass"/>'  >
                                <td ><html:hidden property="status"  name="HrmRecApplnMtnEdu" /><html:hidden property="detailId"  name="HrmRecApplnMtnEdu"  /><html:hidden property="txtQualificationCode" name="HrmRecApplnMtnEdu" /><html:hidden property="qualificationId" name="HrmRecApplnMtnEdu"  /><html:hidden property="itemChecked" name="HrmRecApplnMtnEdu" /><html:checkbox property="checked"  name="HrmRecApplnMtnForm" alt="<%=idx.toString()%>" onclick="boxClicked(this.alt);" />
                                </td>
                                <TD class=tableText ><html:text property="txtInstCode" name="HrmRecApplnMtnEdu" styleClass="required" onchange='<%="doChangeDetail("+idx.toString()+")"%>' style="width:100%" /></td>  
                                <TD class=tableText ><html:text property="txtQualification" name="HrmRecApplnMtnEdu" styleClass="required" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" style="width:75%" /><enrgise:img name="HrmRecApplnMtnForm" height="16" align="center"  src="../includes/images/lov.jpg" alt="<%=idx.toString()%>" property="butQualCode" onclick="return ShowQualCode(this.alt);" /></td>  
                                <TD class=tableText ><enrgise:text property="txtPercentageMarks" name="HrmRecApplnMtnEdu" styleClass="required" disabledClass="required" maxlength="5"    style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>'  onkeypress="isInteger(event)" /></td>   
                                <TD class=tableText ><enrgise:text property="txtPassYear" name="HrmRecApplnMtnEdu" styleClass="required" disabledClass="required" maxlength="4" style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>'  onkeypress="isInteger(event)" /></td>   
                                <TD class=tableText ><html:text property="txtMajorSub" name="HrmRecApplnMtnEdu" styleClass="optional" style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>'   /></td>   
                                <TD class=tableText ><html:text property="txtSpeecialisation" name="HrmRecApplnMtnEdu" styleClass="optional" maxlength="40"  style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>   
                                <TD class=tableText ><html:text property="txtOtherProfQuali" name="HrmRecApplnMtnEdu" styleClass="optional" maxlength="40"  style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>   
                                <TD class=tableText ><html:text property="txtSpeecialCourses" name="HrmRecApplnMtnEdu" styleClass="optional" maxlength="40"  style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>   
                                
                               </tr>
                             </logic:notEqual>
                             
                             <logic:equal name="HrmRecApplnMtnEdu" property="status" value="D"  >
                               <tr class='<bean:write name="HrmRecApplnMtnForm" property="listRowClass"/>'  >
                                <td ><html:hidden property="status"  name="HrmRecApplnMtnEdu" /><html:hidden property="txtQualificationCode" name="HrmRecApplnMtnEdu" /><html:hidden property="detailId"  name="HrmRecApplnMtnEdu"  /><html:hidden property="qualificationId" name="HrmRecApplnMtnEdu"  /><html:hidden property="itemChecked" name="HrmRecApplnMtnEdu" /><html:checkbox property="checked" value="check" disabled="true"  name="HrmRecApplnMtnForm" alt="<%=idx.toString()%>" onclick="boxClicked(this.alt);" />
                                </td>
                                <TD class=tableText ><html:text property="txtInstCode" name="HrmRecApplnMtnEdu" styleClass="deletedRow" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" style="width:100%" /></td>  
                                <TD class=tableText ><html:text property="txtQualification" name="HrmRecApplnMtnEdu" styleClass="deletedRow" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" style="width:75%" /><img name="HrmRecApplnMtnForm" height="16" align="center"  src="../includes/images/lov_dis.jpg" alt="<%=idx.toString()%>" property="butQualCode" /></td>  
                                <TD class=tableText ><enrgise:text property="txtPercentageMarks" name="HrmRecApplnMtnEdu" styleClass="deletedRow" disabledClass="required"   style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>'  readonly="true"  /></td>   
                                <TD class=tableText ><enrgise:text property="txtPassYear" name="HrmRecApplnMtnEdu" styleClass="deletedRow" disabledClass="required"   style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>'  readonly="true"  /></td>   
                                <TD class=tableText ><html:text property="txtMajorSub" name="HrmRecApplnMtnEdu" styleClass="deletedRow" style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /></td>   
                                <TD class=tableText ><html:text property="txtSpeecialisation" name="HrmRecApplnMtnEdu" styleClass="deletedRow" maxlength="40"  style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /></td>   
                                <TD class=tableText ><html:text property="txtOtherProfQuali" name="HrmRecApplnMtnEdu" styleClass="deletedRow" maxlength="40"  style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /></td>   
                                <TD class=tableText ><html:text property="txtSpeecialCourses" name="HrmRecApplnMtnEdu" styleClass="deletedRow" maxlength="40"  style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /></td>   
                                
                               </tr>
                             </logic:equal>
                        </logic:iterate>
      
                         
                         
                      <!--Logic Iterate Ends Here-->                                                      
                     </TBODY>
                    </TABLE>
                  </DIV>
                </TD>
              </TR>                     
  
  <!-- Get details starts -->
                        <tr>
                          <td colspan=11>	
                              <jsp:include page="GenDetailMenu.jsp" />
                          </TD>
                      </tr>
                  </TBODY>
                </TABLE>
              </td>
            </tr>



        </TABLE>
     </td>
	 </tr>
                <!-- Tab Table Ends -->

<!-- Bottom Blue Bar -->
       <TR>
            <td>
              <TABLE  cellspacing="0" cellpadding="0" border=0>
                    <tr>
                        <td colspan="5" bgColor=#4682b4></td>
                        <td align=right bgColor=#4682b4><img src="../includes/images/man.jpg"></td>
                   </TR>
                </table>
            </td>
          </tr>
 
<!-- Container Table Ending Columns Starts-->
  </TD>
    
</TR>
</TBODY>
</TABLE>

<!-- Container Table Ends -->

<!-- Common Hidden Variables-->
<html:hidden name="HrmRecApplnMtnForm" property="screenName" value="HrmRecApplnMtnEduDtl" />
<html:hidden name="HrmRecApplnMtnForm" property="forwardedPage" />
<html:hidden name="HrmRecApplnMtnForm" property="positionRequested"  />
<html:hidden name="HrmRecApplnMtnForm" property="screenMode"  />

<html:hidden property="txtIndex" name="HrmRecApplnMtnForm"  />
<html:hidden property="userPageRequested" name="HrmRecApplnMtnForm" />
<html:hidden property="userPositionRequested"  name="HrmRecApplnMtnForm" />
<html:hidden property="pageRequested"  name="HrmRecApplnMtnForm" />
<html:hidden property="selectAll" value="check" name="HrmRecApplnMtnForm" />
<html:hidden property="lovKey" name="HrmRecApplnMtnForm"  />
<html:hidden property="txtSearchFields" name="HrmRecApplnMtnForm"  />
<html:hidden property="txtDisplayFields" name="HrmRecApplnMtnForm"  />
<html:hidden property="headerPrimaryKey" name="HrmRecApplnMtnForm" />
<html:hidden property="headerDataChanged" name="HrmRecApplnMtnForm" />
<html:hidden property="detailDataChanged" name="HrmRecApplnMtnForm" />

<input type="hidden" name="multipleFlag" >
<input type="hidden" name="queryParam" >
<html:hidden property="firstLoad" name="HrmRecApplnMtnForm"  />


<!-- Screen Specific variables -->
<html:hidden property="applnNoId" name="HrmRecApplnMtnForm"  />
<html:hidden property="designationId" name="HrmRecApplnMtnForm"  />
<html:hidden property="referenceId" name="HrmRecApplnMtnForm"  />

<html:hidden property="resvHdrId" name="HrmRecApplnMtnForm"  />
<html:hidden property="resvHdrName" name="HrmRecApplnMtnForm"  />
<html:hidden property="entryMode" name="HrmRecApplnMtnForm"  />
<!-- Hidden fields end --> 
<!-- Hidden fields end -->

<!-- Hidden fields end --> 


</html:form>
</body>
</html:html>
<script>

function doOnLoad()
{
  if(HrmApplMainForm.firstLoad.value!="false")
  {
    return  "HrmApplMainEduOnLoadAction.do"; 
  }
}
function doChangeHeader()
{
 document.forms[0].headerDataChanged.value="true";
}

function doQueryMode()
{
 
  return "HrmRecApplnMtnEduDtlQueryModeAction.do";
}


function doInsertMode()
{

  return "HrmRecApplnMtnEduDtlNewModeAction.do";
}


function doExecute()
{
  return "HrmRecApplnMtnEduDtlGetHeaderAction.do";
}

function doSave()
{
  document.forms[0].headerDataChanged.value="Y";
  return "HrmRecApplnMtnEduDtlSaveAction.do";
  
}

function doDelete()
{

  return "HrmRecApplnMtnEduDtlDeleteAction.do";
  
}
function doExit()
{

  return "HrmRecApplnMtnEduDtlExitAction.do";
  
}
function doRefresh()
{

  return "HrmRecApplnMtnEduDtlRefreshAction.do";
  
}

function doPrevHeader()
{
  return "HrmRecApplnMtnEduDtlGetNextHeaderAction.do"; 
}

function doNextHeader()
{
  return "HrmRecApplnMtnEduDtlGetNextHeaderAction.do"; 
}

function doJumpHeader()
{
  return "HrmRecApplnMtnEduDtlFirstGetNextHeaderAction.do"; 
}

function doGetDetail()
{
  return "HrmRecApplnMtnEduDtlGetDetailAction.do";
}

function doAddRow()
{

  return "HrmRecApplnMtnEduDtlAddRowAction.do"; 
}

function doDelRow()
{
 return "HrmRecApplnMtnEduDtlDeleteRowAction.do";  
}

function doGetDetailTableName()
{
  return "HrmRecApplnMtnEduDtlBatch";
}

function doPrevDetail()
{

  return "HrmRecApplnMtnEduDtlGetDetailPageAction.do";  
}

function doNextDetail()
{

  return "HrmRecApplnMtnEduDtlGetDetailPageAction.do";
}

function doJumpDetail()
{
  return  "HrmRecApplnMtnEduDtlGetDetailPageAction.do"; 
}


function doGetInsertData()
{

}




function ShowAdvtNo()
{
        document.forms[0].lovKey.value = "ApplnMtnEduAdvtNo" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmApplicationMaintenance.referenceNo,hrm.HrmApplicationMaintenance.entryMode";
        document.forms[0].txtDisplayFields.value = "entryMode,referenceNo";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecApplnMtnForm');
        return true;
        
}

function doOnChangeLov(lovName)
{
   if((lovName=="ApplnMtnAddAdvtNoHrmRecApplnMtnEduDtlU") || (lovName=="ApplnMtnAddAdvtNoHrmRecApplnMtnEduDtlN"))
    {
      doBaseValidate();
    }
}
function doValidate()
{
  return  "HrmRecApplnMtnAddDtlValidateAction.do"; 
}
function ShowDesignation()
{
        document.forms[0].lovKey.value = "ApplnMtnEduDesignation" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmApplicationMaintenance.applForDesignation";
        document.forms[0].txtDisplayFields.value = "referenceId,designationId,applForGrade,applForDesignation";
        document.forms[0].multipleFlag.value = "false";
        document.forms[0].queryParam.value="referenceNo="+document.forms[0].referenceNo.value;
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecApplnMtnForm');
        return true;
        
}
function ShowApplnNo()
{
        document.forms[0].lovKey.value = "ApplnMtnEduApplnNo" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmApplicationMaintenance.applicationNo";
        document.forms[0].txtDisplayFields.value = "applnNoId,applicationNo,applicationDate";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecApplnMtnForm');
        return true;
        
}
function ShowInstCode(i)
{
        document.forms[0].lovKey.value = "ApplnMtnEduIns" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmApplicationMaintenance.instCode";
        document.forms[0].txtIndex.value = i;
        document.forms[0].txtDisplayFields.value = "instId,txtInstCode";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecApplnMtnForm');
        return true;
        
}

function ShowQualCode(i)
{
        document.forms[0].lovKey.value = "ApplnMtnEduQual" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmApplicationMaintenance.qualification";
        document.forms[0].txtIndex.value = i;
        document.forms[0].txtDisplayFields.value = "qualificationId,txtQualificationCode,txtQualification";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecApplnMtnForm');
        return true;
        
}
function boxClicked(val)
{    
    if(document.getElementsByName("checked")[val].checked)
    {      
      document.getElementsByName("itemChecked")[val].value = "Y";      
    }
    else
    {     
      document.getElementsByName("itemChecked")[val].value = "N";     
    }      
}
</script>
