<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="java.util.*,java.io.*,java.text.*"%>
<%@page import="com.csc.library.util.download.*"%>
<%@page import="com.csc.library.util.ManageDocument"%>
<%@page import="com.csc.library.approve.*,com.csc.library.databean.*"%>
<%@page import="com.csc.library.entry.*,com.csc.library.utilities.*"%>
<%@page import="com.csc.library.session.*"%>

<%request.setCharacterEncoding("UTF-8");%>

<jsp:useBean id="TEMPLATE_WORKFLOW" class="com.csc.library.system.Task" scope="page"/>

<%
TEMPLATE_WORKFLOW.setChannel(request,response);
TEMPLATE_WORKFLOW.checkProfile();
if( TEMPLATE_WORKFLOW.getUProfile() != null ){
	TEMPLATE_WORKFLOW.getUProfile().set("appname","WELFARE");
	HelpEntry screenHelp = (HelpEntry) TEMPLATE_WORKFLOW.process("HelpEntry","TEMPLATE_WORKFLOWHELP");
	screenHelp.process();

	CheckNull chkNull = new CheckNull();
		String dss1 = "none";
		String dss2 = "none";
		String dss3 = "none";
		String dss4 = "none";
		String dss5 = "none";
	String stp= chkNull.chkNullString(request.getParameter("step_id"));
	if(stp.equals("2") || stp.equals("3")){ 
		dss1 ="";
		dss2 ="";
		dss3 ="";
		dss4 ="";
		dss5 ="";
	}
								if( screenHelp.nextRec() ){
	
								String screen_value = chkNull.chkNullString(screenHelp.getString("SCREEN_VALUE"));
								HashMap hm = new HashMap();
								ManageDocument md = new ManageDocument();
								
								hm.put("WF_ID",request.getParameter("wf_id"));
								hm.put("WF_VER",request.getParameter("wf_ver"));
								hm.put("WF_SEQ_NO",request.getParameter("wf_seq_no"));
								hm.put("STEP_ID",request.getParameter("step_id"));
								hm.put("STEP_SEQ_NO",request.getParameter("step_seq_no"));
								hm.put("ACTOR_ID",screenHelp.getUProfile().getActor());
								hm.put("POSITION_CODE",screenHelp.getUProfile().get("job"));
								
								md.setUProfile(screenHelp.getUProfile());
								md.setParam(hm);
								md.setVW_Incident();
								md.setWFDataValue(screen_value);

								if( md.getIncidentValue("READ_CHECK").equals("0") ){
									md.changeReadFlag();
								}


%>

								  <input type="hidden" name="__wf__at1" value="<%= md.getWFDataValue("__wf__at1") %>">
                                  <input type="hidden" name="__wf__at2" value="<%= md.getWFDataValue("__wf__at2") %>">
                                  <input type="hidden" name="__wf__at3" value="<%= md.getWFDataValue("__wf__at3") %>">
                                  <input type="hidden" name="__wf__at4" value="<%= md.getWFDataValue("__wf__at4") %>">
                                  <input type="hidden" name="__wf__at5" value="<%= md.getWFDataValue("__wf__at5") %>">
                                  <input type="hidden" name="__wf__attach1" value="<%= md.getWFDataValue("__wf__attach1") %>">
                                  <input type="hidden" name="__wf__attach2" value="<%= md.getWFDataValue("__wf__attach2") %>">
                                  <input type="hidden" name="__wf__attach3" value="<%= md.getWFDataValue("__wf__attach3") %>">
                                  <input type="hidden" name="__wf__attach4" value="<%= md.getWFDataValue("__wf__attach4") %>">
                                  <input type="hidden" name="__wf__attach5" value="<%= md.getWFDataValue("__wf__attach5") %>">
                                  <input type="hidden" name="__wf__attachdesc1" value="<%= md.getWFDataValue("__wf__attachdesc1") %>">
                                  <input type="hidden" name="__wf__attachdesc2" value="<%= md.getWFDataValue("__wf__attachdesc2") %>">
                                  <input type="hidden" name="__wf__attachdesc3" value="<%= md.getWFDataValue("__wf__attachdesc3") %>">
                                  <input type="hidden" name="__wf__attachdesc4" value="<%= md.getWFDataValue("__wf__attachdesc4") %>">
                                  <input type="hidden" name="__wf__attachdesc5" value="<%= md.getWFDataValue("__wf__attachdesc5") %>">
                                  <input  type="hidden" name="__wf__addval" value="<%= md.getWFDataValue("__wf__addval") %>">
                                  <script language="javascript">callback = "<%= md.getWFDataValue("__wf__requisition_type") %>"; </script>
                                  <% 
							
							int addv = Integer.parseInt(md.getWFDataValue("__wf__addval"));
							
							if(addv<1) dss1 = "none";
							if(addv<2) dss2 = "none";
							if(addv<3) dss3 = "none";
							if(addv<4) dss4 = "none";
							if(addv<5) dss5 = "none";
							 %>
                                  <table class="inframe" cellspacing=1 cellpadding=0  border=0>
                      <tbody>
                        <tr>
                          <td colspan="11" class="title1">
						    <div align="center">
						      <script language="javascript">swapLang("Welfare List");</script>
				          </div></td>
                        </tr>
                        <tr>
					      <td colspan="2" class="desc"><div align="right">
						         <strong>  <script language="javascript">swapLang("Employee");</script>:</strong></div></td>
							      <td class="desc" nowrap><input type="hidden" name="__wf__employeeid" size="15"  value="<%=md.getWFDataValue("__wf__employeeid") %>" readonly>
                            <input type="text" name="__wf__empfullname" size="30" value="<%=md.getWFDataValue("__wf__empfullname") %>" disabled></td>
                           <td width="32%" align="right" class="desc"><script language="javascript">swapLang("Requisition Type");</script>&nbsp;</td>
                          <td width="7%" class="desc"><span id="__requisition"></span></td>                    
                          <td width="7%" align="right" class="desc"><script language="javascript">swapLang("Send Date");</script>&nbsp;</td>
                          <td colspan="4" class="desc"><input type="text" size="10" name="__wf__send_date"  disabled value="<%=md.getWFDataValue("__wf__send_date") %>"></td>
                        </tr>
                        <tr>
                          <td width="7%" height="21" colspan="2" class="title1"><div align="center">
                              <script language="javascript">swapLang("Welfare");</script>
                          &nbsp;</div></td>
                          <td width="31%" class="title1"><div align="center">
                              <script language="javascript">swapLang("Disease ");</script>
                          &nbsp;</div></td>
                          <td colspan="2" class="title1"><div align="center">
						      <script language="javascript">swapLang("Name Surname In Family");</script>
				          &nbsp;</div>                            <div align="center"></div></td>
                          <td width="7%" class="title1"><div align="center">
                              <script language="javascript">swapLang("Amount ");</script>
                            &nbsp;</div></td>
                          <td class="title1"><div align="center">
                              <script language="javascript">swapLang("Receipt Number");</script>
                            &nbsp;</div></td>
                          <td width="7%" class="title1"><div align="center">
                              <script language="javascript">swapLang("Receipt Date");</script>
                            &nbsp;</div></td>
                          <td width="2%" class="title1" ><div align="center">
                              <script language="javascript">swapLang("Attach Doc");</script>
                            &nbsp;</div></td>
                        </tr>
						<script language="javascript">
							wdata1 = "<%= md.getWFDataValue("__wf__welfare1") %>"; 
							wdata2 = "<%= md.getWFDataValue("__wf__welfare2") %>"; 
							wdata3 = "<%= md.getWFDataValue("__wf__welfare3") %>";
							wdata4 = "<%= md.getWFDataValue("__wf__welfare4") %>";
							wdata5 = "<%= md.getWFDataValue("__wf__welfare5") %>";
							sdata1 = "<%= md.getWFDataValue("__wf__disease1") %>"; 
							sdata2 = "<%= md.getWFDataValue("__wf__disease2") %>"; 
							sdata3 = "<%= md.getWFDataValue("__wf__disease3") %>";
							sdata4 = "<%= md.getWFDataValue("__wf__disease4") %>";
							sdata5 = "<%= md.getWFDataValue("__wf__disease5") %>";
							fdata1 = "<%= md.getWFDataValue("__wf__family1") %>"; 
							fdata2 = "<%= md.getWFDataValue("__wf__family2") %>"; 
							fdata3 = "<%= md.getWFDataValue("__wf__family3") %>";
							fdata4 = "<%= md.getWFDataValue("__wf__family4") %>";
							fdata5 = "<%= md.getWFDataValue("__wf__family5") %>";
							r11 =  "<%= md.getWFDataValue("__wf__detail11") %>"
							r12 =  "<%= md.getWFDataValue("__wf__detail12") %>"
							r13 =  "<%= md.getWFDataValue("__wf__detail13") %>"
							r14 =  "<%= md.getWFDataValue("__wf__detail14") %>"
							r15 =  "<%= md.getWFDataValue("__wf__detail15") %>"
							r21 =  "<%= md.getWFDataValue("__wf__detail21") %>"
							r22 =  "<%= md.getWFDataValue("__wf__detail22") %>"
							r23 =  "<%= md.getWFDataValue("__wf__detail23") %>"
							r24 =  "<%= md.getWFDataValue("__wf__detail24") %>"
							r25 =  "<%= md.getWFDataValue("__wf__detail25") %>"
							r31 =  "<%= md.getWFDataValue("__wf__detail31") %>"
							r32 =  "<%= md.getWFDataValue("__wf__detail32") %>"
							r33 =  "<%= md.getWFDataValue("__wf__detail33") %>"
							r34 =  "<%= md.getWFDataValue("__wf__detail34") %>"
							r35 =  "<%= md.getWFDataValue("__wf__detail35") %>"
							r41 =  "<%= md.getWFDataValue("__wf__detail41") %>"
							r42 =  "<%= md.getWFDataValue("__wf__detail42") %>"
							r43 =  "<%= md.getWFDataValue("__wf__detail43") %>"
							r44 =  "<%= md.getWFDataValue("__wf__detail44") %>"
							r45 =  "<%= md.getWFDataValue("__wf__detail45") %>"
							r51 =  "<%= md.getWFDataValue("__wf__detail51") %>"
							r52 =  "<%= md.getWFDataValue("__wf__detail52") %>"
							r53 =  "<%= md.getWFDataValue("__wf__detail53") %>"

							r54 =  "<%= md.getWFDataValue("__wf__detail54") %>"
							r55 =  "<%= md.getWFDataValue("__wf__detail55") %>"
						</script>
						<script language="javascript">
								//setRequisitionType();
						</script>                       
                          <tr>
                          <td colspan="2" nowrap="nowrap" class="desc"><span id="__welfare1"></span><script language="javascript">SearchDWR.searchAll(new Array("mwelfare","welid,tdesc,edesc,whouse,docgid"," iseducation = '0'","welid","langon"),welfare);</script>
						  <input type="hidden" size="30" name="__wf__welfare1" value="<%=md.getWFDataValue("__wf__welfare1") %>" >
						   <input type="hidden" size="30" name="__wf__docgid1" value="<%=md.getWFDataValue("__wf__docgid1") %>">
						   <input type="hidden" size="30" name="__wf__whouse1" value="<%=md.getWFDataValue("__wf__whouse1") %>">
						  <input type="text" size="30" name="__wf__welfaredesc1" disabled value="<%=md.getWFDataValue("__wf__welfaredesc1") %>">
						</td>
                          <td class="desc" nowrap="nowrap"><span id="__disease1"></span>
						  <input type="hidden" size="30" name="__wf__disease1" value="<%=md.getWFDataValue("__wf__disease1") %>" disabled >
						  <input type="text" size="30" name="__wf__diseasedesc1" value="<%=md.getWFDataValue("__wf__diseasedesc1") %>" disabled>
						  </td>
                          <td colspan="2" class="desc"><span id="__family1"></span></td>
                          <td class="desc"><input name="__wf__amount1" type="text"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);" value="<%=md.getWFDataValue("__wf__amount1") %>" size="8"></td>
                          <td class="desc"><input type="text" size="15" name="__wf__receipt_number1"   value="<%=md.getWFDataValue("__wf__receipt_number1") %>"  disabled></td>
                          <td class="desc" nowrap><input type="text" size="10" name="__wf__receipt_date1"  disabled  value="<%=md.getWFDataValue("__wf__receipt_date1") %>" >
							</td>
                          <td class="desc" ><div align="center"><a href="javascript:goPages('1','disable');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11231','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image11231" width="20"  border="0" align="absmiddle" id="Image11231" ></a></div></td>
                        </tr>
                        <tr>
                          <td colspan="2" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script></td>
                          <td colspan="2" class="desc"><input type="hidden" size="50" name="__wf__sitewelid1"  value="<%=md.getWFDataValue("__wf__sitewelid1") %>" disabled><input type="hidden" size="50" name="__wf__sitewelgid1"  value="<%=md.getWFDataValue("__wf__sitewelgid1") %>" ><input type="text" size="50" name="__wf__sitewel_name1"  value="<%=md.getWFDataValue("__wf__sitewel_name1") %>" ></a>						  </td>
                          <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td>
                          <td colspan="5" class="desc"><input type="text" name="__wf__other_sitewel1" size="30"  value="<%=md.getWFDataValue("__wf__other_sitewel1") %>" ></td>
                        </tr>
                        <tr id="dt11" style="display:">
						     <td width="7%" class="desc" nowrap>
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc" nowrap><span id="__detail11"></span>&nbsp;</td>
						     <td class="desc"><div align="right"><span id="__reqdesc11"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc11" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc11") %>" >&nbsp;</td>
                         	 <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Cost");</script>
                            &nbsp;</div></td>
                          <td class="desc"><input type="text" name="__wf__cost11" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open11);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open11,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open11,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost11") %>"   size="8" ></td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Request");</script>
                            &nbsp;</div></td>
                          <td class="desc" nowrap><input type="text" name="__wf__open11" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open11") %>"   size="8" ></td>
                          <td class="desc"  nowrap><div align="center"><a name="a1" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1331','','../IMAGES/BUTTON/SWAP/EDIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EDIT20.gif" alt="Add" name="Image1331" width="20"  border="0" align="absmiddle" id="Image1331" onClick="addt('1')"></a> <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1431','','../IMAGES/BUTTON/SWAP/EXIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EXIT20.gif" alt="Delete" name="Image1431" width="20"  border="0" align="absmiddle" id="Image1431" onClick="delt('1')"></a> &nbsp;</div></td>
                        </tr>
                        <tr id="dt12" style="display:none ">
						     <td width="7%"  nowrap class="desc">&nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail12"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc12"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc12" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc12") %>" >&nbsp;</td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Cost");</script>
                            &nbsp;</div></td>
                          <td class="desc"><input type="text" name="__wf__cost12" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open12);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open12,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open12,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost12") %>"   size="8"></td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Request");</script>
                            &nbsp;</div></td>
                          <td class="desc" nowrap><input type="text" name="__wf__open12" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open12") %>"   size="8"  ></td>
                          <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                        </tr>
                        <tr id="dt13" style="display:none ">
						     <td width="7%" nowrap class="desc">&nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail13"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc13"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc13" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc13") %>" >&nbsp;</td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Cost");</script>
                            &nbsp;</div></td>
                          <td class="desc"><input type="text" name="__wf__cost13" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open13);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open13,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open13,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost13") %>"   size="8" ></td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Request");</script>
                            &nbsp;</div></td>
                          <td class="desc" nowrap><input type="text" name="__wf__open13" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open13") %>"   size="8" ></td>
                          <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                        </tr>
                        <tr id="dt14" style="display:none ">
						     <td width="7%"  nowrap class="desc">&nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail14"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc14"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc14" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc14") %>" >&nbsp;</td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Cost");</script>
                            &nbsp;</div></td>
                          <td class="desc"><input type="text" name="__wf__cost14" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open14);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open14,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open14,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost14") %>"   size="8" ></td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Request");</script>
                            &nbsp;</div></td>
                          <td class="desc" nowrap><input type="text" name="__wf__open14" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open14") %>"   size="8" ></td>
                          <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                        </tr>
                        <tr id="dt15" style="display:none ">
						     <td width="7%"  nowrap class="desc">&nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail15"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc15"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc15" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc15") %>" >&nbsp;</td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Cost");</script>
                            &nbsp;</div></td>
                          <td class="desc"><input type="text" name="__wf__cost15"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open15);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open15,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open15,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost15") %>"   size="8" ></td>
                          <td class="desc"><div align="right">
                              <script language="javascript">swapLang("Request");</script>
                            &nbsp;</div></td>
                          <td class="desc" nowrap><input type="text" name="__wf__open15"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open15") %>"  size="8" ></td>
                          <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                        </tr>
						   <tr id="wel21" style="display:none ">
                          <td colspan="2" class="desc"><span id="__welfare2"></span>
						  <input type="hidden" size="30" name="__wf__welfare2"  value="<%=md.getWFDataValue("__wf__welfare2") %>" >
						  <input type="hidden" size="30" name="__wf__docgid2"  value="<%=md.getWFDataValue("__wf__docgid2") %>"  >
						   <input type="hidden" size="30" name="__wf__whouse2"  value="<%=md.getWFDataValue("__wf__whouse2") %>" >
						  <input type="text" size="30" name="__wf__welfaredesc2" >
						  </td>
                          <td class="desc"><span id="__disease2"></span>
						   <input type="hidden" size="30" name="__wf__disease2"  value="<%=md.getWFDataValue("__wf__disease2") %>" >
						   <input type="text" size="30" name="__wf__diseasedesc2"  value="<%=md.getWFDataValue("__wf__diseasedesc2") %>" >
						  </td>
                          <td colspan="2" class="desc"><span id="__family2"></span></td>
                          <td class="desc"><input name="__wf__amount2" type="text"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__amount2") %>"  size="8"></td>
                          <td class="desc" nowrap><input type="text" size="15" name="__wf__receipt_number2" disabled  value="<%=md.getWFDataValue("__wf__receipt_number2") %>" ></td>
                          <td class="desc" ><input type="text" size="10" name="__wf__receipt_date2"  disabled  value="<%=md.getWFDataValue("__wf__receipt_date2") %>">
                            </td>
                          <td class="desc"><div align="center"><a href="javascript:goPages('2','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1223','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image1223" width="20"  border="0" align="absmiddle" id="Image1223" ></a></div></td>
                        </tr>
                          <tr id="wel22" style="display:none ">
                          <td colspan="2" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script></td>
                          <td colspan="2" class="desc"> <input type="hidden" size="50" name="__wf__sitewelid2"  value="<%=md.getWFDataValue("__wf__sitewelid2") %>" ><input type="hidden" size="50" name="__wf__sitewelgid2"  value="<%=md.getWFDataValue("__wf__sitewelgid2") %>" ><input type="text" size="50" name="__wf__sitewel_name2" disabled  value="<%=md.getWFDataValue("__wf__sitewel_name2") %>" ></td>
                          <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td>
                          <td colspan="4" class="desc"><input type="text" name="__wf__other_sitewel2" size="30"   value="<%=md.getWFDataValue("__wf__other_sitewel2") %>"  disabled></td>
                        </tr>
                          <tr id="dt21" style="display:<%= dss2 %> ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail21"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc21"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc21" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc21") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost21" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open21);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open21,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open21,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost11") %>"  size="8"></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open21" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open21") %>"  size="8" ></td>
                            <td class="desc" nowrap><div align="center"><a  name="a2" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1341','','../IMAGES/BUTTON/SWAP/EDIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EDIT20.gif" alt="Add" name="Image1341" width="20"  border="0" align="absmiddle" id="Image1341" onClick="addt('2')"></a> <a  onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1441','','../IMAGES/BUTTON/SWAP/EXIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EXIT20.gif" alt="Delete" name="Image1441" width="20"  border="0" align="absmiddle" id="Image1441" onClick="delt('2')"></a> &nbsp;</div></td>
                          </tr>
                          <tr id="dt22" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail22"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc22"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc22" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc22") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost22" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open22);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open22,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open22,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost22") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open22" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open22") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                          </tr>
                          <tr id="dt23" style="display:none ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail23"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc23"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc23" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc23") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost23" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open23);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open23,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open23,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost23") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open23" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open23") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                          </tr>
                          <tr id="dt24" style="display:none ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail24"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc24"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc24" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc24") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost24" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open24);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open24,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open24,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost24") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open24" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open24") %>"   size="8"></td>
                            <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                          </tr>
                          <tr id="dt25" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail25"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc25"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc25" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc25") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost25" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open25);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open25,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open25,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost25") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open25" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open25") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                          </tr>
						   <tr id="wel31" style="display:none ">
                          <td colspan="2" class="desc"><span id="__welfare3"></span>
						  <input type="hidden" size="30" name="__wf__welfare3"  value="<%=md.getWFDataValue("__wf__welfare3") %>"  >
						  <input type="hidden" size="30" name="__wf__docgid3"  value="<%=md.getWFDataValue("__wf__docgid") %>" >
						   <input type="hidden" size="30" name="__wf__whouse3"  value="<%=md.getWFDataValue("__wf__whouse3") %>" >
						  <input type="text" size="30" name="__wf__welfaredesc3"  disabled  value="<%=md.getWFDataValue("__wf__welfaredesc3") %>" >
						  </td>
                          <td class="desc"><span id="__disease3"></span>
						   <input type="hidden" size="30" name="__wf__disease3"  value="<%=md.getWFDataValue("__wf__disease3") %>" >
						   <input type="text" size="30" name="__wf__diseasedesc3" disabled  value="<%=md.getWFDataValue("__wf__diseasedesc3") %>" >
						 </td>
                          <td class="desc" colspan="2"><span id="__family3"></span></td>
                          <td class="desc"><input name="__wf__amount3" type="text"   class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__amount3") %>" size="8"></td>
                          <td class="desc"><input type="text" size="15" name="__wf__receipt_number3" disabled  value="<%=md.getWFDataValue("__wf__receipt_number3") %>" ></td>
                          <td class="desc" nowrap><input type="text" size="10" name="__wf__receipt_date3"  disabled  value="<%=md.getWFDataValue("__wf__receipt_date3") %>"   onBlur="checkPeriodDate(90,this,0);"></td>
                          <td class="desc"><div align="center"><a href="javascript:goPages('3','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1323','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image1323" width="20"  border="0" align="absmiddle" id="Image1323"></a></div></td>
                        </tr>
                          <tr id="wel32" style="display:none ">
                          <td colspan="2" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script></td>
                          <td colspan="2" class="desc">  <input type="hidden" size="50" name="__wf__sitewelid3"  value="<%=md.getWFDataValue("__wf__sitewelid3") %>" ><input type="hidden" size="50" name="__wf__sitewelgid3"  value="<%=md.getWFDataValue("__wf__sitewelgid3") %>" ><input type="text" size="50" name="__wf__sitewel_name3" disabled  value="<%=md.getWFDataValue("__wf__sitewel_name3") %>" ></td>
                          <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td>
                          <td colspan="4" class="desc"><input type="text" name="__wf__other_sitewel3" size="30" disabled   value="<%=md.getWFDataValue("__wf__other_sitewel3") %>" ></td>
                        </tr>
                          <tr id="dt31" style="display:<%= dss3 %> ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail31"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc31"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc31" disabled size="7"   value="<%=md.getWFDataValue("__wf__unitdesc31") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost31" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open31);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open31,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open31,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost31") %>"  size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open31" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open31") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"><a  name="a3" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1351','','../IMAGES/BUTTON/SWAP/EDIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EDIT20.gif" alt="Add" name="Image1351" width="20"  border="0" align="absmiddle" id="Image1351" onClick="addt('3')"></a> <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1451','','../IMAGES/BUTTON/SWAP/EXIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EXIT20.gif" alt="Delete" name="Image1451" width="20"  border="0" align="absmiddle" id="Image1451" onClick="delt('3')"></a> &nbsp;</div></td>
                          </tr>
                          <tr id="dt32" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail32"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc32"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc32" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc32") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost32" class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open32);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open32,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open32,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"   value="<%=md.getWFDataValue("__wf__cost32") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open32" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open32") %>"  size="8" ></td>
                            <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                          </tr>
                          <tr id="dt33" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail33"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc33"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc33" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc33") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost33"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open33);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open33,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open33,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost33") %>"  size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open33" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open33") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                          </tr>
                          <tr id="dt34" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail34"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc34"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc34" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc34") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost34"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open34);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open34,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open34,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost34") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open34" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open34") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                          </tr>
                          <tr id="dt35" style="display:none ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail35"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc35"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc35" disabled size="7"  value="<%=md.getWFDataValue("__wf__cost35") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost35"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open35);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open35,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open35,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost35") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open35" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open35") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                          </tr>
						   <tr id="wel41" style="display:none ">
                          <td colspan="2" class="desc"><span id="__welfare4"></span>
						  <input type="hidden" size="30" name="__wf__welfare4" value="<%=md.getWFDataValue("__wf__welfare4") %>"  >
						  <input type="hidden" size="30" name="__wf__docgid4"  value="<%=md.getWFDataValue("__wf__docgid4") %>" >
						   <input type="hidden" size="30" name="__wf__whouse4"  value="<%=md.getWFDataValue("__wf__whouse4") %>" > 
						  <input type="text" size="30" name="__wf__welfaredesc4"  value="<%=md.getWFDataValue("__wf__welfaredesc4") %>" >
						  </td>
                          <td class="desc"><span id="__disease4"></span>
						   <input type="hidden" size="30" name="__wf__disease4"  value="<%=md.getWFDataValue("__wf__disease4") %>" >
						   <input type="text" size="30" name="__wf__diseasedesc4" disable value="<%=md.getWFDataValue("__wf__diseasedesc4") %>" >
						  </td>
                          <td class="desc"  colspan="2"><span id="__family4"></span></td>
                          <td class="desc"><input name="__wf__amount4" type="text"   class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__amount4") %>"  size="8"></td>
                          <td class="desc"><input type="text" size="15" name="__wf__receipt_number4" disabled  value="<%=md.getWFDataValue("__wf__receipt_number4") %>" ></td>
                          <td class="desc" nowrap><input type="text" size="10" name="__wf__receipt_date4"  disabled  value="<%=md.getWFDataValue("__wf__receipt_date4") %>"></td>
                          <td class="desc"><div align="center"><a href="javascript:goPages('4','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1423','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image1423" width="20"  border="0" align="absmiddle" id="Image1423" ></a></div></td>
                        </tr>
                          <tr id="wel42" style="display:none ">
                          <td colspan="2" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script></td>
                          <td colspan="2" class="desc"><input type="hidden" size="50" name="__wf__sitewelid4"  value="<%=md.getWFDataValue("__wf__sitewel4") %>" ><input type="hidden" size="50" name="__wf__sitewelgid4"  value="<%=md.getWFDataValue("__wf__sitewelgid4") %>" > <input type="text" size="50" name="__wf__sitewel_name4"  disabled  value="<%=md.getWFDataValue("__wf__sitewel_name4") %>" ></td>
                          <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td>
                          <td colspan="4" class="desc"><input type="text" name="__wf__other_sitewel4" size="30"   value="<%=md.getWFDataValue("__wf__other_sitewel4") %>" ></td>
                        </tr>
                          <tr id="dt41" style="display:<%= dss4 %> ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail41"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc41"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc41" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc41") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost41"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open41);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open41,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open41,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost41") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open41" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open41") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"><a name="a4" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1361','','../IMAGES/BUTTON/SWAP/EDIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EDIT20.gif" alt="Add" name="Image1361" width="20"  border="0" align="absmiddle" id="Image1361" onClick="addt('4')"></a> <a  onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1461','','../IMAGES/BUTTON/SWAP/EXIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EXIT20.gif" alt="Delete" name="Image1461" width="20"  border="0" align="absmiddle" id="Image1461" onClick="delt('4')"></a> &nbsp;</div></td>
                          </tr>
                          <tr id="dt42" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail42"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc42"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc42" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc42") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost42"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open42);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open42,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open42,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost42") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open42" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open42") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                          </tr>
                          <tr id="dt43" style="display:none ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail43"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc43"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc43" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc43") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost43"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open43);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open43,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open43,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost43") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open43" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open43") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                          </tr>
                          <tr id="dt44" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail44"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc44"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc44" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc44") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost44"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open44);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open44,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open44,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost44") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open44" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open44") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                          </tr>
                          <tr id="dt45" style="display:none ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail45"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc45"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc45" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc45") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost45"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open45);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open45,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open45,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost45") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open45" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open45") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                          </tr>
						   <tr id="wel51" style="display:none ">
                          <td colspan="2" class="desc"><span id="__welfare5"></span>
						  <input type="hidden" size="30" name="__wf__welfare5" >
						  <input type="hidden" size="30" name="__wf__docgid5" >
						   <input type="hidden" size="30" name="__wf__whouse5" >
						  <input type="text" size="30" name="__wf__welfaredesc5" disabled  value="<%=md.getWFDataValue("__wf__welfaredesc5") %>" >
						  </td>
                          <td class="desc"><span id="__disease5"></span>
						   <input type="hidden" size="30" name="__wf__disease5"  value="<%=md.getWFDataValue("__wf__disease5") %>" >
						   <input type="text" size="30" name="__wf__diseasedesc5"  disabled  value="<%=md.getWFDataValue("__wf__diseasedesc5") %>" >
						  </td>
                          <td class="desc"  colspan="2"><span id="__family5"></span></td>
                          <td class="desc"><input type="text" name="__wf__amount5"   class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__amount5") %>"  size="8"></td>
                          <td class="desc"><input type="text" size="15" name="__wf__receipt_number5"  disabled value="<%=md.getWFDataValue("__wf__receipt_number5") %>" ></td>
                          <td class="desc" nowrap><input type="text" size="10" name="__wf__receipt_date5"  disabled  value="<%=md.getWFDataValue("__wf__receipt_date5") %>"  onBlur="checkPeriodDate(90,this,0);"></td>
                          <td class="desc"><div align="center"><a href="javascript:goPages('5','disabled');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1523','','../IMAGES/BUTTON/SWAP/COPY_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/COPY20.gif" alt="Attach Document" name="Image1523" width="20"  border="0" align="absmiddle" id="Image1523"></a></div></td>
                        </tr>
                          <tr id="wel52" style="display:none ">
                          <td colspan="2" align="right" class="desc"><script language="javascript">swapLang("Nursing Home");</script></td>
                          <td colspan="2" class="desc"> <input type="hidden" size="50" name="__wf__sitewelid5"  value="<%=md.getWFDataValue("__wf__sitewelid5") %>" ><input type="hidden" size="50" name="__wf__sitewelgid5"  value="<%=md.getWFDataValue("__wf__sitewelgid") %>" ><input type="text" size="50" name="__wf__sitewel_name5" disabled  value="<%=md.getWFDataValue("__wf__sitewel_name5") %>" ></td>
                          <td class="desc" align="right"><script language="javascript">swapLang("Other Nursing Home");</script></td>
                          <td colspan="4" class="desc"><input type="text" name="__wf__other_sitewel5" size="30"  disabled  value="<%=md.getWFDataValue("__wf__other_sitewel5") %>" ></td>
                        </tr>
                          <tr id="dt51" style="display:<%= dss5 %> ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail51"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc51"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc51" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc51") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost51"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open51);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open51,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open51,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost51") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open51" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open51") %>"  size="8" ></td>
                            <td class="desc" nowrap><div align="center"><a name="a5" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1371','','../IMAGES/BUTTON/SWAP/EDIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EDIT20.gif" alt="Add" name="Image1371" width="20"  border="0" align="absmiddle" id="Image1371" onClick="addt('5')"></a> <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1471','','../IMAGES/BUTTON/SWAP/EXIT_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/EXIT20.gif" alt="Delete" name="Image1471" width="20"  border="0" align="absmiddle" id="Image1471" onClick="delt('5')"></a> &nbsp;</div></td>
                          </tr>
                          <tr id="dt52" style="display:none ">
						     <td width="7%" nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail52"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc52"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc52" disabled size="7"  value="<%=md.getWFDataValue("__wf_unitdesc52_") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost52"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open52);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open52,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open52,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost52") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open52" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open52") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                          </tr>
                          <tr id="dt53" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail53"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc53"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc53" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc53") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost53"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open53);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open53,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open53,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost53") %>"   size="8" ></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open53"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open53") %>"  size="8" ></td>
                            <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                          </tr>
                          <tr id="dt54" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail54"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc54"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc54" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc54") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost54"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open54);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open54,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open54,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"   value="<%=md.getWFDataValue("__wf__cost54") %>"   size="8"></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open54"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open54") %>" size="8" ></td>
                            <td class="desc" nowrap><div align="center">&nbsp;</div></td>
                          </tr>
                          <tr id="dt55" style="display:none ">
						     <td width="7%"  nowrap class="desc">
						         <script language="javascript">swapLang("Requisition");</script>
				             &nbsp;</td>
						     <td width="16%" class="desc"><span id="__detail55"></span></td>
						     <td class="desc"><div align="right"><span id="__reqdesc55"></span></div></td>
						     <td class="desc" valign="baseline"><input type="text" name="__wf__unitdesc55" disabled size="7"  value="<%=md.getWFDataValue("__wf__unitdesc55") %>" >&nbsp;</td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Cost");</script>
                              &nbsp;</div></td>
                            <td class="desc"><input type="text" name="__wf__cost55"  class="numeric" style="text-align:right"  onFocus="callDelComma(this);callDelCommaNoSelect(__wf__open55);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total);calculateAmt(__wf__open55,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);checkNumFloat(__wf__open55,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="cloneValue(this);checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__cost55") %>"   size="8"></td>
                            <td class="desc"><div align="right">
                                <script language="javascript">swapLang("Request");</script>
                              &nbsp;</div></td>
                            <td class="desc" nowrap><input type="text" name="__wf__open55" class="numeric" style="text-align:right"  onFocus="callDelComma(this);" onBlur="calculateAmt(this,document.cscform.__wf__grand_total2);checkNumFloat(this,0.00,9999999);" onKeyPress="checkWordNumber(this.value);" onKeyUp="checkComma(this,2);"  value="<%=md.getWFDataValue("__wf__open55") %>"   size="8" ></td>
                            <td class="desc" nowrap><div align="center"> &nbsp;</div></td>
                          </tr>
                          <tr><td colspan="2" align="center" class="title1"><div align="center"><script language="javascript">swapLang("Grand Total");</script></div></td>
                            <td align="center" class="title1"><span class="desc">
                              <input type="text" size="8" dir="rtl" name="__wf__grand_total3" value="0" readonly>
                            </span></td>
                            <td align="center" class="title1">&nbsp;</td>
                            <td align="center" class="title1">&nbsp;</td>
                            <td class="title1"><div align="left">
                            <input type="text" size="8"  name="__wf__grand_total" dir="rtl" value="0.00" readonly>
							</div>                          </td>
                          <td align="right" class="title1">&nbsp;</td>
                          <td align="right" class="title1"><span class="desc">
                            <input type="text" size="8" dir="rtl" name="__wf__grand_total2" value="0.00" readonly>
                          </span></td>
                          <td align="right" class="title1">&nbsp;</td>
                          </tr>
                       
                        <tr>
                          <td colspan="8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <table cellspacing="0" cellpadding="0">
                       
                              <tr>
                                <td colspan="8"></td>
                              </tr>
                              <tr>
                                <td colspan="8" class="desc2"><jsp:include page="./MSG01.jsp" flush="true" /></td>
                              </tr>
                            </table></td>
                        </tr>
                      </tbody>
                    </table>
                <SCRIPT LANGUAGE="JavaScript">
								DWREngine.beginBatch();
								SystemCode.getContentDWR(new Array("REQUISITION_TYPE",'<%=screenHelp.getUProfile().get("lang").toString()%>'),selectedcallbackSys);																		
								setValueOnPage();
								DWREngine.endBatch({	
								  async:false
								});

										function setValueOnPage(){
											  DWREngine.setPostHook(function() {
													setObjectValue();
											  });		
										}						
				
//							 setTimeout("setObjectValue()",500);
								function setObjectValue(){
												setValue('__wf__detail11','<%=md.getWFDataValue("__wf__detail11")%>');
												setValue('__wf__detail12','<%=md.getWFDataValue("__wf__detail12")%>');
												setValue('__wf__detail13','<%=md.getWFDataValue("__wf__detail13")%>');
												setValue('__wf__detail14','<%=md.getWFDataValue("__wf__detail14")%>');
												setValue('__wf__detail15','<%=md.getWFDataValue("__wf__detail15")%>');
												setValue('__wf__detail21','<%=md.getWFDataValue("__wf__detail21")%>');
												setValue('__wf__detail22','<%=md.getWFDataValue("__wf__detail22")%>');
												setValue('__wf__detail23','<%=md.getWFDataValue("__wf__detail23")%>');
												setValue('__wf__detail24','<%=md.getWFDataValue("__wf__detail24")%>');
												setValue('__wf__detail25','<%=md.getWFDataValue("__wf__detail25")%>');
												setValue('__wf__detail31','<%=md.getWFDataValue("__wf__detail31")%>');
												setValue('__wf__detail32','<%=md.getWFDataValue("__wf__detail32")%>');
												setValue('__wf__detail33','<%=md.getWFDataValue("__wf__detail33")%>');
												setValue('__wf__detail34','<%=md.getWFDataValue("__wf__detail34")%>');
												setValue('__wf__detail35','<%=md.getWFDataValue("__wf__detail35")%>');
												setValue('__wf__detail41','<%=md.getWFDataValue("__wf__detail41")%>');
												setValue('__wf__detail42','<%=md.getWFDataValue("__wf__detail42")%>');
												setValue('__wf__detail43','<%=md.getWFDataValue("__wf__detail43")%>');
												setValue('__wf__detail44','<%=md.getWFDataValue("__wf__detail44")%>');
												setValue('__wf__detail45','<%=md.getWFDataValue("__wf__detail45")%>');
												setValue('__wf__detail51','<%=md.getWFDataValue("__wf__detail51")%>');
												setValue('__wf__detail52','<%=md.getWFDataValue("__wf__detail52")%>');
												setValue('__wf__detail53','<%=md.getWFDataValue("__wf__detail53")%>');
												setValue('__wf__detail54','<%=md.getWFDataValue("__wf__detail54")%>');
												setValue('__wf__detail55','<%=md.getWFDataValue("__wf__detail55")%>');
												setValue('__wf__detail11desc','<%=md.getWFDataValue("__wf__detail11desc")%>');
												setValue('__wf__detail12desc','<%=md.getWFDataValue("__wf__detail12desc")%>');
												setValue('__wf__detail13desc','<%=md.getWFDataValue("__wf__detail13desc")%>');
												setValue('__wf__detail14desc','<%=md.getWFDataValue("__wf__detail14desc")%>');
												setValue('__wf__detail15desc','<%=md.getWFDataValue("__wf__detail15desc")%>');
												setValue('__wf__detail21desc','<%=md.getWFDataValue("__wf__detail21desc")%>');
												setValue('__wf__detail22desc','<%=md.getWFDataValue("__wf__detail22desc")%>');
												setValue('__wf__detail23desc','<%=md.getWFDataValue("__wf__detail23desc")%>');
												setValue('__wf__detail24desc','<%=md.getWFDataValue("__wf__detail24desc")%>');
												setValue('__wf__detail25desc','<%=md.getWFDataValue("__wf__detail25desc")%>');
												setValue('__wf__detail31desc','<%=md.getWFDataValue("__wf__detail31desc")%>');
												setValue('__wf__detail32desc','<%=md.getWFDataValue("__wf__detail32desc")%>');
												setValue('__wf__detail33desc','<%=md.getWFDataValue("__wf__detail33desc")%>');
												setValue('__wf__detail34desc','<%=md.getWFDataValue("__wf__detail34desc")%>');
												setValue('__wf__detail35desc','<%=md.getWFDataValue("__wf__detail35desc")%>');
												setValue('__wf__detail41desc','<%=md.getWFDataValue("__wf__detail41desc")%>');
												setValue('__wf__detail42desc','<%=md.getWFDataValue("__wf__detail42desc")%>');
												setValue('__wf__detail43desc','<%=md.getWFDataValue("__wf__detail43desc")%>');
												setValue('__wf__detail44desc','<%=md.getWFDataValue("__wf__detail44desc")%>');
												setValue('__wf__detail45desc','<%=md.getWFDataValue("__wf__detail45desc")%>');
												setValue('__wf__detail51desc','<%=md.getWFDataValue("__wf__detail51desc")%>');
												setValue('__wf__detail52desc','<%=md.getWFDataValue("__wf__detail52desc")%>');
												setValue('__wf__detail53desc','<%=md.getWFDataValue("__wf__detail53desc")%>');
												setValue('__wf__detail54desc','<%=md.getWFDataValue("__wf__detail54desc")%>');
												setValue('__wf__detail55desc','<%=md.getWFDataValue("__wf__detail55desc")%>');
												
												setValue('__wf__reqtype11','<%=md.getWFDataValue("__wf__reqtype11")%>');
												setValue('__wf__unit11','<%=md.getWFDataValue("__wf__unit11")%>');
												setValue('__wf__group11','<%=md.getWFDataValue("__wf__group11")%>');
												setValue('__wf__amt11','<%=md.getWFDataValue("__wf__amt11")%>');
												setValue('__wf__reqtype12','<%=md.getWFDataValue("__wf__reqtype12")%>');
												setValue('__wf__unit12','<%=md.getWFDataValue("__wf__unit12")%>');
												setValue('__wf__group12','<%=md.getWFDataValue("__wf__group12")%>');
												setValue('__wf__amt12','<%=md.getWFDataValue("__wf__amt12")%>');
												setValue('__wf__reqtype13','<%=md.getWFDataValue("__wf__reqtype13")%>');
												setValue('__wf__unit13','<%=md.getWFDataValue("__wf__unit13")%>');
												setValue('__wf__group13','<%=md.getWFDataValue("__wf__group13")%>');
												setValue('__wf__amt13','<%=md.getWFDataValue("__wf__amt13")%>');
												setValue('__wf__reqtype14','<%=md.getWFDataValue("__wf__reqtype14")%>');
												setValue('__wf__unit14','<%=md.getWFDataValue("__wf__unit14")%>');
												setValue('__wf__group14','<%=md.getWFDataValue("__wf__group14")%>');
												setValue('__wf__amt14','<%=md.getWFDataValue("__wf__amt14")%>');
												setValue('__wf__reqtype15','<%=md.getWFDataValue("__wf__reqtype15")%>');
												setValue('__wf__unit15','<%=md.getWFDataValue("__wf__unit15")%>');
												setValue('__wf__group15','<%=md.getWFDataValue("__wf__group15")%>');
												setValue('__wf__amt15','<%=md.getWFDataValue("__wf__amt15")%>');
												setValue('__wf__reqtype21','<%=md.getWFDataValue("__wf__reqtype21")%>');
												setValue('__wf__unit21','<%=md.getWFDataValue("__wf__unit21")%>');
												setValue('__wf__group21','<%=md.getWFDataValue("__wf__group21")%>');
												setValue('__wf__amt21','<%=md.getWFDataValue("__wf__amt21")%>');
												setValue('__wf__reqtype22','<%=md.getWFDataValue("__wf__reqtype22")%>');
												setValue('__wf__unit22','<%=md.getWFDataValue("__wf__unit22")%>');
												setValue('__wf__group22','<%=md.getWFDataValue("__wf__group22")%>');
												setValue('__wf__amt22','<%=md.getWFDataValue("__wf__amt22")%>');
												setValue('__wf__reqtype23','<%=md.getWFDataValue("__wf__reqtype23")%>');
												setValue('__wf__unit23','<%=md.getWFDataValue("__wf__unit23")%>');
												setValue('__wf__group23','<%=md.getWFDataValue("__wf__group23")%>');
												setValue('__wf__amt23','<%=md.getWFDataValue("__wf__amt23")%>');
												setValue('__wf__reqtype24','<%=md.getWFDataValue("__wf__reqtype24")%>');
												setValue('__wf__unit24','<%=md.getWFDataValue("__wf__unit24")%>');
												setValue('__wf__group24','<%=md.getWFDataValue("__wf__group24")%>');
												setValue('__wf__amt24','<%=md.getWFDataValue("__wf__amt24")%>');
												setValue('__wf__reqtype25','<%=md.getWFDataValue("__wf__reqtype25")%>');
												setValue('__wf__unit25','<%=md.getWFDataValue("__wf__unit25")%>');
												setValue('__wf__group25','<%=md.getWFDataValue("__wf__group25")%>');
												setValue('__wf__amt25','<%=md.getWFDataValue("__wf__amt25")%>');
												setValue('__wf__reqtype31','<%=md.getWFDataValue("__wf__reqtype31")%>');
												setValue('__wf__unit31','<%=md.getWFDataValue("__wf__unit31")%>');
												setValue('__wf__group31','<%=md.getWFDataValue("__wf__group31")%>');
												setValue('__wf__amt31','<%=md.getWFDataValue("__wf__amt31")%>');
												setValue('__wf__reqtype32','<%=md.getWFDataValue("__wf__reqtype32")%>');
												setValue('__wf__unit32','<%=md.getWFDataValue("__wf__unit32")%>');
												setValue('__wf__group32','<%=md.getWFDataValue("__wf__group3")%>');
												setValue('__wf__amt32','<%=md.getWFDataValue("__wf__amt32")%>');
												setValue('__wf__reqtype33','<%=md.getWFDataValue("__wf__reqtype33")%>');
												setValue('__wf__unit33','<%=md.getWFDataValue("__wf__unit33")%>');
												setValue('__wf__group33','<%=md.getWFDataValue("__wf__group33")%>');
												setValue('__wf__amt33','<%=md.getWFDataValue("__wf__amt33")%>');
												setValue('__wf__reqtype34','<%=md.getWFDataValue("__wf__reqtype34")%>');
												setValue('__wf__unit34','<%=md.getWFDataValue("__wf__unit34")%>');
												setValue('__wf__group34','<%=md.getWFDataValue("__wf__group34")%>');
												setValue('__wf__amt34','<%=md.getWFDataValue("__wf__amt34")%>');
												setValue('__wf__reqtype35','<%=md.getWFDataValue("__wf__reqtype35")%>');
												setValue('__wf__unit35','<%=md.getWFDataValue("__wf__unit35")%>');
												setValue('__wf__group35','<%=md.getWFDataValue("__wf__group35")%>');
												setValue('__wf__amt35','<%=md.getWFDataValue("__wf__amt35")%>');
												setValue('__wf__reqtype41','<%=md.getWFDataValue("__wf__reqtype41")%>');
												setValue('__wf__unit41','<%=md.getWFDataValue("__wf__unit41")%>');
												setValue('__wf__group41','<%=md.getWFDataValue("__wf__group41")%>');
												setValue('__wf__amt41','<%=md.getWFDataValue("__wf__amt41")%>');
												setValue('__wf__reqtype42','<%=md.getWFDataValue("__wf__reqtype42")%>');
												setValue('__wf__unit42','<%=md.getWFDataValue("__wf__unit42")%>');
												setValue('__wf__group42','<%=md.getWFDataValue("__wf__group42")%>');
												setValue('__wf__amt42','<%=md.getWFDataValue("__wf__amt42")%>');
												setValue('__wf__reqtype43','<%=md.getWFDataValue("__wf__reqtype43")%>');
												setValue('__wf__unit43','<%=md.getWFDataValue("__wf__unit43")%>');
												setValue('__wf__group43','<%=md.getWFDataValue("__wf__group43")%>');
												setValue('__wf__amt43','<%=md.getWFDataValue("__wf__amt43")%>');
												setValue('__wf__reqtype44','<%=md.getWFDataValue("__wf__reqtype44")%>');
												setValue('__wf__unit44','<%=md.getWFDataValue("__wf__unit44")%>');
												setValue('__wf__group44','<%=md.getWFDataValue("__wf__group44")%>');
												setValue('__wf__amt44','<%=md.getWFDataValue("__wf__amt44")%>');
												setValue('__wf__reqtype45','<%=md.getWFDataValue("__wf__reqtype45")%>');
												setValue('__wf__unit45','<%=md.getWFDataValue("__wf__unit45")%>');
												setValue('__wf__group45','<%=md.getWFDataValue("__wf__group45")%>');
												setValue('__wf__amt45','<%=md.getWFDataValue("__wf__amt45")%>');
												setValue('__wf__reqtype51','<%=md.getWFDataValue("__wf__reqtype51")%>');
												setValue('__wf__unit51','<%=md.getWFDataValue("__wf__unit51")%>');
												setValue('__wf__group51','<%=md.getWFDataValue("__wf__group51")%>');
												setValue('__wf__amt51','<%=md.getWFDataValue("__wf__amt51")%>');
												setValue('__wf__reqtype52','<%=md.getWFDataValue("__wf__reqtype52")%>');
												setValue('__wf__unit52','<%=md.getWFDataValue("__wf__unit52")%>');
												setValue('__wf__group52','<%=md.getWFDataValue("__wf__group52")%>');
												setValue('__wf__amt52','<%=md.getWFDataValue("__wf__amt52")%>');
												setValue('__wf__reqtype53','<%=md.getWFDataValue("__wf__reqtype53")%>');
												setValue('__wf__unit53','<%=md.getWFDataValue("__wf__unit53")%>');
												setValue('__wf__group53','<%=md.getWFDataValue("__wf__group53")%>');
												setValue('__wf__amt53','<%=md.getWFDataValue("__wf__amt53")%>');
												setValue('__wf__reqtype54','<%=md.getWFDataValue("__wf__reqtype54")%>');
												setValue('__wf__unit54','<%=md.getWFDataValue("__wf__unit54")%>');
												setValue('__wf__group54','<%=md.getWFDataValue("__wf__group54")%>');
												setValue('__wf__amt54','<%=md.getWFDataValue("__wf__amt54")%>');
												setValue('__wf__reqtype55','<%=md.getWFDataValue("__wf__reqtype55")%>');
												setValue('__wf__unit55','<%=md.getWFDataValue("__wf__unit55")%>');
												setValue('__wf__group55','<%=md.getWFDataValue("__wf__group55")%>');
												setValue('__wf__amt55','<%=md.getWFDataValue("__wf__amt55")%>');	
												setValue('__wf__unitdesc11','<%=md.getWFDataValue("__wf__unitdesc11")%>');
												setValue('__wf__unitdesc21','<%=md.getWFDataValue("__wf__unitdesc21")%>');
												setValue('__wf__unitdesc31','<%=md.getWFDataValue("__wf__unitdesc31")%>');
												setValue('__wf__unitdesc41','<%=md.getWFDataValue("__wf__unitdesc41")%>');
												setValue('__wf__unitdesc51','<%=md.getWFDataValue("__wf__unitdesc51")%>');
												
												setValue('__wf__unitdesc12','<%=md.getWFDataValue("__wf__unitdesc12")%>');
												setValue('__wf__unitdesc22','<%=md.getWFDataValue("__wf__unitdesc22")%>');
												setValue('__wf__unitdesc32','<%=md.getWFDataValue("__wf__unitdesc32")%>');
												setValue('__wf__unitdesc42','<%=md.getWFDataValue("__wf__unitdesc42")%>');
												setValue('__wf__unitdesc52','<%=md.getWFDataValue("__wf__unitdesc52")%>');
												
												setValue('__wf__unitdesc13','<%=md.getWFDataValue("__wf__unitdesc13")%>');
												setValue('__wf__unitdesc23','<%=md.getWFDataValue("__wf__unitdesc23")%>');
												setValue('__wf__unitdesc33','<%=md.getWFDataValue("__wf__unitdesc33")%>');
												setValue('__wf__unitdesc43','<%=md.getWFDataValue("__wf__unitdesc43")%>');
												setValue('__wf__unitdesc53','<%=md.getWFDataValue("__wf__unitdesc53")%>');
												
												setValue('__wf__unitdesc14','<%=md.getWFDataValue("__wf__unitdesc14")%>');
												setValue('__wf__unitdesc24','<%=md.getWFDataValue("__wf__unitdesc24")%>');
												setValue('__wf__unitdesc34','<%=md.getWFDataValue("__wf__unitdesc34")%>');
												setValue('__wf__unitdesc44','<%=md.getWFDataValue("__wf__unitdesc44")%>');
												setValue('__wf__unitdesc54','<%=md.getWFDataValue("__wf__unitdesc54")%>');
												
												setValue('__wf__unitdesc15','<%=md.getWFDataValue("__wf__unitdesc15")%>');
												setValue('__wf__unitdesc25','<%=md.getWFDataValue("__wf__unitdesc25")%>');
												setValue('__wf__unitdesc35','<%=md.getWFDataValue("__wf__unitdesc35")%>');
												setValue('__wf__unitdesc45','<%=md.getWFDataValue("__wf__unitdesc45")%>');
												setValue('__wf__unitdesc55','<%=md.getWFDataValue("__wf__unitdesc55")%>');
												
												setValue('__wf__reqtype11','<%=md.getWFDataValue("__wf__reqtype11")%>');
												setValue('__wf__reqtype21','<%=md.getWFDataValue("__wf__reqtype21")%>');
												setValue('__wf__reqtype31','<%=md.getWFDataValue("__wf__reqtype31")%>');
												setValue('__wf__reqtype41','<%=md.getWFDataValue("__wf__reqtype41")%>');
												setValue('__wf__reqtype51','<%=md.getWFDataValue("__wf__reqtype51")%>');
												
												setValue('__wf__reqtype12','<%=md.getWFDataValue("__wf__reqtype12")%>');
												setValue('__wf__reqtype22','<%=md.getWFDataValue("__wf__reqtype22")%>');
												setValue('__wf__reqtype32','<%=md.getWFDataValue("__wf__reqtype32")%>');
												setValue('__wf__reqtype42','<%=md.getWFDataValue("__wf__reqtype42")%>');
												setValue('__wf__reqtype52','<%=md.getWFDataValue("__wf__reqtype52")%>');
												
												setValue('__wf__reqtype13','<%=md.getWFDataValue("__wf__reqtype13")%>');
												setValue('__wf__reqtype23','<%=md.getWFDataValue("__wf__reqtype23")%>');
												setValue('__wf__reqtype33','<%=md.getWFDataValue("__wf__reqtype33")%>');
												setValue('__wf__reqtype43','<%=md.getWFDataValue("__wf__reqtype43")%>');
												setValue('__wf__reqtype53','<%=md.getWFDataValue("__wf__reqtype53")%>');
												
												setValue('__wf__reqtype14','<%=md.getWFDataValue("__wf__reqtype14")%>');
												setValue('__wf__reqtype24','<%=md.getWFDataValue("__wf__reqtype24")%>');
												setValue('__wf__reqtype34','<%=md.getWFDataValue("__wf__reqtype34")%>');
												setValue('__wf__reqtype44','<%=md.getWFDataValue("__wf__reqtype44")%>');
												setValue('__wf__reqtype54','<%=md.getWFDataValue("__wf__reqtype54")%>');
												
												setValue('__wf__reqtype15','<%=md.getWFDataValue("__wf__reqtype15")%>');
												setValue('__wf__reqtype25','<%=md.getWFDataValue("__wf__reqtype25")%>');
												setValue('__wf__reqtype35','<%=md.getWFDataValue("__wf__reqtype35")%>');
												setValue('__wf__reqtype45','<%=md.getWFDataValue("__wf__reqtype45")%>');
												setValue('__wf__reqtype55','<%=md.getWFDataValue("__wf__reqtype55")%>');													
								}						
												
					showcol(<%= md.getWFDataValue("__wf__addval") %>);
					var adval = parseInt('<%= md.getWFDataValue("__wf__addval") %>');
					if(adval !=""){					
							if(adval>=1)
								showtcol('1','<%= md.getWFDataValue("__wf__at1") %>');
							if(adval>=2)
								showtcol('2','<%= md.getWFDataValue("__wf__at2") %>');
							if(adval>=3)
								showtcol('3','<%= md.getWFDataValue("__wf__at3") %>');
							if(adval>=4)
								showtcol('4','<%= md.getWFDataValue("__wf__at4") %>');
							if(adval>=5)
								showtcol('5','<%= md.getWFDataValue("__wf__at5") %>');
					}
						
						setTimeout("setGrandtotal();",500);
					</SCRIPT>
<%
								}
}
%>