<%@ 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="auto" onkeydown="hotKeys(event);";>

<html:form  name="HrmPersonalDtlsForm" action="HrmPersonalDtlsEmpHstBaseAction" type="wenrgise.hrms.webtier.form.HrmEmpPersDtlForm">
<bean:define id="ParentForm" name="HrmPersonalDtlsForm" toScope="request" />
<jsp:include page="GenIconMenu.jsp" flush="true" />


<html:hidden property="detailDataChanged" name="HrmPersonalDtlsForm" />
<!--Top Most Blue Bar-->
<TABLE cellSpacing=0 bgColor=#bdd0ef>
    <tr>
        <TD  colSpan=12 class=mainHeader height=10><bean:message key="hrm.HrmEmpPersonalDetails.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 >
        <!--Application Header Starts -->
              <TR>
                    <TD class=subHeader colspan=6><bean:message key="hrm.HrmEmpPersonalDetails.subHeader1" /></TD>
              </TR>
              <TR>
                    <TD colspan=6 bgColor=#4682b4><enrgise:img name="HrmPersonalDtlsForm" property="photo" height="1" src="../includes/images/photo.gif" width="1" border="0" /></TD>
              </TR>
              <tr>
                  <td class="labelText"><bean:message key="hrm.HrmEmpPersonalDetails.employeeNo" /></td>
                  <td><html:text  property="employeeNo" alt="N" titleKey="hrm.HrmEmpPersonalDetails.employeeNo" maxlength="10" size="23" styleClass="required" onchange="doChangeHeader();" readonly="true" /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" name="HrmPersonalDtlsForm"  property="butEmployeeNo" onclick="return ShowEmployeeNo()" /></td>              
                  <td class="labelText"><bean:message key="hrm.HrmEmpPersonalDetails.draftFlag" /></td>
                  <td><enrgise:checkbox property="draftFlag"  name="HrmPersonalDtlsForm"  styleClass="optional" disabledClass="locked" /></td>
                  
              </tr>
             <tr>
                  <td class="labelText"></td>
                  <td></td>
                  <td class="labelText"></td>
                  <td></td>
                  <td colspan=2> </td>
                  <td width=12%></td>
              </tr>
              <tr>
                  <td class="labelText"><bean:message key="hrm.HrmEmpPersonalDetails.employeeName" /></td>
                  <td colspan="3"><enrgise:text  property="firstName" alt="ALPHA" titleKey="hrm.HrmEmpPersonalDetails.firstName" maxlength="100" size="37" styleClass="required" disabledClass="required" onchange="doChangeHeader();" onkeypress="isName(event)"  /><enrgise:text  property="middleName" alt="ALPHA" titleKey="hrm.HrmEmpPersonalDetails.middleName" maxlength="100" size="37" styleClass="optional" disabledClass="optional" onchange="doChangeHeader();" onkeypress="isName(event)" />
                  <enrgise:text  property="lastName" alt="ALPHA" titleKey="hrm.HrmEmpPersonalDetails.lastName" maxlength="100" size="37" styleClass="required" disabledClass="required" onchange="doChangeHeader();"  onkeypress="isName(event)"  /></td> 
                  <td> </td>                
              </tr>
             <tr height="30">
                    <td colspan="6"></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="HrmEmpPersDtlsForm" property="tabPersDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersDtls','HrmEmpPersEmpHistGetTabAction.do')" ><bean:message key="hrm.HrmEmpPersonalDetails.personalDetails" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabAddDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif"        rows="2" onclick= "doGetTab('HrmEmpPersAddDtls','HrmEmpPersEmpHistGetTabAction.do')" ><bean:message key="hrm.HrmEmpPersonalDetails.address" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabJoiningInfo" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif"    rows="2" onclick= "doGetTab('HrmEmpPersJoinInf','HrmEmpPersEmpHistGetTabAction.do')" ><bean:message key="hrm.HrmEmpPersonalDetails.joiningInfo" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabEmpHist" styleClass="actTabText" disabledClass="lockedTab" src="../includes/images/formtab_r.gif" rows="2" ><bean:message key="hrm.HrmEmpPersonalDetails.employeeHistory" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabPriorExp" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersPriorExp','HrmEmpPersGetTabAction.do')"><bean:message key="hrm.HrmEmpPersonalDetails.priorExperience" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabEduDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersEduDtls','HrmEmpPersGetTabAction.do')"><bean:message key="hrm.HrmEmpPersonalDetails.educationDetails" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabPFDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif"      rows="2" onclick= "doGetTab('HrmEmpPersPFDtls','HrmEmpPersGetTabAction.do')"  ><bean:message key="hrm.HrmEmpPersonalDetails.pFDetails" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabTrngDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersTrngDtls','HrmEmpPersGetTabAction.do')" ><bean:message key="hrm.HrmEmpPersonalDetails.trainingDetails" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabAwardDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersAward','HrmEmpPersEmpHistGetTabAction.do')"  ><bean:message key="hrm.HrmEmpPersonalDetails.awardDtls" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabInsDtls" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersIns','HrmEmpPersEmpHistGetTabAction.do')"  ><bean:message key="hrm.HrmEmpPersonalDetails.insDtls" /></enrgise:tab>
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabHealth" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersHealth','HrmEmpPersEmpHistGetTabAction.do')"  ><bean:message key="hrm.HrmEmpPersonalDetails.health" /></enrgise:tab>
                <!--<enrgise:tab name="HrmEmpPersDtlsForm" property="tabLng" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmPersLngDtls','HrmEmpPersEmpHistGetTabAction.do')"  ><bean:message key="hrm.HrmEmpPersonalDetails.languageDtls" /></enrgise:tab>-->
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabRef" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersRef','HrmEmpPersGetTabAction.do')"  ><bean:message key="hrm.HrmEmpPersonalDetails.refDtls" /></enrgise:tab>
                
                
                 <!--Added By SUBHAM For New Requirement Of Asset Details Tab -->
                
                <enrgise:tab name="HrmEmpPersDtlsForm" property="tabAsset" styleClass="disTabText" disabledClass="lockedTab" src="../includes/images/formtab_lb.gif" rows="2" onclick= "doGetTab('HrmEmpPersAsset','HrmEmpPersEmpHistGetTabAction.do')"  ><bean:message key="hrm.HrmEmpPersonalDetails.assetDtls" /></enrgise:tab>
                
                <td width="50%"> </td>
             
     
          </tr>                  
          <TR >
 <!-- Detail table Container starts -->
              <TD colspan=40>
                <TABLE cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                   <TR>
                     <TD >
                       <DIV id=divDtlTable style="height:270px;width:1010px" >
                        <!-- Detail table starts -->
                        <TABLE cellSpacing=0 cellPadding=0>
                         <TBODY>
                          <tr>
                              <TD class=tableHeader width="1%"><html:checkbox property="selectAll" /></TD>
                              <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.activity" /></td>
                              <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.effectiveDate" /></td>
                              <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.frombasic" /></td>
                              <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpPersonalDetailsEmpHst.tobasic" /></td>
                              <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.fromgrade" /></td>
                              <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.tograde" /></td>
                              <TD class=tableHeader width="3%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.fromdesig" /></td>
                              <TD class=tableHeader width="3%"><bean:message key="hrm.HrmEmpPersonalDetailsEmpHst.todesig" /></td>
                              <TD class=tableHeader width="3%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.fromDepartment" /></td>
                              <TD class=tableHeader width="3%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.todepartment" /></td>
                              <TD class=tableHeader width="2%"><bean:message  key="hrm.HrmEmpPersonalDetailsEmpHst.fromlocation" /></td>
                              <TD class=tableHeader width="2%"><bean:message key="hrm.HrmEmpPersonalDetailsEmpHst.tolocation" /></td>
                         </tr>  
                         <logic:iterate id="HrmPersDtlsEmpHst" name="HrmPersonalDtlsForm" property="arrEmpPersDtlEmpHst" type="wenrgise.hrms.bean.HrmEmpPersHstDtlBean" indexId="idx" >
                            <logic:notEqual name="HrmPersDtlsEmpHst" property="status" value="D" >
                             <tr class='<bean:write name="HrmPersonalDtlsForm" property="listRowClass"/>'  >
                                <td >
                                <html:hidden property="status"  name="HrmPersDtlsEmpHst" />
                                <html:hidden property="detailId"  name="HrmPersDtlsEmpHst"  />
                                <html:checkbox property="checked"  name="HrmPersonalDtlsForm" alt="<%=idx.toString()%>" disabled="true"  /></td>
                                <html:hidden property="itemChecked" name="HrmPersDtlsEmpHst" />
                                </td>
                                <TD class=tableText><html:text property="txtActivity" name="HrmPersDtlsEmpHst" size="12" styleClass="locked" alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);" readonly="true"  /></td>  
                                <TD class=tableText ><html:text property="txtEffectiveDate" name="HrmPersDtlsEmpHst" size="15" styleClass="locked"  alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);" readonly="true" /></td>
                                <TD class=tableText ><html:text property="txtFromBasic" name="HrmPersDtlsEmpHst" size="15"  styleClass="locked" alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);"  readonly="true" /></td>
                                <TD class=tableText><html:text property="txtToBasic" name="HrmPersDtlsEmpHst"  size="15" styleClass="locked"  alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);"  readonly="true" /></td>   
                                <TD class=tableText ><html:text property="txtFromGrade" name="HrmPersDtlsEmpHst" size="15" styleClass="locked"  alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);" readonly="true" /></td>
                                <TD class=tableText><html:text property="txtToGrade" name="HrmPersDtlsEmpHst" size="15" styleClass="locked"  alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);"  readonly="true" /></td>   
                                <TD class=tableText ><html:text property="txtFromDesig" name="HrmPersDtlsEmpHst"  size="15" styleClass="locked" alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);" readonly="true" /></td>
                                <TD class=tableText><html:text property="txtToDesig" name="HrmPersDtlsEmpHst" size="15" styleClass="locked" alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);"  readonly="true" /></td>   
                                <TD class=tableText><html:text property="txtFromDepartment" name="HrmPersDtlsEmpHst" size="15" styleClass="locked"  alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);"  readonly="true" /></td>   
                                <TD class=tableText ><html:text property="txtToDepartment" name="HrmPersDtlsEmpHst" size="15" styleClass="locked"  alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);" readonly="true" onmouseover="this.title=this.value" /></td>
                                <TD class=tableText ><html:text property="txtFromLocation" name="HrmPersDtlsEmpHst" size="15" styleClass="locked"  alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);" readonly="true" onmouseover="this.title=this.value" /></td>
                                <TD class=tableText ><html:text property="txtToLocation" name="HrmPersDtlsEmpHst" size="15" styleClass="locked"  alt="<%=idx.toString()%>" onchange="doChangeDetail(this.alt);" readonly="true" onmouseover="this.title=this.value" /></td>
                                
                               
                               </td>
                             </tr>
                             </logic:notEqual>
                             
                        </logic:iterate>
                          
           <!--Insert Logic Iterate Here-->                                                      
                     </TBODY>
                    </TABLE>
                  </DIV>
                </TD>
              </TR>                     
                   <!-- Get details starts -->
  
                       <TABLE border=0>
                        <tbody>
                         <tr>
                          <td colspan=11>	
                              <bean:define id="pageNo" name="ParentForm" property="pageRequested" toScope="request" />
                              <bean:define id="maxPage" name="ParentForm" property="totalPageCount" toScope="request" />
                              <TABLE border=0>
                                <tbody>
                                <TR>
                                  <TD ><enrgise:button altKey="wenrgise.common.getDetail"  onclick="doBaseGetDetail()" property="butGetDetail" name="ParentForm" styleClass="bottomBarText">&nbsp;Get&nbsp;De<u>t</u>ail&nbsp;</enrgise:button> <enrgise:button altKey="wenrgise.common.addRow" name="ParentForm" disabled="true" property="butAddRow"  styleClass="bottomBarText">&nbsp;&nbsp;Add&nbsp;<u>R</u>ow&nbsp;&nbsp;</enrgise:button><enrgise:button altKey="wenrgise.common.delRow" name="ParentForm" disabled="true"                                property="butDelRow" styleClass="bottomBarText" ><u>D</u>elete Row</enrgise:button></TD>
                                  <td width=45%></td>	
                                  <TD ><enrgise:img name="ParentForm" property="butPrevDetail" src="../includes/images/butn_dtl_prev.jpg" onmouseover='this.src="../includes/images/butn_dtl_prev_act.jpg"' onmouseout='this.src="../includes/images/butn_dtl_prev.jpg"' alt="Butn_prev (Alt+<)"  onclick="doBasePrevDetail()"/></td>
                                    <td class=dtlNavText><bean:write  name="pageNo" /> of <bean:write name="maxPage" /></td>
                                    <td  align=right><enrgise:img name="ParentForm" property="butNextDetail" src="../includes/images/butn_dtl_next.jpg" onmouseover='this.src="../includes/images/butn_dtl_next_act.jpg"' onmouseout='this.src="../includes/images/butn_dtl_next.jpg"' alt="Butn_next (Alt+>)" onclick="doBaseNextDetail()"/></td>
                                    <td  align=right><enrgise:text property="newPageRequested" size="1" onkeydown="isInteger(event)" styleClass="optional" disabledClass="locked" alt="N" titleKey="wenrgise.common.jumpDetail" /></td>
                                    <td ><enrgise:img name="ParentForm" property="butJumpDetail" altKey="wenrgise.common.go" src="../includes/images/go_dtl.jpg" onmouseover='this.src="../includes/images/go_act.jpg"' onmouseout='this.src="../includes/images/go.jpg"' onclick="doBaseJumpDetail()" /></td>		     
                                  <td width=12%></td>
                                  </TR>
                              
                                </tbody>
                              </TABLE>
                             
                          </TD>
                      </tr>
                      
                        </tbody>
                   </TABLE>
             
                      </TBODY>
                </TABLE>
              </td>
            </tr>



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

<!-- Container Table Ends -->

<html:hidden name="HrmPersonalDtlsForm" property="screenName" value="HrmEmpPersEmpHst" />
<html:hidden name="HrmPersonalDtlsForm" property="forwardedPage" />
<html:hidden name="HrmPersonalDtlsForm" property="positionRequested" />
<html:hidden name="HrmPersonalDtlsForm" property="screenMode" />

<html:hidden property="txtIndex" name="HrmPersonalDtlsForm"  />
<html:hidden property="userPageRequested" name="HrmPersonalDtlsForm" />
<html:hidden property="userPositionRequested"  name="HrmPersonalDtlsForm" />
<html:hidden property="pageRequested"  name="HrmPersonalDtlsForm" />
<html:hidden property="selectAll" value="check" name="HrmPersonalDtlsForm" />

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

<html:hidden property="firstLoad" name="HrmPersonalDtlsForm" />

<!-- Screen Specific variables -->
<html:hidden property="empNumberId" name="HrmPersonalDtlsForm"  />

<html:hidden property="draftSave" name="HrmPersonalDtlsForm"  />
<html:hidden property="empId" name="HrmPersonalDtlsForm" />
<!-- Hidden fields end -->

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

<script language="javascript">


function doCheckInitialise(elem, i)
{
  i=i*2;
  alert(document.getElementsByName(elem.name).length +" " + elem.name+ " " + i);
  
  if(elem.checked){
    document.getElementsByName(elem.name)[i+1].value="on";
  }
  else{
    document.getElementsByName(elem.name)[i+1].value="off";
  }

  
}

function doChangeHeader()
{
 document.getElementsByName("headerDataChanged")[0].value="true"; 
 //document.forms[0].headerDataChanged.value="true";
}

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


function doInsertMode()
{

  return "HrmPersonalDtlsEmpHstNewModeAction.do";
}


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

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

function doDelete()
{

  return "HrmPersonalDtlsEmpHstDeleteAction.do";
  
}

function doRefresh()
{

  return "HrmPersonalDtlsEmpHstRefreshAction.do";
  
}

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

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

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

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

function doAddRow()
{

  return "HrmPersonalDtlsEmpHstAddRowAction.do"; 
}

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

function doGetDetailTableName()
{
  return "HrmPersonalDtlsEmpHstBatch";
}

function doPrevDetail()
{

  return "HrmPersonalDtlsEmpHstGetDetailPageAction.do";  
}

function doNextDetail()
{

  return "HrmPersonalDtlsEmpHstGetDetailPageAction.do";
}

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

function ShowEmployeeNo()
{
        document.forms[0].queryParam.value ="employeeId="+ document.forms[0].empId.value ;
        document.forms[0].lovKey.value = "PersDtlsEmpHstEmpNo" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpPersonalDetailsJoinInf.employeeNo,hrm.HrmEmpPersonalDetailsAddress.name";
        document.forms[0].txtDisplayFields.value = "empNumberId,employeeNo,firstName,middleName,lastName";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmPersonalDtlsForm');
        return true;
        
}
function doGetInsertData()
{

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












function boxClicked(val)
{    
    if(document.getElementsByName("checked")[val].checked)
    {      
      document.getElementsByName("itemChecked")[val].value = "Y";      
    }
    else
    {     
      document.getElementsByName("itemChecked")[val].value = "N";     
    }      
}
</script>    