<%@ 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" />
  <meta http-equiv=pragma content=no-cache>
</head>

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

<html:form name="HrmTrngEmpReqForm" action="HrmEmpTrngReqBaseAction" type="wenrgise.hrms.webtier.form.HrmTrngEmpReqForm">
<bean:define id="ParentForm" name="HrmTrngEmpReqForm" toScope="request" />
<jsp:include page="GenIconMenu.jsp" flush="true" />
<html:hidden property="detailDataChanged" name="HrmTrngEmpReqForm" />

<!--Top Most Blue Bar-->
<TABLE cellSpacing=0 bgColor=#bdd0ef>
    <tr>
        <TD  colSpan=12 class=mainHeader height=10><bean:message key="hrm.HrmEmpTrngReq.mainHeader" /></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 >
        <!-- Header Starts -->
              <TR>
                    <TD class=subHeader colspan=6><bean:message key="hrm.HrmEmpTrngReq.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.HrmEmpTrngReq.employeeNumber" /></td>
                  <td><enrgise:text  property="employeeNumber" titleKey="hrm.HrmEmpTrngReq.employeeNumber" maxlength="10" size="26"  styleClass="locked" disabledClass="locked" alt="P" /><enrgise:img height="16" align="center"  src="../includes/images/lov.jpg" property="butEmployeeName" name="HrmTrngEmpReqForm" onclick="return ShowEmployeeName()" /></td>
                  
              </tr>
              <tr>
                  <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.employeeName" /></td>
                  <td colspan="5"><enrgise:text  property="firstName" titleKey="hrm.HrmEmpTrngReq.firstName" maxlength="20" size="26"  styleClass="locked"  disabledClass="locked" readonly="true" alt="A" /><enrgise:text  property="middleName" titleKey="hrm.HrmEmpTrngReq.middleName" maxlength="20" size="30"  styleClass="locked" disabledClass="locked" readonly="true" alt="A" /><enrgise:text  property="lastName" titleKey="hrm.HrmEmpTrngReq.lastName" maxlength="20" size="26"  styleClass="locked" disabledClass="locked" readonly="true" alt="A" /></td> 
              </tr>
              <tr>
               <td  class="labelText"><bean:message key="hrm.HrmEmpTrngReq.grade" /></td>
                                <td><html:text  property="grade" titleKey="hrm.HrmEmpTrngReq.grade" name="HrmTrngEmpReqForm" size="26" styleClass="locked" readonly="true"  onchange="doChangeHeader();" /></td>
                                <td  class="labelText"><bean:message key="hrm.HrmEmpTrngReq.desig" /></td>
                                <td><html:text  property="desig" titleKey="hrm.HrmEmpTrngReq.desig" name="HrmTrngEmpReqForm" size="26" styleClass="locked" readonly="true"  onchange="doChangeHeader();" /></td>             
                                <td  class="labelText"><bean:message key="hrm.HrmEmpTrngReq.location" /></td>
                                 <td><html:text  property="location" titleKey="hrm.HrmEmpTrngReq.location" name="HrmTrngEmpReqForm" size="26" styleClass="locked" readonly="true"  onchange="doChangeHeader();" /></td>             
                                 <td width="13%"></td>
               </tr> 
 
             <tr>
                  <td class="labelText"></td>
                  <td><html:hidden  property="designation" titleKey="hrm.HrmEmpTrngReq.designation"  /></td>
                  <td class="labelText"></td>
                  <td><html:hidden  property="scaleOfPay" titleKey="hrm.HrmEmpTrngReq.scaleOfPay"  /></td>
                  <td colspan="2"> </td>
              </tr>
             
              
              </table>
      
      
         <table cellspacing=0 cellpadding=0 border=0>
         <!-- Detail Information Row starts -->
 	 <TR>
       <TD colspan=6>
        <!-- Table Starts -->
         <TABLE cellSpacing=0 cellPadding=0 >
           <tr>
                <TD  bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif"  border=0></TD>
                <TD class=actTabText noWrap bgColor=#4682b4>Requirement Details<IMG height=1 src="../includes/images/pixel.gif" width=10 border=0></TD>
                <TD><IMG height=19  src="../includes/images/formtab_r.gif" width=10  border=0></TD>
                <TD width="100%" background="../includes/images/line_t.gif">&nbsp;</TD>
                <TD background="../includes/images/line_t.gif"><IMG height=1 src="../includes/images/pixel.gif" width=10 border=0></TD>
              
           
           </tr>                  
          <TR >
 <!-- Detail table Container starts -->
              <TD colspan=5>
                <TABLE cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                   <TR>
                     <TD >
                       <DIV id=divDtlTable style="height:140px;width:1010px">
  			<!-- Detail table starts -->
                        <TABLE cellSpacing=0 cellPadding=0>
                         <TBODY>
                          <tr>
                              <td class=tableHeader height="20" colspan="6"></td>
                          </tr>  
                        <tr height="6">
                              <td colspan="6"></td>
                          </tr>  
                          <tr>
                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.dateSubmitted" /></td>
                              <td><enrgise:text  property="dateSubmitted" titleKey="hrm.HrmEmpTrngReq.dateSubmitted" size="23"  styleClass="required" disabledClass="required"  alt="D"  onchange="doChangeHeader();" /><enrgise:img name="HrmTrngEmpReqForm" src="../includes/images/cal.gif"   width="15" height="19" align="top" styleClass="lov" property="butDateSubmitted"   onclick="showCalendar('dateSubmitted',this)"   /></td>             
                            
                               <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.courseName" /></td>
                              <td><enrgise:text  property="courseName" titleKey="hrm.HrmEmpTrngReq.courseName" maxlength="20" size="23"  styleClass="required" disabledClass="required"  alt="P" onchange="doChangeHeader();doBaseValidate();" /><enrgise:img name="HrmTrngEmpReqForm" height="16" align="center" src="../includes/images/lov.jpg" property="butCourseName" onclick="return ShowCourseName();"  /></td>              
                        
                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.trainingCalendar" /></td>
                              <td><enrgise:text  property="trainingCalendar" titleKey="hrm.HrmEmpTrngReq.trainingCalendar" maxlength="20" size="23"  styleClass="required" disabledClass="required"  alt="P"  onchange="doChangeHeader();" /><enrgise:img name="HrmTrngEmpReqForm" height="16" align="center" src="../includes/images/lov.jpg" property="butTrainingCalendar"  onclick="return ShowCalendarName();"  /></td>              
                          
                          </tr>
                          
                          <tr> 
                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.institutionName" /></td>
                              <td><enrgise:text  property="institutionName" titleKey="hrm.HrmEmpTrngReq.institutionName" size="26"  styleClass="locked" disabledClass="locked"  alt="D"  onchange="doChangeHeader();" /></td>

                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.startDate" /></td>
                              <td><enrgise:text  property="startDate" titleKey="hrm.HrmEmpTrngReq.startDate" size="23"  styleClass="locked" disabledClass="locked"  alt="D"  onchange="doChangeHeader();" /><enrgise:img name="HrmTrngEmpReqForm" src="../includes/images/cal.gif"   width="15" height="19" align="top" styleClass="lov" property="butStartDate"   onclick="showCalendar('startDate',this)"  /></td>             
                              
                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.endDate" /></td>
                              <td><enrgise:text  property="endDate" titleKey="hrm.HrmEmpTrngReq.endDate"  size="23"  styleClass="locked" disabledClass="locked"  alt="D"  onchange="doChangeHeader();" /><enrgise:img name="HrmTrngEmpReqForm" src="../includes/images/cal.gif"  width="15" height="19" align="top" styleClass="lov" property="butEndDate"  onclick="showCalendar('endDate',this)"  /></td>             
                        </tr> 
                             
                         <tr> 
                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.nature" /></td>
                              <td><enrgise:select property="nature" alt="nature"  styleClass="required" disabledClass="required"   onchange="doChangeHeader();" >
                                    <enrgise:option value="" ><bean:message   key="hrm.pleaseSelect" /></enrgise:option>      
                                    <enrgise:option value="U" > <bean:message key="hrm.HrmEmpTrngReq.urgent" /></enrgise:option>
                                    <enrgise:option value="E" > <bean:message key="hrm.HrmEmpTrngReq.emergency" /></enrgise:option>
                                    <enrgise:option value="N" > <bean:message key="hrm.HrmEmpTrngReq.normal" /></enrgise:option>
                                    </enrgise:select></td> 
                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.purpose" /></td>
                              <td><enrgise:textarea  property="purpose" titleKey="hrm.HrmEmpTrngReq.purpose" cols="28" rows="2"  styleClass="optional" disabledClass="locked"  alt="A" onchange="doChangeHeader();" />
                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.recommender" /></td>
                              <td><enrgise:text  property="recommender" titleKey="hrm.HrmEmpTrngReq.recommender" maxlength="20" size="23"  styleClass="optional" disabledClass="locked"  alt="P" onchange="doChangeHeader();" /><enrgise:img name="HrmTrngEmpReqForm" height="16" align="center" src="../includes/images/lov.jpg" property="butRecommender"  onclick="return ShowRecommenderName();" /></td>              
                        </tr> 
                       <tr> 
                              <html:hidden property="approvalStatus" />
                              <!--<td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.approvalStatus" /></td>
                              <td><enrgise:select property="approvalStatus" alt="approvalStatus"  styleClass="locked" disabledClass="locked"  onchange="doChangeHeader();" >
                                    <enrgise:option value="" ><bean:message   key="hrm.pleaseSelect" /></enrgise:option>      
                                    <enrgise:option value="N" > <bean:message key="hrm.HrmEmpTrngReq.new" /></enrgise:option>
                                    <enrgise:option value="P" > <bean:message key="hrm.HrmEmpTrngReq.pending" /></enrgise:option>
                                    <enrgise:option value="A" > <bean:message key="hrm.HrmEmpTrngReq.approved" /></enrgise:option>
                                    <enrgise:option value="R" > <bean:message key="hrm.HrmEmpTrngReq.rejected" /></enrgise:option>
                                    </enrgise:select></td> 
                              <td class="labelText"><bean:message key="hrm.HrmEmpTrngReq.rejectionRemarks" /></td>
                              <td colspan="3"><enrgise:textarea  property="rejectionRemarks" titleKey="hrm.HrmEmpTrngReq.rejectionRemarks" cols="96" rows="2"  styleClass="optional" disabledClass="locked"  alt="A" onchange="doChangeHeader();" />-->
                       </tr>
                                <!--Insert Logic Iterate Here-->                                                      
                     </TBODY>
                    </TABLE>
                  </DIV>
                </TD>
              </TR>                     
  
  <!-- Get details starts -->
                        <tr>
                          <td colspan=11>	
                       
                          </TD>
                      </tr>
                  </TBODY>
                </TABLE>
              </td>
            </tr>



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

<!-- Bottom Blue Bar -->
       
 <!--    -->
 
  <table cellspacing=0 cellpadding=0 border=0>
             <!-- Detail Information Row starts -->
       <TR>
           <TD colspan=6>
            <!-- Table Starts -->
             <TABLE cellSpacing=0 cellPadding=0 >
               <tr>
                    <td bgcolor="#4682B4" width="10"><img src="../includes/images/pixel.gif" width="10" height="1" border="0"></td>
                    <td bgcolor="#4682B4" nowrap class=actTabText ><bean:message key="hrm.HrmEmpTrngReq.partDate" /><img src="../includes/images/pixel.gif" width="10" height="1" border="0"></td>
                    <TD><IMG height=19  src="../includes/images/formtab_r.gif" width=10  border=0></TD>                              
                    <TD width="100%" background="../includes/images/line_t.gif">&nbsp;</TD>
                    <TD background="../includes/images/line_t.gif"><IMG height=1 src="../includes/images/pixel.gif" width=10 border=0></TD>
              </tr>                  
              <TR >
     <!-- Detail table Container starts -->
                  <TD colspan=11>
                    <TABLE cellSpacing=0 cellPadding=0 border=0>
                      <TBODY>
                       <TR>
                         <TD >
                           <DIV id=divDtlTable style="height:120px;width:1010px" >
            <!-- Detail table starts -->
                            <TABLE cellSpacing=0 cellPadding=0>
                             <TBODY>
                              <tr>
                                  <TD class=tableHeader width="1%"><input type=checkbox></TD>
                                  <TD class=tableHeader width="30%"><bean:message key="hrm.HrmEmpTrngReq.date" /></td>
                                  <TD class=tableHeader width="30%"><bean:message  key="hrm.HrmEmpTrngReq.participation" /></td>
                              </tr> 
                             <logic:iterate id="HrmApproval" name="HrmTrngEmpReqForm" property="arrApprovedDates" type="wenrgise.hrms.bean.HrmTrngEmpReqDtlBean" indexId="idx" >
                                 <tr>
                                    <td >
                                    <html:hidden property="status"  name="HrmApproval" />
                                    <html:hidden property="detailId"  name="HrmApproval"  />
                                    <html:hidden property="selectAll" value="check"  />
                                     <enrgise:checkbox property="checked"  name="HrmTrngEmpReqForm"  disabled="true" alt="<%=idx.toString()%>" styleClass="optional" disabledClass="locked"  />
                                     <html:hidden property="itemChecked" name="HrmApproval" />
                               
                                    </td>
                                    <TD class=tableText ><enrgise:text property="date" formName="HrmTrngEmpReqForm" name="HrmApproval" style="width:100%" alt="A" onchange='<%="doChangeDetail("+idx.toString()+")"%>' styleClass="optional" disabledClass="locked" /></td>
                                    <TD class=tableText><enrgise:select property="participation" formName="HrmTrngEmpReqForm" name="HrmApproval" style="width:100%" alt="A" onchange='<%="doChangeDetail("+idx.toString()+")"%>' styleClass="optional" disabledClass="locked" >
                                                              <enrgise:option value="Y" > <bean:message key="hrm.HrmEmpTrngReq.yes" /></enrgise:option>
                                                              <enrgise:option value="N" > <bean:message key="hrm.HrmEmpTrngReq.no" /></enrgise:option>
                                   
                                                       </enrgise:select> 
                                                                     
                                      </td>   
                                </tr>
                            </logic:iterate>
         
                           </TBODY>
                        </TABLE>
                      </DIV>
                    </TD>
                  </TR>                     
      
      <!-- Get details starts -->
                 <tr>
                      <TD colspan=11>
                       <jsp:include page="GenDetailMenu.jsp" />
                    </td>
                    <td width="16%"></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 width=40% align=center bgColor=#4682b4></td>
                        <td  bgColor=#4682b4></td>
                        <td  bgColor=#4682b4><enrgise:button  alt="Submit (Alt+S)" onclick="doBaseSubmit()" name="HrmTrngEmpReqForm" property="butSubmit" styleClass="bottomBarText"><u>S</u>ubmit</enrgise:button></td>
                        <td bgColor=#4682b4></td>
                        <td align=right bgColor=#4682b4><img src="../includes/images/man.jpg"></td>
                       <td width="15%"></td>
                   </TR>
              </table>
            </td>
          </tr>
 
 
<!-- Container Table Ending Columns Starts-->
  </TD>
    
</TR>
</TBODY>
</TABLE>

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

<html:hidden property="userPageRequested" name="HrmTrngEmpReqForm" />
<html:hidden property="userPositionRequested" name="HrmTrngEmpReqForm" />
<html:hidden property="pageRequested" name="HrmTrngEmpReqForm" />

<html:hidden property="txtIndex" name="HrmTrngEmpReqForm"  />
<html:hidden property="lovKey" name="HrmTrngEmpReqForm"  />
<html:hidden property="txtSearchFields" name="HrmTrngEmpReqForm"  />
<html:hidden property="txtDisplayFields" name="HrmTrngEmpReqForm"  />
<html:hidden property="headerPrimaryKey" name="HrmTrngEmpReqForm" />
<html:hidden property="headerDataChanged" name="HrmTrngEmpReqForm" />
<input type="hidden" name="multipleFlag" >
<input type="hidden" name="queryParam" >

<!-- Screen Specific variables -->
<html:hidden property="courseId" name="HrmTrngEmpReqForm"  />
<html:hidden property="courseCode" name="HrmTrngEmpReqForm"  />
<html:hidden property="calId" name="HrmTrngEmpReqForm"  />
<html:hidden property="empId" name="HrmTrngEmpReqForm"  />

<html:hidden property="empNo" name="HrmTrngEmpReqForm"  />
<html:hidden property="recommenderId" name="HrmTrngEmpReqForm"  />
<html:hidden property="buttonName" name="HrmTrngEmpReqForm"  />

<html:hidden property="fullPart" name="HrmTrngEmpReqForm"  />



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

<script language="javascript">
function doCheckInitialise(elem, i)
{
  i=i*2;
  
  
  if(elem.checked){
     
    document.getElementsByName(elem.name)[i+1].value="on";
   
    doBaseGetDetail();
     document.forms[0].headerDataChanged.value="true";
  }
  else{
    document.getElementsByName(elem.name)[i+1].value="off";
    
    
      document.forms[0].headerDataChanged.value="true";
       }
}

function doChangeHeader()
{

 document.forms[0].headerDataChanged.value="true";
}

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


function doInsertMode()
{

  return "HrmEmpTrngReqNewModeAction.do";
}


function doExecute()
{

  return "HrmEmpTrngReqGetHeaderAction.do";
}

function doSave()
{
  return "HrmEmpTrngReqSaveAction.do";
  
}

function doDelete()
{

  return "HrmEmpTrngReqDeleteAction.do";
  
}

function doRefresh()
{

  return "HrmEmpTrngReqRefreshAction.do";
  
}

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

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

function doJumpHeader()
{
  return "HrmEmpTrngReqFirstGetNextHeaderAction.do"; 
}
function doExit()
{
  return "HrmTrngReqExitAction.do"; 
}
function doGetDetail()
{
 
  return "HrmEmpTrngReqGetDetailAction.do";
}

function doAddRow()
{

  return "HrmEmpTrngReqAddRowAction.do"; 
}

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

function doGetDetailTableName()
{
  return "HrmEmpTrngReq";
}

function doPrevDetail()
{

  return "HrmEmpTrngReqGetDetailPageAction.do";  
}
function doOnChangeLov(lovName)
{
   if((lovName=="TrngReqCourseHrmTrngEmpReqN"))
    {
      doBaseValidate();
    }
}
function doNextDetail()
{

  return "HrmEmpTrngReqGetDetailPageAction.do";
}

function doJumpDetail()
{
  return  "HrmEmpTrngReqGetDetailPageAction.do"; 
}
function doGetInsertData()
{

}
function doValidate()
{
   return "HrmEmpTrngReqValidateAction.do"
}

function ShowCourseName()
{
        document.forms[0].lovKey.value = "TrngReqCourse" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpTrngReq.courseCode,hrm.HrmEmpTrngReq.courseName";
        document.forms[0].txtDisplayFields.value = "courseId,courseCode,courseName";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmTrngEmpReqForm');
        return true;
        
        
        
}
function ShowCalendarName()
{
        
          document.forms[0].lovKey.value = "TrngReqCal" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
          document.forms[0].txtSearchFields.value = "hrm.HrmEmpTrngReq.trainingCalendar,hrm.HrmEmpTrngReq.courseName";
          document.forms[0].txtDisplayFields.value = "calId,trainingCalendar,courseName,institutionName,startDate,endDate";
          document.forms[0].queryParam.value="courseId="+document.forms[0].courseId.value;
          document.forms[0].multipleFlag.value = "false";
          showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmTrngEmpReqForm');
          return true;
        
}
function ShowRecommenderName()
{
        document.forms[0].lovKey.value = "TrngReqRecommender" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpTrngReq.employeeNumber,hrm.HrmEmpTrngReq.recoName";
        document.forms[0].txtDisplayFields.value = "recommenderId,empNo,recommender";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmTrngEmpReqForm');
        return true;
        
}

function ShowEmployeeName()
{
        document.forms[0].queryParam.value ="employeeId="+ document.forms[0].empId.value ;
        document.forms[0].lovKey.value = "TrngReqEmployee" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpTrngReq.employeeNumber,hrm.HrmLeaveLedger.employeeName";
        document.forms[0].txtDisplayFields.value = "empId,employeeNumber,firstName,middleName,lastName,grade,desig,location";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmTrngEmpReqForm');
        return true;
        
}
function doApprove()
{
  document.forms[0].buttonName.value="butApprove";
  return "HrmTrngReqGetButtonAction.do";
  
}
function doReject()
{
  document.forms[0].buttonName.value="butReject";
  return "HrmTrngReqGetButtonAction.do";
}
function doSubmit()
{
  document.forms[0].buttonName.value="butSubmit";
  return "HrmTrngReqGetButtonAction.do";
}

</script>


