<%@ 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>
<HEAD>
    <html:base />
    <TITLE><bean:message key="hrm.title" /></TITLE>
	  <jsp:include page="GenIncludes.jsp" flush="true" />
</HEAD>

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

<html:form name="HrmRecEmpRecCreationForm" action="HrmRecEmpRecCreationBaseAction" type="wenrgise.hrms.webtier.form.HrmRecEmpRecCreationForm">
<bean:define id="ParentForm" name="HrmRecEmpRecCreationForm" 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()" /><img  property="butInsert"  alt="Insert (Alt+N)" src="../includes/images/insert_dis.jpg"  /></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  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"  disabledClass="locked" 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 ><bean:message  key="hrm.HrmEmpRecCreation.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 --> 
<div id=divBody style="height:470px">
<TABLE cellSpacing=0 cellPadding=0 border=0 >
<TBODY>
    <TR>
        <TD>
        
        <TABLE cellSpacing=0 cellPadding=0 >
        <!-- Applicant Detail Information Starts -->
         <TR>
            <TD class=subHeader colspan=6>Applicant's Detail</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.HrmEmpRecCreation.applicationNo" /></td>
              <td><html:text property="applicationNo" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.applicationNo" styleClass="required" onchange="doChangeHeader();" readonly="true" /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" name="HrmRecEmpRecCreationForm"  property="butApplicationNo" onclick="return ShowApplnNo()"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.appForPosition" /></td>
              <td colspan="2"><html:text property="applForGrade" size="26"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.grade" styleClass="locked" readonly="true" /><html:text property="applForDesignation" size="26"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.designation" styleClass="locked" readonly="true" /></td>
              
        </tr>
        <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.advNo" /></td>
              <td><html:text property="advNo" size="26"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.advNo" styleClass="locked" readonly="true" /></td>
              <td class="labelText"><bean:message key="hrm.HrmEmpRecCreation.entryMode" /></td>
              <!--<td><html:text property="entryMode" name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.entryMode" styleClass="locked" size="23" onchange="doChangeHeader();" readonly="true" /><enrgise:img name="HrmRecEmpRecCreationForm" height="16" align="center" src="../includes/images/lov.jpg"  property="butEntryMode"   onclick="return ShowEntryMode()" /></td>              -->
              <td><html:text property="entryMode" name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.entryMode" styleClass="locked" size="26" onchange="doChangeHeader();" readonly="true" /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.newEmpNo" /></td>
              <td><html:text property="newEmpNo" size="26"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.newEmpNo" maxlength="10" styleClass="locked" readonly="true" onchange="doChangeHeader();"  /></td>
              
              
         </tr>
         <tr>
             <td class="labelText"><bean:message key="hrm.HrmEmpRecCreation.employeeName" /></td>
             <td colspan="3"><html:text  property="employeeFirstName" name="HrmRecEmpRecCreationForm" maxlength="12" size="26" styleClass="locked" readonly="true" onchange="doChangeHeader();"   /><html:text  property="employeeMiddleName" maxlength="10" size="37" styleClass="locked" readonly="true" /><html:text  property="employeeLastName" maxlength="10" size="26" styleClass="locked" readonly="true"  /></td>
             <td class="labelText"><bean:message key="hrm.HrmEmpRecCreation.rollNo" /></td>
             <td><html:text  property="rollNo"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.rollNo" maxlength="10" size="26" styleClass="locked" readonly="true"  /></td>
              
          </tr>
         
          </tr>
         <!--Attribute Detail Starts-->
         <TR>
            <TD class=subHeader colspan=6>Attribute Details</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.HrmEmpRecCreation.guardianName" /></td>
              <td><html:text property="guardianName" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.guardianName" styleClass="locked" readonly="true" onchange="doChangeHeader();"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.dateOfBirth" /></td>
              <td><html:text property="dateOfBirth" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.dateOfBirth" styleClass="locked" readonly="true"  onchange="doChangeHeader();"   /></td>             
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.placeOfBirth" /></td>
              <td><html:text property="placeOfBirth" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.placeOfBirth" styleClass="locked" readonly="true"  onchange="doChangeHeader();"   /></td>             
        </tr>
        <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.nationality" /></td>
              <td><html:text property="nationality" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.nationality" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.maritalStatus" /></td>
              <td><html:text property="maritalStatus" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.maritalStatus" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.sex" /></td>
              <td><html:text property="sex" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.sex" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              
        </tr>
        <tr>      
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.motherTongue" /></td>
              <td><html:text property="motherToungue" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.motherToungue" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.relatedEmployee" /></td>
              <td><html:text property="relatedEmployee" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.relatedEmployee" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.religion" /></td>
              <td><html:text property="religion" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.religion" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              
        </tr>
        <tr>
               
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.bloodGroup" /></td>
              <td><html:text property="bloodGroup" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.bloodGroup" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.eMail" /></td>
              <td><html:text property="email" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.eMail" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.handicappedFlag"  /></td>
              <td><html:checkbox property="handicappedFlag" name="HrmRecEmpRecCreationForm"  titleKey="hrm.HrmEmpRecCreation.handicappedFlag" styleClass="locked" onchange="doChangeHeader();" disabled="true" /><html:hidden property="handicappedFlag" name="HrmRecEmpRecCreationForm" /></td>
            
         </tr>
         <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.arrested" /></td>
              <td><html:select property="arrested" name="HrmRecEmpRecCreationForm"  titleKey="hrm.HrmEmpRecCreation.arrested" styleClass="locked" onchange="doChangeHeader();" disabled="true" >
                <html:option value="Y" > <bean:message key="hrm.HrmEmpRecCreation.yes" /></html:option>
                <html:option value="N" > <bean:message key="hrm.HrmEmpRecCreation.no" /></html:option>
                </html:select><html:hidden property="arrested" name="HrmRecEmpRecCreationForm" />
              </td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.proscecuted" /></td>
              <td><html:select property="proscecuted" titleKey="hrm.HrmEmpRecCreation.proscecuted" styleClass="locked" onchange="doChangeHeader();" disabled="true" >
                <html:option value="Y" ><bean:message key="hrm.HrmEmpRecCreation.yes" /></html:option>
                <html:option value="N" ><bean:message key="hrm.HrmEmpRecCreation.no" /></html:option>
                </html:select><html:hidden property="proscecuted" name="HrmRecEmpRecCreationForm" />
              </td>
              
         </tr>
          <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.fined" /></td>
              <td><html:select property="fined" name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.fined" styleClass="locked" onchange="doChangeHeader();" disabled="true" >
                <html:option value="Y" > <bean:message key="hrm.HrmEmpRecCreation.yes" /></html:option>
                <html:option value="N" > <bean:message key="hrm.HrmEmpRecCreation.no" /></html:option>
                </html:select><html:hidden property="fined" name="HrmRecEmpRecCreationForm" />
              </td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.imprisoned" /></td>
              <td><html:select property="imprisoned" name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.imprisoned" styleClass="locked" onchange="doChangeHeader();" disabled="true" >
                <html:option value="Y" > <bean:message key="hrm.HrmEmpRecCreation.yes" /></html:option>
                <html:option value="N" > <bean:message key="hrm.HrmEmpRecCreation.no" /></html:option>
                </html:select><html:hidden property="imprisoned" name="HrmRecEmpRecCreationForm" />
              </td>
         </tr>
         <!--Passport Details Starts-->
         <TR>
            <TD class=subHeader colspan=6>Passport Details</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.HrmEmpRecCreation.passportNo" /></td>
              <td><html:text property="passportNo" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.passportNo" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td colspan="2"></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.placeOfissue" /></td>
              <td><html:text property="placeOfissue" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.placeOfissue" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              
        </tr>
        <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.issueDate" /></td>
              <td><html:text property="issueDate" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.issueDate" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td colspan="2"></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.expiryDate" /></td>
              <td><html:text property="expiryDate" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.expiryDate" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              
        </tr>
         <!--Present Address Details Starts-->
         <TR>
            <TD class=subHeader colspan=6>Present Address</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.HrmEmpRecCreation.address" /></td>
              <td><html:textarea property="presentAddress" name="HrmRecEmpRecCreationForm" cols="28" rows="2"  titleKey="hrm.HrmEmpRecCreation.address" styleClass="locked" onchange="doChangeHeader();" readonly="true" onmouseover="this.title=this.value"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.country" /></td>
              <td><html:text property="countryPresentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.country" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.state" /></td>
              <td><html:text property="statePresentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.state" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              
        </tr>
        <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.city" /></td>
              <td><html:text property="cityPresentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.city" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.phone" /></td>
              <td><html:text property="phonePresentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.phone" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.pinCode" /></td>
              <td><html:text property="pinCodePresentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.pinCode" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
        </tr>
        
         <!--Permanent Address Details Starts-->
         <TR>
            <TD class=subHeader colspan=6>Permanent Address</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.HrmEmpRecCreation.address" /></td>
              <td><html:textarea property="permanentAddress" name="HrmRecEmpRecCreationForm" cols="28" rows="2"  titleKey="hrm.HrmEmpRecCreation.address" styleClass="locked" onchange="doChangeHeader();" readonly="true" onmouseover="this.title=this.value"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.country" /></td>
              <td><html:text property="countryPermanentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.country" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.state" /></td>
              <td><html:text property="statePermanentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.state" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              
        </tr>
        <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.city" /></td>
              <td><html:text property="cityPermanentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.city" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.phone" /></td>
              <td><html:text property="phonePermanentAddresss" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.phone" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.pinCode" /></td>
              <td><html:text property="pinCodePermanentAddress" name="HrmRecEmpRecCreationForm" size="26"  titleKey="hrm.HrmEmpRecCreation.pinCode" styleClass="locked" onchange="doChangeHeader();" readonly="true"  /></td>
        </tr>
        
        <!--Office Address Details Starts-->
         <TR>
            <TD class=subHeader colspan=6>Office Address</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.HrmEmpRecCreation.address" /></td>
              <td><enrgise:textarea property="officeAddress" name="HrmRecEmpRecCreationForm" cols="28" rows="2"  titleKey="hrm.HrmEmpRecCreation.address" styleClass="required" disabledClass="optional"  onchange="doChangeHeader();"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.country" /></td>
              <td><html:text property="countryOfficeAddress" size="23" name="HrmRecEmpRecCreationForm"  titleKey="hrm.HrmEmpRecCreation.country" styleClass="required" onchange="doChangeHeader();" readonly="true"  /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" name="HrmRecEmpRecCreationForm" property="butCountryOfficeAddress" onclick="return ShowOffCountry()" /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.state" /></td>
              <td><html:text property="stateOfficeAddress" size="23" name="HrmRecEmpRecCreationForm"  titleKey="hrm.HrmEmpRecCreation.state" styleClass="required" onchange="doChangeHeader();" readonly="true"   /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" name="HrmRecEmpRecCreationForm" property="butStateOfficeAddress" onclick="return ShowOffState()" /></td>
              
        </tr>
         <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.city" /></td>
              <td><enrgise:text property="cityOfficeAddress" size="26" name="HrmRecEmpRecCreationForm" maxlength="20" titleKey="hrm.HrmEmpRecCreation.city" styleClass="required" disabledClass="optional"  onchange="doChangeHeader();"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.pinCode" /></td>
              <td><enrgise:text property="pinCodeOfficeAddress" size="26" maxlength="20" name="HrmRecEmpRecCreationForm"  titleKey="hrm.HrmEmpRecCreation.pinCode" styleClass="optional" disabledClass="optional"  onchange="doChangeHeader();"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.phone" /></td>
              <td><enrgise:text property="phoneOfficeAddress" size="26" maxlength="20" name="HrmRecEmpRecCreationForm" onkeypress="isInteger(event)" titleKey="hrm.HrmEmpRecCreation.phone" styleClass="optional" disabledClass="optional"  onchange="doChangeHeader();"  /></td>
             
        </tr>
       
        <!--Joining Details Starts-->
         <TR>
            <TD class=subHeader colspan=6>Joining Details</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.HrmEmpRecCreation.appointmentOrder" /></td>
              <td><enrgise:text property="appointmentOrder" size="26" maxlength="20" name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.appointmentOrder" styleClass="required" disabledClass="locked"  onchange="doChangeHeader();"  /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.appointmentOrderDate" /></td>
              <td><html:text property="appointmentOrderDate" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.appointmentOrderDate" styleClass="required" onchange="doChangeHeader();" readonly="true"  /><enrgise:img width="15" height="19" align="top" src="../includes/images/cal.gif" name="HrmRecEmpRecCreationForm" property="butAppointmentOrderDate" onclick="showCalendar('appointmentOrderDate',this)" /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.companyJoiningDate" /></td>
              <td><html:text property="companyJoiningDate" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.companyJoiningDate" styleClass="required" onchange="doChangeHeader();" readonly="true"   /><enrgise:img width="15" height="19" align="top" src="../includes/images/cal.gif" name="HrmRecEmpRecCreationForm" property="butCompanyJoiningDate" onclick="showCalendar('companyJoiningDate',this)" /></td> 
         </tr>
         <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.locationJoiningDate" /></td>
              <td><html:text property="locationJoiningDate" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.locationJoiningDate" styleClass="optional" onchange="doChangeHeader();"  readonly="true"  /><enrgise:img width="15" height="19" align="top" src="../includes/images/cal.gif" name="HrmRecEmpRecCreationForm" property="butLocationJoiningDate" onclick="showCalendar('locationJoiningDate',this)" /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.tentativeConfirmDate" /></td>
              <td><html:text property="tentativeConfirmDate" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.tentativeConfirmDate" styleClass="optional" onchange="doChangeHeader();" readonly="true"  /><enrgise:img width="15" height="19" align="top" src="../includes/images/cal.gif" name="HrmRecEmpRecCreationForm" property="butTentativeConfirmDate" onclick="showCalendar('tentativeConfirmDate',this)" /></td>        
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.retirementDate" /></td>
              <td><html:text property="retirementDate" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.retirementDate" styleClass="locked" onchange="doChangeHeader();" readonly="true" /></td>
         </tr>
         <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.baseSite" /></td>
              <td><html:text property="baseSite" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.baseSite" styleClass="required" readonly="true" onchange="doChangeHeader();"  /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" name="HrmRecEmpRecCreationForm" property="butBaseSite" onclick="return ShowBaseSite()" /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.grade" /></td>
              <td><html:text property="grade" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.grade" styleClass="required" readonly="true" onchange="doChangeHeader();"  /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" name="HrmRecEmpRecCreationForm" property="butGrade" onclick="return ShowGrade()" /></td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.designation" /></td>
              <td><html:text property="designation" size="23"  name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.designation" styleClass="optional" readonly="true"  onchange="doChangeHeader();" /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" name="HrmRecEmpRecCreationForm" property="butDesignation" onclick="return ShowDesignation()" /></td>
              
        </tr>
        <tr>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.employeeType" /></td>
              <td><enrgise:select property="employeeType" name="HrmRecEmpRecCreationForm" titleKey="hrm.HrmEmpRecCreation.employeeType" styleClass="required" disabledClass="locked" onchange="doChangeHeader();"  >
                <enrgise:option value="" ><bean:message key="hrm.pleaseSelect" /></enrgise:option> 
                <enrgise:option value="P" > <bean:message key="hrm.HrmEmpRecCreation.P" /></enrgise:option>
                <enrgise:option value="T" > <bean:message key="hrm.HrmEmpRecCreation.T" /></enrgise:option>
                <enrgise:option value="R" > <bean:message key="hrm.HrmEmpRecCreation.R" /></enrgise:option>
                </enrgise:select>
              </td>
              <td class="labelText" ><bean:message key="hrm.HrmEmpRecCreation.joiningGroup" /></td>
              <td><html:text property="joiningGroup" size="23" name="HrmRecEmpRecCreationForm"  titleKey="hrm.HrmEmpRecCreation.joiningGroup" styleClass="optional" readonly="true"  onchange="doChangeHeader();"  /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" name="HrmRecEmpRecCreationForm" property="butJoiningGroup" onclick="return ShowJoiningGroup()" /></td>
      
          </tr>    
        
          </table>  
          
</td>
</tr>
            
      <!-- 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></td>                
                        <td bgColor=#4682b4></td>
                        <td align=right bgColor=#4682b4><img src="../includes/images/man.jpg"></td>
                   </TR>
                </table>
            </td>
          </tr>
	
<!-- Container Table Ending Columns Starts-->
    
</TBODY>
</TABLE>
</div>

<!-- Container Table Ends -->

<html:hidden name="HrmRecEmpRecCreationForm" property="screenName" value="HrmEmpRecCreation" />
<html:hidden name="HrmRecEmpRecCreationForm" property="forwardedPage" />
<html:hidden name="HrmRecEmpRecCreationForm" property="positionRequested"  />
<html:hidden name="HrmRecEmpRecCreationForm" property="screenMode" />

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


<html:hidden property="txtIndex" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="lovKey" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="txtSearchFields" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="txtDisplayFields" name="HrmRecEmpRecCreationForm"  />

<input type="hidden" name="multipleFlag" >
<input type="hidden" name="queryParam" >
<html:hidden property="firstLoad" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="buttonName" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="headerDataChanged" name="HrmRecEmpRecCreationForm"  />

<html:hidden property="applnId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="prCountryId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="prCountryCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="prStateId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="prStateCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="peCountryId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="peCountryCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="peStateId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="peStateCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="offCountryId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="offCountryCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="offStateId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="offStateCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="baseSiteId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="baseSiteCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="desgnId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="desgnCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="gradeId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="gradeCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="joiningId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="joiningCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="empTypeId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="empTypeCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="entryModeCode" name="HrmRecEmpRecCreationForm" />
<html:hidden property="entryModeId" name="HrmRecEmpRecCreationForm" />
<html:hidden property="empName" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="motherToungueCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="nationalityCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="maritalStatusCode" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="relatedEmployeeId" name="HrmRecEmpRecCreationForm"  />
<html:hidden property="religionId" name="HrmRecEmpRecCreationForm"  />
</html:form>
</body>
</html:html>
<script>

function doQueryMode()
{

  return "HrmEmpRecCreationQueryModeAction.do";
}

function doChangeHeader()
{
 if(document.forms[0].screenMode.value=="U" || document.forms[0].screenMode.value=="N")
 document.forms[0].headerDataChanged.value="true";
}
function doValidate()
{
  return "HrmEmpRecCreationValidateAction.do"; 
}
function doInsertMode()
{

  return "HrmEmpRecCreationNewModeAction.do";
}

function doOnLoad()
{
  if(document.forms[0].firstLoad.value!="false")
  {
    return  "HrmEmpRecCreationOnLoadAction.do"; 
  }
}
function doExecute()
{

  return "HrmEmpRecCreationGetHeaderAction.do";
}

function doSave()
{

  return "HrmEmpRecCreationSaveAction.do";
  
}

function doDelete()
{

  return "HrmEmpRecCreationDeleteAction.do";
  
}

function doRefresh()
{

  return "HrmEmpRecCreationRefreshAction.do";
  
}

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

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

function doJumpHeader()
{
  return "HrmEmpRecCreationFirstGetNextHeaderAction.do"; 
}
function doExit()
{
  return "HrmEmpRecCreationExitAction.do"; 
}
function doGetDetail()
{

  return "HrmEmpRecCreationGetDetailAction.do";
}

function doAddRow()
{

  return "HrmEmpRecCreationAddRowAction.do"; 
}

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

function doGetDetailTableName()
{
  return "HrmEmpRecCreation";
}

function doPrevDetail()
{

  return "HrmEmpRecCreationGetDetailPageAction.do";  
}

function doNextDetail()
{

  return "HrmEmpRecCreationGetDetailPageAction.do";
}

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


function ShowApplnNo()
{
        document.forms[0].lovKey.value = "RecCrnApplnNo" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.applicationNo";
        document.forms[0].txtDisplayFields.value = "applnId,applicationNo,empName";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
}

function ShowEntryMode()
{
        document.forms[0].lovKey.value = "RecCrnEntryMode" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.entryMode";
        document.forms[0].txtDisplayFields.value = "entryModeId,entryModeCode,entryMode";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowMotherTongue()
{
        document.forms[0].lovKey.value = "RecCrnMotherTongue" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "motherTongueId,motherTongueCode,motherToungue";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}


function ShowNationality()
{
        document.forms[0].lovKey.value = "RecCrnNationality" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "nationId,nationCode,nationality";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowMaritalStatus()
{
        document.forms[0].lovKey.value = "RecCrnMarital" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "maritalId,maritalCode,maritualStatus";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowReservationCategory()
{
        document.forms[0].lovKey.value = "RecCrnReservation" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.desc,hrm.HrmEmpRecCreation.hierarchyLevel";
        document.forms[0].txtDisplayFields.value = "resvId,resvCode,reservationCategory,hierarchyLevel";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowReligion()
{
        document.forms[0].lovKey.value = "RecCrnReligion" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "religionId,religion";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowPrCountry()
{
        document.forms[0].lovKey.value = "RecCrnPrCountry" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "prCountryId,prCountryCode,countryPresentAddress";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowPrState()
{
        document.forms[0].lovKey.value = "RecCrnPrState" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "prStateId,prStateCode,statePresentAddress";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}


function ShowPeCountry()
{
        document.forms[0].lovKey.value = "RecCrnPeCountry" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "peCountryId,peCountryCode,countryPermanentAddress";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowPeState()
{
        document.forms[0].lovKey.value = "RecCrnPeState" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "peStateId,peStateCode,statePermanentAddress";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowOffCountry()
{
        document.forms[0].lovKey.value = "RecCrnOffCountry" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "offCountryId,offCountryCode,countryOfficeAddress";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowOffState()
{
        document.forms[0].lovKey.value = "RecCrnOffState" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "offStateId,offStateCode,stateOfficeAddress";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
        
}

function ShowBaseSite()
{
        document.forms[0].lovKey.value = "RecCrnBaseSite" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "baseSiteId,baseSiteCode,baseSite";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
}

function ShowDesignation()
{
        document.forms[0].lovKey.value = "RecCrnDesignation" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "desgnId,desgnCode,designation";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
}

function ShowScale()
{
        document.forms[0].lovKey.value = "RecCrnScale" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "scaleId,scaleCode,scale";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
}

function ShowGrade()
{
        document.forms[0].lovKey.value = "RecCrnGrade" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "gradeId,gradeCode,grade";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
}



function ShowJoiningGroup()
{
        document.forms[0].lovKey.value = "RecCrnJoiningGroup" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code";
        document.forms[0].txtDisplayFields.value = "joiningId,joiningCode,joiningGroup";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
}



function ShowEmployeeType()
{
        document.forms[0].lovKey.value = "RecCrnEmployeeType" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpRecCreation.code,hrm.HrmEmpRecCreation.desc";
        document.forms[0].txtDisplayFields.value = "empTypeId,empTypeCode,employeeType";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmRecEmpRecCreationForm');
        return true;
}
</script>