ÿþ<!DOCTYPE html> <html> <head> <style> table { border:1px solid black; border-collapse: collapse; width: 100%; } td, th { border: 1px solid black; text-align:left; padding: 8px; } #headtable{ text-align:center;background:black;color:white; } #ups{text-align:center; } #ps{text-align:center; } #qtyps{text-align:center; } #qtyups{text-align:center; } input[type="number"]{width:50px;} tr:nth { background-color: #dddddd; } </style></head> <body> <form> <table> <tr><td colspan="10" id="headtable">. ? ! ! G . @ 2 / K  ( >  > . > 8 ?  * / K  ? $ > * M 0 . > # * $ M 0 </td></tr> <tr><td colspan="5">  M 7 > 1 8 G 5 $ % > 6 8 G 8  > * K 7 > 9 > 0 . > ( & G /  > , ? 2 . > 9 </td><td colspan="2"><input type="name"></td><td colspan="3">MDM CODE : -<input type="name"></td></tr> <tr><td colspan="5">5 ? & M / > 2 /  > ( > . : -<input type="name"></td><td colspan="3">  M 0 > . *   > / $ : -<input type="name"></td><td colspan="2"> , M 2 I  : -<input type="name"></td></tr> <tr><td colspan="4"> , H    > ( > . * $ > : -<input type="name"></td><td colspan="3"> > $ > 8   M / > : -<input type="name"> </td><td colspan="3">   +  8 8 @  K ! : -<input type="name"></td></tr> <tr><td colspan="3"> 8 . > 9  > 5 ? & M / > 2 / ( > . >   ( </td><td colspan="3">  M 7 > 1 8 G 5 : - <input type="number"></td><td colspan="4">  M 7 > 6 8 G 8 : - <input type="number"></td></tr> <tr><td colspan="6">8  8 M % > * M 0 ' > ( * K 7 > 9 > 0 * M 0 - > 0 @ . K , >  2 : -<input type="name"></td><td colspan="4">5 M 9 >  M 8  * (  , 0 : -<input type="name"></td></tr> <tr><td rowspan="3"> M 0 8  </td><td rowspan="3"> & ? ( >   </td><td rowspan="3" width=80>* K 7 > 9 > 0 8 G 2 > - > ( M 5 ? $  > $ M 0 8   M / > </td><td colspan="3" id="ps">  M 7 > 1 8 G 5  M 0 > . * M 0 $ ?  > $ M 0 </td><td rowspan="3" width=80>* K 7 > 9 > 0 8 G 2 > - > ( M 5 ? $  > $ M 0 8   M / > </td><td colspan="3" id="ups">  M 7 > 6 8 G 8  M 0 > . * M 0 $ ?  > $ M 0 </td></tr> <tr><td colspan="2" id="qtyps">100  M 0 > . </td><td>15  M 0 > . </td><td colspan="2" id="qtyups">150  M 0 > . </td><td>20  M 0 > . </td></tr> <tr><td> G 9 B   @  * $ </td><td> > 5 2  @  * $ </td><td> & A  M ' * > ! 0 </td><td> G 9 B   @  * $ </td><td> > 5 2  @  * $ </td><td> & A  M ' * > ! 0 </td></tr> <tr><td>01</td><td><input type="date"></td><td><input type="number" id="psd1" placeholder="PS D1"></td><td id="psw1"></td><td id="psr1"></td><td id="psm1"><td><input type="number" id="upsd1"></td><td id="upsw1"></td><td id="upsr1"></td><td id="upsm1"></tr> <tr><td>02</td><td><input type="date"></td><td><input type="number" id="psd2" placeholder="PS D2"></td><td id="psw2"></td><td id="psr2"></td><td id="psm2"><td><input type="number" id="upsd2"></td><td id="upsw2"></td><td id="upsr2"></td><td id="upsm2"></tr> <tr><td>03</td><td><input type="date"></td><td><input type="number" id="psd3" placeholder="PS D3"></td><td id="psw3"></td><td id="psr3"></td><td id="psm3"><td><input type="number" id="upsd3"></td><td id="upsw3"></td><td id="upsr3"></td><td id="upsm3"></tr> <tr><td>04</td><td><input type="date"></td><td><input type="number" id="psd4" placeholder="PS D4"></td><td id="psw4"></td><td id="psr4"></td><td id="psm4"><td><input type="number" id="upsd4"></td><td id="upsw4"></td><td id="upsr4"></td><td id="upsm4"></tr> <tr><td>05</td><td><input type="date"></td><td><input type="number" id="psd5" placeholder="PS D5"></td><td id="psw5"></td><td id="psr5"></td><td id="psm5"><td><input type="number" id="upsd5"></td><td id="upsw5"></td><td id="upsr5"></td><td id="upsm5"></tr> <tr><td>06</td><td><input type="date"></td><td><input type="number" id="psd6" placeholder="PS D6"></td><td id="psw6"></td><td id="psr6"></td><td id="psm6"><td><input type="number" id="upsd6"></td><td id="upsw6"></td><td id="upsr6"></td><td id="upsm6"></tr> <tr><td>07</td><td><input type="date"></td><td><input type="number" id="psd7" placeholder="PS D7"></td><td id="psw7"></td><td id="psr7"></td><td id="psm7"><td><input type="number" id="upsd7"></td><td id="upsw7"></td><td id="upsr7"></td><td id="upsm7"></tr> <tr><td>08</td><td><input type="date"></td><td><input type="number" id="psd8" placeholder="PS D8"></td><td id="psw8"></td><td id="psr8"></td><td id="psm8"><td><input type="number" id="upsd8"></td><td id="upsw8"></td><td id="upsr8"></td><td id="upsm8"></tr> <tr><td>09</td><td><input type="date"></td><td><input type="number" id="psd9" placeholder="PS D9"></td><td id="psw9"></td><td id="psr9"></td><td id="psm9"><td><input type="number" id="upsd9"></td><td id="upsw9"></td><td id="upsr9"></td><td id="upsm9"></tr> <tr><td>10</td><td><input type="date"></td><td><input type="number" id="psd10" placeholder="PS D10"></td><td id="psw10"></td><td id="psr10"></td><td id="psm10"><td><input type="number" id="upsd10"></td><td id="upsw10"></td><td id="upsr10"></td><td id="upsm10"></tr> <tr><td>11</td><td><input type="date"></td><td><input type="number" id="psd11" placeholder="PS D11"></td><td id="psw11"></td><td id="psr11"></td><td id="psm11"><td><input type="number" id="upsd11"></td><td id="upsw11"></td><td id="upsr11"></td><td id="upsm11"></tr> <tr><td>12</td><td><input type="date"></td><td><input type="number" id="psd12" placeholder="PS D12"></td><td id="psw12"></td><td id="psr12"></td><td id="psm12"><td><input type="number" id="upsd12"></td><td id="upsw12"></td><td id="upsr12"></td><td id="upsm12"></tr> <tr><td>13</td><td><input type="date"></td><td><input type="number" id="psd13" placeholder="PS D13"></td><td id="psw13"></td><td id="psr13"></td><td id="psm13"><td><input type="number" id="upsd13"></td><td id="upsw13"></td><td id="upsr13"></td><td id="upsm13"></tr> <tr><td>14</td><td><input type="date"></td><td><input type="number" id="psd14" placeholder="PS D14"></td><td id="psw14"></td><td id="psr14"></td><td id="psm14"><td><input type="number" id="upsd14"></td><td id="upsw14"></td><td id="upsr14"></td><td id="upsm14"></tr> <tr><td>15</td><td><input type="date"></td><td><input type="number" id="psd15" placeholder="PS D15"></td><td id="psw15"></td><td id="psr15"></td><td id="psm15"><td><input type="number" id="upsd15"></td><td id="upsw15"></td><td id="upsr15"></td><td id="upsm15"></tr> <tr><td>16</td><td><input type="date"></td><td><input type="number" id="psd16" placeholder="PS D16"></td><td id="psw16"></td><td id="psr16"></td><td id="psm16"><td><input type="number" id="upsd16"></td><td id="upsw16"></td><td id="upsr16"></td><td id="upsm16"></tr> <tr><td>17</td><td><input type="date"></td><td><input type="number" id="psd17" placeholder="PS D17"></td><td id="psw17"></td><td id="psr17"></td><td id="psm17"><td><input type="number" id="upsd17"></td><td id="upsw17"></td><td id="upsr17"></td><td id="upsm17"></tr> <tr><td>18</td><td><input type="date"></td><td><input type="number" id="psd18" placeholder="PS D18"></td><td id="psw18"></td><td id="psr18"></td><td id="psm18"><td><input type="number" id="upsd18"></td><td id="upsw18"></td><td id="upsr18"></td><td id="upsm18"></tr> <tr><td>19</td><td><input type="date"></td><td><input type="number" id="psd19" placeholder="PS D19"></td><td id="psw19"></td><td id="psr19"></td><td id="psm19"><td><input type="number" id="upsd19"></td><td id="upsw19"></td><td id="upsr19"></td><td id="upsm19"></tr> <tr><td>20</td><td><input type="date"></td><td><input type="number" id="psd20" placeholder="PS D20"></td><td id="psw20"></td><td id="psr20"></td><td id="psm20"><td><input type="number" id="upsd20"></td><td id="upsw20"></td><td id="upsr20"></td><td id="upsm20"></tr> <tr><td>21</td><td><input type="date"></td><td><input type="number" id="psd21" placeholder="PS D21"></td><td id="psw21"></td><td id="psr21"></td><td id="psm21"><td><input type="number" id="upsd21"></td><td id="upsw21"></td><td id="upsr21"></td><td id="upsm21"></tr> <tr><td>22</td><td><input type="date"></td><td><input type="number" id="psd22" placeholder="PS D22"></td><td id="psw22"></td><td id="psr22"></td><td id="psm22"><td><input type="number" id="upsd22"></td><td id="upsw22"></td><td id="upsr22"></td><td id="upsm22"></tr> <tr><td>23</td><td><input type="date"></td><td><input type="number" id="psd23" placeholder="PS D23"></td><td id="psw23"></td><td id="psr23"></td><td id="psm23"><td><input type="number" id="upsd23"></td><td id="upsw23"></td><td id="upsr23"></td><td id="upsm23"></tr> <tr><td>24</td><td><input type="date"></td><td><input type="number" id="psd24" placeholder="PS D24"></td><td id="psw24"></td><td id="psr24"></td><td id="psm24"><td><input type="number" id="upsd24"></td><td id="upsw24"></td><td id="upsr24"></td><td id="upsm24"></tr> <tr><td>25</td><td><input type="date"></td><td><input type="number" id="psd25" placeholder="PS D25"></td><td id="psw25"></td><td id="psr25"></td><td id="psm25"><td><input type="number" id="upsd25"></td><td id="upsw25"></td><td id="upsr25"></td><td id="upsm25"></tr> <tr><td>26</td><td><input type="date"></td><td><input type="number" id="psd26" placeholder="PS D26"></td><td id="psw26"></td><td id="psr26"></td><td id="psm26"><td><input type="number" id="upsd26"></td><td id="upsw26"></td><td id="upsr26"></td><td id="upsm26"></tr> <tr><td>27</td><td><input type="date"></td><td><input type="number" id="psd27" placeholder="PS D27"></td><td id="psw27"></td><td id="psr27"></td><td id="psm27"><td><input type="number" id="upsd27"></td><td id="upsw27"></td><td id="upsr27"></td><td id="upsm27"></tr> <tr><td>28</td><td><input type="date"></td><td><input type="number" id="psd28" placeholder="PS D28"></td><td id="psw28"></td><td id="psr28"></td><td id="psm28"><td><input type="number" id="upsd28"></td><td id="upsw28"></td><td id="upsr28"></td><td id="upsm28"></tr> <tr><td>29</td><td><input type="date"></td><td><input type="number" id="psd29" placeholder="PS D29"></td><td id="psw29"></td><td id="psr29"></td><td id="psm29"><td><input type="number" id="upsd29"></td><td id="upsw29"></td><td id="upsr29"></td><td id="upsm29"></tr> <tr><td>30</td><td><input type="date"></td><td><input type="number" id="psd30" placeholder="PS D30"></td><td id="psw30"></td><td id="psr30"></td><td id="psm30"><td><input type="number" id="upsd30"></td><td id="upsw30"></td><td id="upsr30"></td><td id="upsm30"></tr> <tr><td>31</td><td><input type="date"></td><td><input type="number" id="psd31" placeholder="PS D31"></td><td id="psw31"></td><td id="psr31"></td><td id="psm31"><td><input type="number" id="upsd31"></td><td id="upsw31"></td><td id="upsr31"></td><td id="upsm31"></tr> <tr><td colspan="2">8 0 M 5 / K  : - </td><td id="pst"></td><td id="pswt"></td><td id="psrt"></td><td id="psmt"></td><td id="upst"></td><td id="upswt"></td><td id="upsrt"></td><td id="upsmt"></td></tr> <tr><td colspan="2">& ? ( K   @ 8   M / > : - </td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table> <tr> <td><input type="button" value="Calculate" id="calc"></td> <td><input type="button" value="Reset" id="rset"></td> </tr> </table> </form> <script> document.getElementById("rset").addEventListener("click", function(event){ event.preventDefault(); var psd1 = 0; var upsd1 = 0; var psd2 = 0; var upsd2 = 0; var psd3 = 0; var upsd3 = 0; var psd4 = 0; var upsd4 = 0; var psd5 = 0; var upsd5 = 0; var psd6 = 0; var upsd6 = 0; var psd7 = 0; var upsd7 = 0; var psd8 = 0; var upsd8 = 0; var psd9 = 0; var upsd9 = 0; var psd10 = 0; var upsd10 = 0; var psd11 = 0; var upsd11 = 0; var psd12 = 0; var upsd12 = 0; var psd13 = 0; var upsd13 = 0; var psd14 = 0; var upsd14 = 0; var psd15 = 0; var upsd15 = 0; var psd16 = 0; var upsd16 = 0; var psd17 = 0; var upsd17 = 0; var psd18 = 0; var upsd18 = 0; var psd19 = 0; var upsd19 = 0; var psd20 = 0; var upsd20 = 0; var psd21 = 0; var upsd21 = 0; var psd22 = 0; var upsd22 = 0; var psd23 = 0; var upsd23 = 0; var psd24 = 0; var upsd24 = 0; var psd25 = 0; var upsd25 = 0; var psd26 = 0; var upsd26 = 0; var psd27 = 0; var upsd27 = 0; var psd28 = 0; var upsd28 = 0; var psd29 = 0; var upsd29 = 0; var psd30 = 0; var upsd30 = 0; var psd31 = 0; var upsd31 = 0; document.getElementById('psd1').value = ''; document.getElementById('upsd1').value = ''; document.getElementById('psd2').value = ''; document.getElementById('upsd2').value = ''; document.getElementById('psd3').value = ''; document.getElementById('upsd3').value = ''; document.getElementById('psd4').value = ''; document.getElementById('upsd4').value = ''; document.getElementById('psd5').value = ''; document.getElementById('upsd5').value = ''; document.getElementById('psd6').value = ''; document.getElementById('upsd6').value = ''; document.getElementById('psd7').value = ''; document.getElementById('upsd7').value = ''; document.getElementById('psd8').value = ''; document.getElementById('upsd8').value = ''; document.getElementById('psd9').value = ''; document.getElementById('upsd9').value = ''; document.getElementById('psd10').value = ''; document.getElementById('upsd10').value = ''; document.getElementById('psd11').value = ''; document.getElementById('upsd11').value = ''; document.getElementById('psd12').value = ''; document.getElementById('upsd12').value = ''; document.getElementById('psd13').value = ''; document.getElementById('upsd13').value = ''; document.getElementById('psd14').value = ''; document.getElementById('upsd14').value = ''; document.getElementById('psd15').value = ''; document.getElementById('upsd15').value = ''; document.getElementById('psd16').value = ''; document.getElementById('upsd16').value = ''; document.getElementById('psd17').value = ''; document.getElementById('upsd17').value = ''; document.getElementById('psd18').value = ''; document.getElementById('upsd18').value = ''; document.getElementById('psd19').value = ''; document.getElementById('upsd19').value = ''; document.getElementById('psd20').value = ''; document.getElementById('upsd20').value = ''; document.getElementById('psd21').value = ''; document.getElementById('upsd21').value = ''; document.getElementById('psd22').value = ''; document.getElementById('upsd22').value = ''; document.getElementById('psd23').value = ''; document.getElementById('upsd23').value = ''; document.getElementById('psd24').value = ''; document.getElementById('upsd24').value = ''; document.getElementById('psd25').value = ''; document.getElementById('upsd25').value = ''; document.getElementById('psd26').value = ''; document.getElementById('upsd26').value = ''; document.getElementById('psd27').value = ''; document.getElementById('upsd27').value = ''; document.getElementById('psd28').value = ''; document.getElementById('upsd28').value = ''; document.getElementById('psd29').value = ''; document.getElementById('upsd29').value = ''; document.getElementById('psd30').value = ''; document.getElementById('upsd30').value = ''; document.getElementById('psd31').value = ''; document.getElementById('upsd31').value = ''; psw1 = psd1*0.1; psr1 = psd1*0.1; psm1 = psd1*0.015; upsw1 = upsd1*0.15; upsr1 = upsd1*0.15; upsm1 = upsd1*0.02; psw2 = psd2*0.1; psr2 = psd2*0.1; psm2 = psd2*0.015; upsw2 = upsd2*0.15; upsr2 = upsd2*0.15; upsm2 = upsd2*0.02; psw3 = psd3*0.1; psr3 = psd3*0.1; psm3 = psd3*0.015; upsw3 = upsd3*0.15; upsr3 = upsd3*0.15; upsm3 = upsd3*0.02; psw4 = psd4*0.1; psr4 = psd4*0.1; psm4 = psd4*0.015; upsw4 = upsd4*0.15; upsr4 = upsd4*0.15; upsm4 = upsd4*0.02; psw5 = psd5*0.1; psr5 = psd5*0.1; psm5 = psd5*0.015; upsw5 = upsd5*0.15; upsr5 = upsd5*0.15; upsm5 = upsd5*0.02; psw6 = psd6*0.1; psr6 = psd6*0.1; psm6 = psd6*0.015; upsw6 = upsd6*0.15; upsr6 = upsd6*0.15; upsm6 = upsd6*0.02; psw7 = psd7*0.1; psr7 = psd7*0.1; psm7 = psd7*0.015; upsw7 = upsd7*0.15; upsr7 = upsd7*0.15; upsm7 = upsd7*0.02; psw8 = psd8*0.1; psr8 = psd8*0.1; psm8 = psd8*0.015; upsw8 = upsd8*0.15; upsr8 = upsd8*0.15; upsm8 = upsd8*0.02; psw9 = psd9*0.1; psr9 = psd9*0.1; psm9 = psd9*0.015; upsw9 = upsd9*0.15; upsr9 = upsd9*0.15; upsm9 = upsd9*0.02; psw10 = psd10*0.1; psr10 = psd10*0.1; psm10 = psd10*0.015; upsw10 = upsd10*0.15; upsr10 = upsd10*0.15; upsm10 = upsd10*0.02; psw11 = psd11*0.1; psr11 = psd11*0.1; psm11 = psd11*0.015; upsw11 = upsd11*0.15; upsr11 = upsd11*0.15; upsm11 = upsd11*0.02; psw12 = psd12*0.1; psr12 = psd12*0.1; psm12 = psd12*0.015; upsw12 = upsd12*0.15; upsr12 = upsd12*0.15; upsm12 = upsd12*0.02; psw13 = psd13*0.1; psr13 = psd13*0.1; psm13 = psd13*0.015; upsw13 = upsd13*0.15; upsr13 = upsd13*0.15; upsm13 = upsd13*0.02; psw14 = psd14*0.1; psr14 = psd14*0.1; psm14 = psd14*0.015; upsw14 = upsd14*0.15; upsr14 = upsd14*0.15; upsm14 = upsd14*0.02; psw15 = psd15*0.1; psr15 = psd15*0.1; psm15 = psd15*0.015; upsw15 = upsd15*0.15; upsr15 = upsd15*0.15; upsm15 = upsd15*0.02; psw16 = psd16*0.1; psr16 = psd16*0.1; psm16 = psd16*0.015; upsw16 = upsd16*0.15; upsr16 = upsd16*0.15; upsm16 = upsd16*0.02; psw17 = psd17*0.1; psr17 = psd17*0.1; psm17 = psd17*0.015; upsw17 = upsd17*0.15; upsr17 = upsd17*0.15; upsm17 = upsd17*0.02; psw18 = psd18*0.1; psr18 = psd18*0.1; psm18 = psd18*0.015; upsw18 = upsd18*0.15; upsr18 = upsd18*0.15; upsm18 = upsd18*0.02; psw19 = psd19*0.1; psr19 = psd19*0.1; psm19 = psd19*0.015; upsw19 = upsd19*0.15; upsr19 = upsd19*0.15; upsm19 = upsd19*0.02; psw20 = psd20*0.1; psr20 = psd20*0.1; psm20 = psd20*0.015; upsw20 = upsd20*0.15; upsr20 = upsd20*0.15; upsm20 = upsd20*0.02; psw21 = psd21*0.1; psr21 = psd21*0.1; psm21 = psd21*0.015; upsw21 = upsd21*0.15; upsr21 = upsd21*0.15; upsm21 = upsd21*0.02; psw22 = psd22*0.1; psr22 = psd22*0.1; psm22 = psd22*0.015; upsw22 = upsd22*0.15; upsr22 = upsd22*0.15; upsm22 = upsd22*0.02; psw23 = psd23*0.1; psr23 = psd23*0.1; psm23 = psd23*0.015; upsw23 = upsd23*0.15; upsr23 = upsd23*0.15; upsm23 = upsd23*0.02; psw24 = psd24*0.1; psr24 = psd24*0.1; psm24 = psd24*0.015; upsw24 = upsd24*0.15; upsr24 = upsd24*0.15; upsm24 = upsd24*0.02; psw25 = psd25*0.1; psr25 = psd25*0.1; psm25 = psd25*0.015; upsw25 = upsd25*0.15; upsr25 = upsd25*0.15; upsm25 = upsd25*0.02; psw26 = psd26*0.1; psr26 = psd26*0.1; psm26 = psd26*0.015; upsw26 = upsd26*0.15; upsr26 = upsd26*0.15; upsm26 = upsd26*0.02; psw27 = psd27*0.1; psr27 = psd27*0.1; psm27 = psd27*0.015; upsw27 = upsd27*0.15; upsr27 = upsd27*0.15; upsm27 = upsd27*0.02; psw28 = psd28*0.1; psr28 = psd28*0.1; psm28 = psd28*0.015; upsw28 = upsd28*0.15; upsr28 = upsd28*0.15; upsm28 = upsd28*0.02; psw29 = psd29*0.1; psr29 = psd29*0.1; psm29 = psd29*0.015; upsw29 = upsd29*0.15; upsr29 = upsd29*0.15; upsm29 = upsd29*0.02; psw30 = psd30*0.1; psr30 = psd30*0.1; psm30 = psd30*0.015; upsw30 = upsd30*0.15; upsr30 = upsd30*0.15; upsm30 = upsd30*0.02; psw31 = psd31*0.1; psr31 = psd31*0.1; psm31 = psd31*0.015; upsw31 = upsd31*0.15; upsr31 = upsd31*0.15; upsm31 = upsd31*0.02; document.getElementById('psw1').innerHTML = parseFloat(psw1.toFixed(3))+" KG"; document.getElementById('psr1').innerHTML = parseFloat(psr1.toFixed(3))+" KG"; document.getElementById('psm1').innerHTML = parseFloat(psm1.toFixed(3))+" KG"; document.getElementById('upsw1').innerHTML = parseFloat(upsw1.toFixed(3))+" KG"; document.getElementById('upsr1').innerHTML = parseFloat(upsr1.toFixed(3))+" KG"; document.getElementById('upsm1').innerHTML = parseFloat(upsm1.toFixed(3))+" KG"; document.getElementById('psw2').innerHTML = parseFloat(psw2.toFixed(3))+" KG"; document.getElementById('psr2').innerHTML = parseFloat(psr2.toFixed(3))+" KG"; document.getElementById('psm2').innerHTML = parseFloat(psm2.toFixed(3))+" KG"; document.getElementById('upsw2').innerHTML = parseFloat(upsw2.toFixed(3))+" KG"; document.getElementById('upsr2').innerHTML = parseFloat(upsr2.toFixed(3))+" KG"; document.getElementById('upsm2').innerHTML = parseFloat(upsm2.toFixed(3))+" KG"; document.getElementById('psw3').innerHTML = parseFloat(psw3.toFixed(3))+" KG"; document.getElementById('psr3').innerHTML = parseFloat(psr3.toFixed(3))+" KG"; document.getElementById('psm3').innerHTML = parseFloat(psm3.toFixed(3))+" KG"; document.getElementById('upsw3').innerHTML = parseFloat(upsw3.toFixed(3))+" KG"; document.getElementById('upsr3').innerHTML = parseFloat(upsr3.toFixed(3))+" KG"; document.getElementById('upsm3').innerHTML = parseFloat(upsm3.toFixed(3))+" KG"; document.getElementById('psw4').innerHTML = parseFloat(psw4.toFixed(3))+" KG"; document.getElementById('psr4').innerHTML = parseFloat(psr4.toFixed(3))+" KG"; document.getElementById('psm4').innerHTML = parseFloat(psm4.toFixed(3))+" KG"; document.getElementById('upsw4').innerHTML = parseFloat(upsw4.toFixed(3))+" KG"; document.getElementById('upsr4').innerHTML = parseFloat(upsr4.toFixed(3))+" KG"; document.getElementById('upsm4').innerHTML = parseFloat(upsm4.toFixed(3))+" KG"; document.getElementById('psw5').innerHTML = parseFloat(psw5.toFixed(3))+" KG"; document.getElementById('psr5').innerHTML = parseFloat(psr5.toFixed(3))+" KG"; document.getElementById('psm5').innerHTML = parseFloat(psm5.toFixed(3))+" KG"; document.getElementById('upsw5').innerHTML = parseFloat(upsw5.toFixed(3))+" KG"; document.getElementById('upsr5').innerHTML = parseFloat(upsr5.toFixed(3))+" KG"; document.getElementById('upsm5').innerHTML = parseFloat(upsm5.toFixed(3))+" KG"; document.getElementById('psw6').innerHTML = parseFloat(psw6.toFixed(3))+" KG"; document.getElementById('psr6').innerHTML = parseFloat(psr6.toFixed(3))+" KG"; document.getElementById('psm6').innerHTML = parseFloat(psm6.toFixed(3))+" KG"; document.getElementById('upsw6').innerHTML = parseFloat(upsw6.toFixed(3))+" KG"; document.getElementById('upsr6').innerHTML = parseFloat(upsr6.toFixed(3))+" KG"; document.getElementById('upsm6').innerHTML = parseFloat(upsm6.toFixed(3))+" KG"; document.getElementById('psw7').innerHTML = parseFloat(psw7.toFixed(3))+" KG"; document.getElementById('psr7').innerHTML = parseFloat(psr7.toFixed(3))+" KG"; document.getElementById('psm7').innerHTML = parseFloat(psm7.toFixed(3))+" KG"; document.getElementById('upsw7').innerHTML = parseFloat(upsw7.toFixed(3))+" KG"; document.getElementById('upsr7').innerHTML = parseFloat(upsr7.toFixed(3))+" KG"; document.getElementById('upsm7').innerHTML = parseFloat(upsm7.toFixed(3))+" KG"; document.getElementById('psw8').innerHTML = parseFloat(psw8.toFixed(3))+" KG"; document.getElementById('psr8').innerHTML = parseFloat(psr8.toFixed(3))+" KG"; document.getElementById('psm8').innerHTML = parseFloat(psm8.toFixed(3))+" KG"; document.getElementById('upsw8').innerHTML = parseFloat(upsw8.toFixed(3))+" KG"; document.getElementById('upsr8').innerHTML = parseFloat(upsr8.toFixed(3))+" KG"; document.getElementById('upsm8').innerHTML = parseFloat(upsm8.toFixed(3))+" KG"; document.getElementById('psw9').innerHTML = parseFloat(psw9.toFixed(3))+" KG"; document.getElementById('psr9').innerHTML = parseFloat(psr9.toFixed(3))+" KG"; document.getElementById('psm9').innerHTML = parseFloat(psm9.toFixed(3))+" KG"; document.getElementById('upsw9').innerHTML = parseFloat(upsw9.toFixed(3))+" KG"; document.getElementById('upsr9').innerHTML = parseFloat(upsr9.toFixed(3))+" KG"; document.getElementById('upsm9').innerHTML = parseFloat(upsm9.toFixed(3))+" KG"; document.getElementById('psw10').innerHTML = parseFloat(psw10.toFixed(3))+" KG"; document.getElementById('psr10').innerHTML = parseFloat(psr10.toFixed(3))+" KG"; document.getElementById('psm10').innerHTML = parseFloat(psm10.toFixed(3))+" KG"; document.getElementById('upsw10').innerHTML = parseFloat(upsw10.toFixed(3))+" KG"; document.getElementById('upsr10').innerHTML = parseFloat(upsr10.toFixed(3))+" KG"; document.getElementById('upsm10').innerHTML = parseFloat(upsm10.toFixed(3))+" KG"; document.getElementById('psw11').innerHTML = parseFloat(psw11.toFixed(3))+" KG"; document.getElementById('psr11').innerHTML = parseFloat(psr11.toFixed(3))+" KG"; document.getElementById('psm11').innerHTML = parseFloat(psm11.toFixed(3))+" KG"; document.getElementById('upsw11').innerHTML = parseFloat(upsw11.toFixed(3))+" KG"; document.getElementById('upsr11').innerHTML = parseFloat(upsr11.toFixed(3))+" KG"; document.getElementById('upsm11').innerHTML = parseFloat(upsm11.toFixed(3))+" KG"; document.getElementById('psw12').innerHTML = parseFloat(psw12.toFixed(3))+" KG"; document.getElementById('psr12').innerHTML = parseFloat(psr12.toFixed(3))+" KG"; document.getElementById('psm12').innerHTML = parseFloat(psm12.toFixed(3))+" KG"; document.getElementById('upsw12').innerHTML = parseFloat(upsw12.toFixed(3))+" KG"; document.getElementById('upsr12').innerHTML = parseFloat(upsr12.toFixed(3))+" KG"; document.getElementById('upsm12').innerHTML = parseFloat(upsm12.toFixed(3))+" KG"; document.getElementById('psw13').innerHTML = parseFloat(psw13.toFixed(3))+" KG"; document.getElementById('psr13').innerHTML = parseFloat(psr13.toFixed(3))+" KG"; document.getElementById('psm13').innerHTML = parseFloat(psm13.toFixed(3))+" KG"; document.getElementById('upsw13').innerHTML = parseFloat(upsw13.toFixed(3))+" KG"; document.getElementById('upsr13').innerHTML = parseFloat(upsr13.toFixed(3))+" KG"; document.getElementById('upsm13').innerHTML = parseFloat(upsm13.toFixed(3))+" KG"; document.getElementById('psw14').innerHTML = parseFloat(psw14.toFixed(3))+" KG"; document.getElementById('psr14').innerHTML = parseFloat(psr14.toFixed(3))+" KG"; document.getElementById('psm14').innerHTML = parseFloat(psm14.toFixed(3))+" KG"; document.getElementById('upsw14').innerHTML = parseFloat(upsw14.toFixed(3))+" KG"; document.getElementById('upsr14').innerHTML = parseFloat(upsr14.toFixed(3))+" KG"; document.getElementById('upsm14').innerHTML = parseFloat(upsm14.toFixed(3))+" KG"; document.getElementById('psw15').innerHTML = parseFloat(psw15.toFixed(3))+" KG"; document.getElementById('psr15').innerHTML = parseFloat(psr15.toFixed(3))+" KG"; document.getElementById('psm15').innerHTML = parseFloat(psm15.toFixed(3))+" KG"; document.getElementById('upsw15').innerHTML = parseFloat(upsw15.toFixed(3))+" KG"; document.getElementById('upsr15').innerHTML = parseFloat(upsr15.toFixed(3))+" KG"; document.getElementById('upsm15').innerHTML = parseFloat(upsm15.toFixed(3))+" KG"; document.getElementById('psw16').innerHTML = parseFloat(psw16.toFixed(3))+" KG"; document.getElementById('psr16').innerHTML = parseFloat(psr16.toFixed(3))+" KG"; document.getElementById('psm16').innerHTML = parseFloat(psm16.toFixed(3))+" KG"; document.getElementById('upsw16').innerHTML = parseFloat(upsw16.toFixed(3))+" KG"; document.getElementById('upsr16').innerHTML = parseFloat(upsr16.toFixed(3))+" KG"; document.getElementById('upsm16').innerHTML = parseFloat(upsm16.toFixed(3))+" KG"; document.getElementById('psw17').innerHTML = parseFloat(psw17.toFixed(3))+" KG"; document.getElementById('psr17').innerHTML = parseFloat(psr17.toFixed(3))+" KG"; document.getElementById('psm17').innerHTML = parseFloat(psm17.toFixed(3))+" KG"; document.getElementById('upsw17').innerHTML = parseFloat(upsw17.toFixed(3))+" KG"; document.getElementById('upsr17').innerHTML = parseFloat(upsr17.toFixed(3))+" KG"; document.getElementById('upsm17').innerHTML = parseFloat(upsm17.toFixed(3))+" KG"; document.getElementById('psw18').innerHTML = parseFloat(psw18.toFixed(3))+" KG"; document.getElementById('psr18').innerHTML = parseFloat(psr18.toFixed(3))+" KG"; document.getElementById('psm18').innerHTML = parseFloat(psm18.toFixed(3))+" KG"; document.getElementById('upsw18').innerHTML = parseFloat(upsw18.toFixed(3))+" KG"; document.getElementById('upsr18').innerHTML = parseFloat(upsr18.toFixed(3))+" KG"; document.getElementById('upsm18').innerHTML = parseFloat(upsm18.toFixed(3))+" KG"; document.getElementById('psw19').innerHTML = parseFloat(psw19.toFixed(3))+" KG"; document.getElementById('psr19').innerHTML = parseFloat(psr19.toFixed(3))+" KG"; document.getElementById('psm19').innerHTML = parseFloat(psm19.toFixed(3))+" KG"; document.getElementById('upsw19').innerHTML = parseFloat(upsw19.toFixed(3))+" KG"; document.getElementById('upsr19').innerHTML = parseFloat(upsr19.toFixed(3))+" KG"; document.getElementById('upsm19').innerHTML = parseFloat(upsm19.toFixed(3))+" KG"; document.getElementById('psw20').innerHTML = parseFloat(psw20.toFixed(3))+" KG"; document.getElementById('psr20').innerHTML = parseFloat(psr20.toFixed(3))+" KG"; document.getElementById('psm20').innerHTML = parseFloat(psm20.toFixed(3))+" KG"; document.getElementById('upsw20').innerHTML = parseFloat(upsw20.toFixed(3))+" KG"; document.getElementById('upsr20').innerHTML = parseFloat(upsr20.toFixed(3))+" KG"; document.getElementById('upsm20').innerHTML = parseFloat(upsm20.toFixed(3))+" KG"; document.getElementById('psw21').innerHTML = parseFloat(psw21.toFixed(3))+" KG"; document.getElementById('psr21').innerHTML = parseFloat(psr21.toFixed(3))+" KG"; document.getElementById('psm21').innerHTML = parseFloat(psm21.toFixed(3))+" KG"; document.getElementById('upsw21').innerHTML = parseFloat(upsw21.toFixed(3))+" KG"; document.getElementById('upsr21').innerHTML = parseFloat(upsr21.toFixed(3))+" KG"; document.getElementById('upsm21').innerHTML = parseFloat(upsm21.toFixed(3))+" KG"; document.getElementById('psw22').innerHTML = parseFloat(psw22.toFixed(3))+" KG"; document.getElementById('psr22').innerHTML = parseFloat(psr22.toFixed(3))+" KG"; document.getElementById('psm22').innerHTML = parseFloat(psm22.toFixed(3))+" KG"; document.getElementById('upsw22').innerHTML = parseFloat(upsw22.toFixed(3))+" KG"; document.getElementById('upsr22').innerHTML = parseFloat(upsr22.toFixed(3))+" KG"; document.getElementById('upsm22').innerHTML = parseFloat(upsm22.toFixed(3))+" KG"; document.getElementById('psw23').innerHTML = parseFloat(psw23.toFixed(3))+" KG"; document.getElementById('psr23').innerHTML = parseFloat(psr23.toFixed(3))+" KG"; document.getElementById('psm23').innerHTML = parseFloat(psm23.toFixed(3))+" KG"; document.getElementById('upsw23').innerHTML = parseFloat(upsw23.toFixed(3))+" KG"; document.getElementById('upsr23').innerHTML = parseFloat(upsr23.toFixed(3))+" KG"; document.getElementById('upsm23').innerHTML = parseFloat(upsm23.toFixed(3))+" KG"; document.getElementById('psw24').innerHTML = parseFloat(psw24.toFixed(3))+" KG"; document.getElementById('psr24').innerHTML = parseFloat(psr24.toFixed(3))+" KG"; document.getElementById('psm24').innerHTML = parseFloat(psm24.toFixed(3))+" KG"; document.getElementById('upsw24').innerHTML = parseFloat(upsw24.toFixed(3))+" KG"; document.getElementById('upsr24').innerHTML = parseFloat(upsr24.toFixed(3))+" KG"; document.getElementById('upsm24').innerHTML = parseFloat(upsm24.toFixed(3))+" KG"; document.getElementById('psw25').innerHTML = parseFloat(psw25.toFixed(3))+" KG"; document.getElementById('psr25').innerHTML = parseFloat(psr25.toFixed(3))+" KG"; document.getElementById('psm25').innerHTML = parseFloat(psm25.toFixed(3))+" KG"; document.getElementById('upsw25').innerHTML = parseFloat(upsw25.toFixed(3))+" KG"; document.getElementById('upsr25').innerHTML = parseFloat(upsr25.toFixed(3))+" KG"; document.getElementById('upsm25').innerHTML = parseFloat(upsm25.toFixed(3))+" KG"; document.getElementById('psw26').innerHTML = parseFloat(psw26.toFixed(3))+" KG"; document.getElementById('psr26').innerHTML = parseFloat(psr26.toFixed(3))+" KG"; document.getElementById('psm26').innerHTML = parseFloat(psm26.toFixed(3))+" KG"; document.getElementById('upsw26').innerHTML = parseFloat(upsw26.toFixed(3))+" KG"; document.getElementById('upsr26').innerHTML = parseFloat(upsr26.toFixed(3))+" KG"; document.getElementById('upsm26').innerHTML = parseFloat(upsm26.toFixed(3))+" KG"; document.getElementById('psw27').innerHTML = parseFloat(psw27.toFixed(3))+" KG"; document.getElementById('psr27').innerHTML = parseFloat(psr27.toFixed(3))+" KG"; document.getElementById('psm27').innerHTML = parseFloat(psm27.toFixed(3))+" KG"; document.getElementById('upsw27').innerHTML = parseFloat(upsw27.toFixed(3))+" KG"; document.getElementById('upsr27').innerHTML = parseFloat(upsr27.toFixed(3))+" KG"; document.getElementById('upsm27').innerHTML = parseFloat(upsm27.toFixed(3))+" KG"; document.getElementById('psw28').innerHTML = parseFloat(psw28.toFixed(3))+" KG"; document.getElementById('psr28').innerHTML = parseFloat(psr28.toFixed(3))+" KG"; document.getElementById('psm28').innerHTML = parseFloat(psm28.toFixed(3))+" KG"; document.getElementById('upsw28').innerHTML = parseFloat(upsw28.toFixed(3))+" KG"; document.getElementById('upsr28').innerHTML = parseFloat(upsr28.toFixed(3))+" KG"; document.getElementById('upsm28').innerHTML = parseFloat(upsm28.toFixed(3))+" KG"; document.getElementById('psw29').innerHTML = parseFloat(psw29.toFixed(3))+" KG"; document.getElementById('psr29').innerHTML = parseFloat(psr29.toFixed(3))+" KG"; document.getElementById('psm29').innerHTML = parseFloat(psm29.toFixed(3))+" KG"; document.getElementById('upsw29').innerHTML = parseFloat(upsw29.toFixed(3))+" KG"; document.getElementById('upsr29').innerHTML = parseFloat(upsr29.toFixed(3))+" KG"; document.getElementById('upsm29').innerHTML = parseFloat(upsm29.toFixed(3))+" KG"; document.getElementById('psw30').innerHTML = parseFloat(psw30.toFixed(3))+" KG"; document.getElementById('psr30').innerHTML = parseFloat(psr30.toFixed(3))+" KG"; document.getElementById('psm30').innerHTML = parseFloat(psm30.toFixed(3))+" KG"; document.getElementById('upsw30').innerHTML = parseFloat(upsw30.toFixed(3))+" KG"; document.getElementById('upsr30').innerHTML = parseFloat(upsr30.toFixed(3))+" KG"; document.getElementById('upsm30').innerHTML = parseFloat(upsm30.toFixed(3))+" KG"; document.getElementById('psw31').innerHTML = parseFloat(psw31.toFixed(3))+" KG"; document.getElementById('psr31').innerHTML = parseFloat(psr31.toFixed(3))+" KG"; document.getElementById('psm31').innerHTML = parseFloat(psm31.toFixed(3))+" KG"; document.getElementById('upsw31').innerHTML = parseFloat(upsw31.toFixed(3))+" KG"; document.getElementById('upsr31').innerHTML = parseFloat(upsr31.toFixed(3))+" KG"; document.getElementById('upsm31').innerHTML = parseFloat(upsm31.toFixed(3))+" KG"; }); document.getElementById("calc").addEventListener("click", function(event){ event.preventDefault(); var psd1_ = document.getElementById('psd1').value; var upsd1_ = document.getElementById('upsd1').value; var psd2_ = document.getElementById('psd2').value; var upsd2_ = document.getElementById('upsd2').value; var psd3_ = document.getElementById('psd3').value; var upsd3_ = document.getElementById('upsd3').value; var psd4_ = document.getElementById('psd4').value; var upsd4_ = document.getElementById('upsd4').value; var psd5_ = document.getElementById('psd5').value; var upsd5_ = document.getElementById('upsd5').value; var psd6_ = document.getElementById('psd6').value; var upsd6_ = document.getElementById('upsd6').value; var psd7_ = document.getElementById('psd7').value; var upsd7_ = document.getElementById('upsd7').value; var psd8_ = document.getElementById('psd8').value; var upsd8_ = document.getElementById('upsd8').value; var psd9_ = document.getElementById('psd9').value; var upsd9_ = document.getElementById('upsd9').value; var psd10_ = document.getElementById('psd10').value; var upsd10_ = document.getElementById('upsd10').value; var psd11_ = document.getElementById('psd11').value; var upsd11_ = document.getElementById('upsd11').value; var psd12_ = document.getElementById('psd12').value; var upsd12_ = document.getElementById('upsd12').value; var psd13_ = document.getElementById('psd13').value; var upsd13_ = document.getElementById('upsd13').value; var psd14_ = document.getElementById('psd14').value; var upsd14_ = document.getElementById('upsd14').value; var psd15_ = document.getElementById('psd15').value; var upsd15_ = document.getElementById('upsd15').value; var psd16_ = document.getElementById('psd16').value; var upsd16_ = document.getElementById('upsd16').value; var psd17_ = document.getElementById('psd17').value; var upsd17_ = document.getElementById('upsd17').value; var psd18_ = document.getElementById('psd18').value; var upsd18_ = document.getElementById('upsd18').value; var psd19_ = document.getElementById('psd19').value; var upsd19_ = document.getElementById('upsd19').value; var psd20_ = document.getElementById('psd20').value; var upsd20_ = document.getElementById('upsd20').value; var psd21_ = document.getElementById('psd21').value; var upsd21_ = document.getElementById('upsd21').value; var psd22_ = document.getElementById('psd22').value; var upsd22_ = document.getElementById('upsd22').value; var psd23_ = document.getElementById('psd23').value; var upsd23_ = document.getElementById('upsd23').value; var psd24_ = document.getElementById('psd24').value; var upsd24_ = document.getElementById('upsd24').value; var psd25_ = document.getElementById('psd25').value; var upsd25_ = document.getElementById('upsd25').value; var psd26_ = document.getElementById('psd26').value; var upsd26_ = document.getElementById('upsd26').value; var psd27_ = document.getElementById('psd27').value; var upsd27_ = document.getElementById('upsd27').value; var psd28_ = document.getElementById('psd28').value; var upsd28_ = document.getElementById('upsd28').value; var psd29_ = document.getElementById('psd29').value; var upsd29_ = document.getElementById('upsd29').value; var psd30_ = document.getElementById('psd30').value; var upsd30_ = document.getElementById('upsd30').value; var psd31_ = document.getElementById('psd31').value; var upsd31_ = document.getElementById('upsd31').value; var psd1,upsd1,psd2,upsd2;psd3,upsd3;psd4,upsd4;psd5,upsd5;psd6,upsd6;psd7,upsd7;psd8,upsd8;psd9,upsd9;psd10,upsd10; var psd11,upsd11,psd12,upsd12;psd13,upsd13;psd14,upsd14;psd15,upsd15;psd16,upsd16;psd17,upsd17;psd18,upsd18;psd19,upsd19;psd20,upsd20; var psd21,upsd21,psd22,upsd22;psd23,upsd23;psd24,upsd24;psd25,upsd25;psd26,upsd26;psd27,upsd27;psd28,upsd28;psd29,upsd29;psd30,upsd30;psd31,upsd31; if(psd1_ === 'undefined' || psd1_ ==='') psd1 = 0; else psd1 = parseInt(psd1_); if(upsd1_ === 'undefined' || upsd1_ ==='') upsd1 = 0; else upsd1 = parseInt(upsd1_); if(psd2_ === 'undefined' || psd2_ ==='') psd2 = 0; else psd2 = parseInt(psd2_); if(upsd2_ === 'undefined' || upsd2_ ==='') upsd2 = 0; else upsd2 = parseInt(upsd2_); if(psd3_ === 'undefined' || psd3_ ==='') psd3 = 0; else psd3 = parseInt(psd3_); if(upsd3_ === 'undefined' || upsd3_ ==='') upsd3 = 0; else upsd3 = parseInt(upsd3_); if(psd4_ === 'undefined' || psd4_ ==='') psd4 = 0; else psd4 = parseInt(psd4_); if(upsd4_ === 'undefined' || upsd4_ ==='') upsd4 = 0; else upsd4 = parseInt(upsd4_); if(psd5_ === 'undefined' || psd5_ ==='') psd5 = 0; else psd5 = parseInt(psd5_); if(upsd5_ === 'undefined' || upsd5_ ==='') upsd5 = 0; else upsd5 = parseInt(upsd5_); if(psd6_ === 'undefined' || psd6_ ==='') psd6 = 0; else psd6 = parseInt(psd6_); if(upsd6_ === 'undefined' || upsd6_ ==='') upsd6 = 0; else upsd6 = parseInt(upsd6_); if(psd7_ === 'undefined' || psd7_ ==='') psd7 = 0; else psd7 = parseInt(psd7_); if(upsd7_ === 'undefined' || upsd7_ ==='') upsd7 = 0; else upsd7 = parseInt(upsd7_); if(psd8_ === 'undefined' || psd8_ ==='') psd8 = 0; else psd8 = parseInt(psd8_); if(upsd8_ === 'undefined' || upsd8_ ==='') upsd8 = 0; else upsd8 = parseInt(upsd8_); if(psd9_ === 'undefined' || psd9_ ==='') psd9 = 0; else psd9 = parseInt(psd9_); if(upsd9_ === 'undefined' || upsd9_ ==='') upsd9 = 0; else upsd9 = parseInt(upsd9_); if(psd10_ === 'undefined' || psd10_ ==='') psd10 = 0; else psd10 = parseInt(psd10_); if(upsd10_ === 'undefined' || upsd10_ ==='') upsd10 = 0; else upsd10 = parseInt(upsd10_); if(psd11_ === 'undefined' || psd11_ ==='') psd11 = 0; else psd11 = parseInt(psd11_); if(upsd11_ === 'undefined' || upsd11_ ==='') upsd11 = 0; else upsd11 = parseInt(upsd11_); if(psd12_ === 'undefined' || psd12_ ==='') psd12 = 0; else psd12 = parseInt(psd12_); if(upsd12_ === 'undefined' || upsd12_ ==='') upsd12 = 0; else upsd12 = parseInt(upsd12_); if(psd13_ === 'undefined' || psd13_ ==='') psd13 = 0; else psd13 = parseInt(psd13_); if(upsd13_ === 'undefined' || upsd13_ ==='') upsd13 = 0; else upsd13 = parseInt(upsd13_); if(psd14_ === 'undefined' || psd14_ ==='') psd14 = 0; else psd14 = parseInt(psd14_); if(upsd14_ === 'undefined' || upsd14_ ==='') upsd14 = 0; else upsd14 = parseInt(upsd14_); if(psd15_ === 'undefined' || psd15_ ==='') psd15 = 0; else psd15 = parseInt(psd15_); if(upsd15_ === 'undefined' || upsd15_ ==='') upsd15 = 0; else upsd15 = parseInt(upsd15_); if(psd16_ === 'undefined' || psd16_ ==='') psd16 = 0; else psd16 = parseInt(psd16_); if(upsd16_ === 'undefined' || upsd16_ ==='') upsd16 = 0; else upsd16 = parseInt(upsd16_); if(psd17_ === 'undefined' || psd17_ ==='') psd17 = 0; else psd17 = parseInt(psd17_); if(upsd17_ === 'undefined' || upsd17_ ==='') upsd17 = 0; else upsd17 = parseInt(upsd17_); if(psd18_ === 'undefined' || psd18_ ==='') psd18 = 0; else psd18 = parseInt(psd18_); if(upsd18_ === 'undefined' || upsd18_ ==='') upsd18 = 0; else upsd18 = parseInt(upsd18_); if(psd19_ === 'undefined' || psd19_ ==='') psd19 = 0; else psd19 = parseInt(psd19_); if(upsd19_ === 'undefined' || upsd19_ ==='') upsd19 = 0; else upsd19 = parseInt(upsd19_); if(psd20_ === 'undefined' || psd20_ ==='') psd20 = 0; else psd20 = parseInt(psd20_); if(upsd20_ === 'undefined' || upsd20_ ==='') upsd20 = 0; else upsd20 = parseInt(upsd20_); if(psd21_ === 'undefined' || psd21_ ==='') psd21 = 0; else psd21 = parseInt(psd21_); if(upsd21_ === 'undefined' || upsd21_ ==='') upsd21 = 0; else upsd21 = parseInt(upsd21_); if(psd22_ === 'undefined' || psd22_ ==='') psd22 = 0; else psd22 = parseInt(psd22_); if(upsd22_ === 'undefined' || upsd22_ ==='') upsd22 = 0; else upsd22 = parseInt(upsd22_); if(psd23_ === 'undefined' || psd23_ ==='') psd23 = 0; else psd23 = parseInt(psd23_); if(upsd23_ === 'undefined' || upsd23_ ==='') upsd23 = 0; else upsd23 = parseInt(upsd23_); if(psd24_ === 'undefined' || psd24_ ==='') psd24 = 0; else psd24 = parseInt(psd24_); if(upsd24_ === 'undefined' || upsd24_ ==='') upsd24 = 0; else upsd24 = parseInt(upsd24_); if(psd25_ === 'undefined' || psd25_ ==='') psd25 = 0; else psd25 = parseInt(psd25_); if(upsd25_ === 'undefined' || upsd25_ ==='') upsd25 = 0; else upsd25 = parseInt(upsd25_); if(psd26_ === 'undefined' || psd26_ ==='') psd26 = 0; else psd26 = parseInt(psd26_); if(upsd26_ === 'undefined' || upsd26_ ==='') upsd26 = 0; else upsd26 = parseInt(upsd26_); if(psd27_ === 'undefined' || psd27_ ==='') psd27 = 0; else psd27 = parseInt(psd27_); if(upsd27_ === 'undefined' || upsd27_ ==='') upsd27 = 0; else upsd27 = parseInt(upsd27_); if(psd28_ === 'undefined' || psd28_ ==='') psd28 = 0; else psd28 = parseInt(psd28_); if(upsd28_ === 'undefined' || upsd28_ ==='') upsd28 = 0; else upsd28 = parseInt(upsd28_); if(psd29_ === 'undefined' || psd29_ ==='') psd29 = 0; else psd29 = parseInt(psd29_); if(upsd29_ === 'undefined' || upsd29_ ==='') upsd29 = 0; else upsd29 = parseInt(upsd29_); if(psd30_ === 'undefined' || psd30_ ==='') psd30 = 0; else psd30 = parseInt(psd30_); if(upsd10_ === 'undefined' || upsd30_ ==='') upsd30 = 0; else upsd30 = parseInt(upsd30_); if(psd31_ === 'undefined' || psd31_ ==='') psd31 = 0; else psd31 = parseInt(psd31_); if(upsd31_ === 'undefined' || upsd31_ ==='') upsd31 = 0; else upsd31 = parseInt(upsd31_); psw1 = psd1*0.1; psr1 = psd1*0.1; psm1 = psd1*0.015; upsw1 = upsd1*0.15; upsr1 = upsd1*0.15; upsm1 = upsd1*0.02; psw2 = psd2*0.1; psr2 = psd2*0.1; psm2 = psd2*0.015; upsw2 = upsd2*0.15; upsr2 = upsd2*0.15; upsm2 = upsd2*0.02; psw3 = psd3*0.1; psr3 = psd3*0.1; psm3 = psd3*0.015; upsw3 = upsd3*0.15; upsr3 = upsd3*0.15; upsm3 = upsd3*0.02; psw4 = psd4*0.1; psr4 = psd4*0.1; psm4 = psd4*0.015; upsw4 = upsd4*0.15; upsr4 = upsd4*0.15; upsm4 = upsd4*0.02; psw5 = psd5*0.1; psr5 = psd5*0.1; psm5 = psd5*0.015; upsw5 = upsd5*0.15; upsr5 = upsd5*0.15; upsm5 = upsd5*0.02; psw6 = psd6*0.1; psr6 = psd6*0.1; psm6 = psd6*0.015; upsw6 = upsd6*0.15; upsr6 = upsd6*0.15; upsm6 = upsd6*0.02; psw7 = psd7*0.1; psr7 = psd7*0.1; psm7 = psd7*0.015; upsw7 = upsd7*0.15; upsr7 = upsd7*0.15; upsm7 = upsd7*0.02; psw8 = psd8*0.1; psr8 = psd8*0.1; psm8 = psd8*0.015; upsw8 = upsd8*0.15; upsr8 = upsd8*0.15; upsm8 = upsd8*0.02; psw9 = psd9*0.1; psr9 = psd9*0.1; psm9 = psd9*0.015; upsw9 = upsd9*0.15; upsr9 = upsd9*0.15; upsm9 = upsd9*0.02; psw10 = psd10*0.1; psr10 = psd10*0.1; psm10 = psd10*0.015; upsw10 = upsd10*0.15; upsr10 = upsd10*0.15; upsm10 = upsd10*0.02; psw11 = psd11*0.1; psr11 = psd11*0.1; psm11 = psd11*0.015; upsw11 = upsd11*0.15; upsr11 = upsd11*0.15; upsm11 = upsd11*0.02; psw12 = psd12*0.1; psr12 = psd12*0.1; psm12 = psd12*0.015; upsw12 = upsd12*0.15; upsr12 = upsd12*0.15; upsm12 = upsd12*0.02; psw13 = psd13*0.1; psr13 = psd13*0.1; psm13 = psd13*0.015; upsw13 = upsd13*0.15; upsr13 = upsd13*0.15; upsm13 = upsd13*0.02; psw14 = psd14*0.1; psr14 = psd14*0.1; psm14 = psd14*0.015; upsw14 = upsd14*0.15; upsr14 = upsd14*0.15; upsm14 = upsd14*0.02; psw15 = psd15*0.1; psr15 = psd15*0.1; psm15 = psd15*0.015; upsw15 = upsd15*0.15; upsr15 = upsd15*0.15; upsm15 = upsd15*0.02; psw16 = psd16*0.1; psr16 = psd16*0.1; psm16 = psd16*0.015; upsw16 = upsd16*0.15; upsr16 = upsd16*0.15; upsm16 = upsd16*0.02; psw17 = psd17*0.1; psr17 = psd17*0.1; psm17 = psd17*0.015; upsw17 = upsd17*0.15; upsr17 = upsd17*0.15; upsm17 = upsd17*0.02; psw18 = psd18*0.1; psr18 = psd18*0.1; psm18 = psd18*0.015; upsw18 = upsd18*0.15; upsr18 = upsd18*0.15; upsm18 = upsd18*0.02; psw19 = psd19*0.1; psr19 = psd19*0.1; psm19 = psd19*0.015; upsw19 = upsd19*0.15; upsr19 = upsd19*0.15; upsm19 = upsd19*0.02; psw20 = psd20*0.1; psr20 = psd20*0.1; psm20 = psd20*0.015; upsw20 = upsd20*0.15; upsr20 = upsd20*0.15; upsm20 = upsd20*0.02; psw21 = psd21*0.1; psr21 = psd21*0.1; psm21 = psd21*0.015; upsw21 = upsd21*0.15; upsr21 = upsd21*0.15; upsm21 = upsd21*0.02; psw22 = psd22*0.1; psr22 = psd22*0.1; psm22 = psd22*0.015; upsw22 = upsd22*0.15; upsr22 = upsd22*0.15; upsm22 = upsd22*0.02; psw23 = psd23*0.1; psr23 = psd23*0.1; psm23 = psd23*0.015; upsw23 = upsd23*0.15; upsr23 = upsd23*0.15; upsm23 = upsd23*0.02; psw24 = psd24*0.1; psr24 = psd24*0.1; psm24 = psd24*0.015; upsw24 = upsd24*0.15; upsr24 = upsd24*0.15; upsm24 = upsd24*0.02; psw25 = psd25*0.1; psr25 = psd25*0.1; psm25 = psd25*0.015; upsw25 = upsd25*0.15; upsr25 = upsd25*0.15; upsm25 = upsd25*0.02; psw26 = psd26*0.1; psr26 = psd26*0.1; psm26 = psd26*0.015; upsw26 = upsd26*0.15; upsr26 = upsd26*0.15; upsm26 = upsd26*0.02; psw27 = psd27*0.1; psr27 = psd27*0.1; psm27 = psd27*0.015; upsw27 = upsd27*0.15; upsr27 = upsd27*0.15; upsm27 = upsd27*0.02; psw28 = psd28*0.1; psr28 = psd28*0.1; psm28 = psd28*0.015; upsw28 = upsd28*0.15; upsr28 = upsd28*0.15; upsm28 = upsd28*0.02; psw29 = psd29*0.1; psr29 = psd29*0.1; psm29 = psd29*0.015; upsw29 = upsd29*0.15; upsr29 = upsd29*0.15; upsm29 = upsd29*0.02; psw30 = psd30*0.1; psr30 = psd30*0.1; psm30 = psd30*0.015; upsw30 = upsd30*0.15; upsr30 = upsd30*0.15; upsm30 = upsd30*0.02; psw31 = psd31*0.1; psr31 = psd31*0.1; psm31 = psd31*0.015; upsw31 = upsd31*0.15; upsr31 = upsd31*0.15; upsm31 = upsd31*0.02; document.getElementById('psw1').innerHTML = parseFloat(psw1.toFixed(3))+" Kg"; document.getElementById('psr1').innerHTML = parseFloat(psr1.toFixed(3))+" Kg"; document.getElementById('psm1').innerHTML = parseFloat(psm1.toFixed(3))+" Kg"; document.getElementById('upsw1').innerHTML = parseFloat(upsw1.toFixed(3))+" Kg"; document.getElementById('upsr1').innerHTML = parseFloat(upsr1.toFixed(3))+" Kg"; document.getElementById('upsm1').innerHTML = parseFloat(upsm1.toFixed(3))+" Kg"; document.getElementById('psw2').innerHTML = parseFloat(psw2.toFixed(3))+" Kg"; document.getElementById('psr2').innerHTML = parseFloat(psr2.toFixed(3))+" Kg"; document.getElementById('psm2').innerHTML = parseFloat(psm2.toFixed(3))+" Kg"; document.getElementById('upsw2').innerHTML = parseFloat(upsw2.toFixed(3))+" Kg"; document.getElementById('upsr2').innerHTML = parseFloat(upsr2.toFixed(3))+" Kg"; document.getElementById('upsm2').innerHTML = parseFloat(upsm2.toFixed(3))+" Kg"; document.getElementById('psw3').innerHTML = parseFloat(psw3.toFixed(3))+" Kg"; document.getElementById('psr3').innerHTML = parseFloat(psr3.toFixed(3))+" Kg"; document.getElementById('psm3').innerHTML = parseFloat(psm3.toFixed(3))+" Kg"; document.getElementById('upsw3').innerHTML = parseFloat(upsw3.toFixed(3))+" Kg"; document.getElementById('upsr3').innerHTML = parseFloat(upsr3.toFixed(3))+" Kg"; document.getElementById('upsm3').innerHTML = parseFloat(upsm3.toFixed(3))+" Kg"; document.getElementById('psw4').innerHTML = parseFloat(psw4.toFixed(3))+" Kg"; document.getElementById('psr4').innerHTML = parseFloat(psr4.toFixed(3))+" Kg"; document.getElementById('psm4').innerHTML = parseFloat(psm4.toFixed(3))+" Kg"; document.getElementById('upsw4').innerHTML = parseFloat(upsw4.toFixed(3))+" Kg"; document.getElementById('upsr4').innerHTML = parseFloat(upsr4.toFixed(3))+" Kg"; document.getElementById('upsm4').innerHTML = parseFloat(upsm4.toFixed(3))+" Kg"; document.getElementById('psw5').innerHTML = parseFloat(psw5.toFixed(3))+" Kg"; document.getElementById('psr5').innerHTML = parseFloat(psr5.toFixed(3))+" Kg"; document.getElementById('psm5').innerHTML = parseFloat(psm5.toFixed(3))+" Kg"; document.getElementById('upsw5').innerHTML = parseFloat(upsw5.toFixed(3))+" Kg"; document.getElementById('upsr5').innerHTML = parseFloat(upsr5.toFixed(3))+" Kg"; document.getElementById('upsm5').innerHTML = parseFloat(upsm5.toFixed(3))+" Kg"; document.getElementById('psw6').innerHTML = parseFloat(psw6.toFixed(3))+" Kg"; document.getElementById('psr6').innerHTML = parseFloat(psr6.toFixed(3))+" Kg"; document.getElementById('psm6').innerHTML = parseFloat(psm6.toFixed(3))+" Kg"; document.getElementById('upsw6').innerHTML = parseFloat(upsw6.toFixed(3))+" Kg"; document.getElementById('upsr6').innerHTML = parseFloat(upsr6.toFixed(3))+" Kg"; document.getElementById('upsm6').innerHTML = parseFloat(upsm6.toFixed(3))+" Kg"; document.getElementById('psw7').innerHTML = parseFloat(psw7.toFixed(3))+" Kg"; document.getElementById('psr7').innerHTML = parseFloat(psr7.toFixed(3))+" Kg"; document.getElementById('psm7').innerHTML = parseFloat(psm7.toFixed(3))+" Kg"; document.getElementById('upsw7').innerHTML = parseFloat(upsw7.toFixed(3))+" Kg"; document.getElementById('upsr7').innerHTML = parseFloat(upsr7.toFixed(3))+" Kg"; document.getElementById('upsm7').innerHTML = parseFloat(upsm7.toFixed(3))+" Kg"; document.getElementById('psw8').innerHTML = parseFloat(psw8.toFixed(3))+" Kg"; document.getElementById('psr8').innerHTML = parseFloat(psr8.toFixed(3))+" Kg"; document.getElementById('psm8').innerHTML = parseFloat(psm8.toFixed(3))+" Kg"; document.getElementById('upsw8').innerHTML = parseFloat(upsw8.toFixed(3))+" Kg"; document.getElementById('upsr8').innerHTML = parseFloat(upsr8.toFixed(3))+" Kg"; document.getElementById('upsm8').innerHTML = parseFloat(upsm8.toFixed(3))+" Kg"; document.getElementById('psw9').innerHTML = parseFloat(psw9.toFixed(3))+" KG"; document.getElementById('psr9').innerHTML = parseFloat(psr9.toFixed(3))+" KG"; document.getElementById('psm9').innerHTML = parseFloat(psm9.toFixed(3))+" KG"; document.getElementById('upsw9').innerHTML = parseFloat(upsw9.toFixed(3))+" KG"; document.getElementById('upsr9').innerHTML = parseFloat(upsr9.toFixed(3))+" KG"; document.getElementById('upsm9').innerHTML = parseFloat(upsm9.toFixed(3))+" KG"; document.getElementById('psw10').innerHTML = parseFloat(psw10.toFixed(3))+" KG"; document.getElementById('psr10').innerHTML = parseFloat(psr10.toFixed(3))+" KG"; document.getElementById('psm10').innerHTML = parseFloat(psm10.toFixed(3))+" KG"; document.getElementById('upsw10').innerHTML = parseFloat(upsw10.toFixed(3))+" KG"; document.getElementById('upsr10').innerHTML = parseFloat(upsr10.toFixed(3))+" KG"; document.getElementById('upsm10').innerHTML = parseFloat(upsm10.toFixed(3))+" KG"; document.getElementById('psw11').innerHTML = parseFloat(psw11.toFixed(3))+" KG"; document.getElementById('psr11').innerHTML = parseFloat(psr11.toFixed(3))+" KG"; document.getElementById('psm11').innerHTML = parseFloat(psm11.toFixed(3))+" KG"; document.getElementById('upsw11').innerHTML = parseFloat(upsw11.toFixed(3))+" KG"; document.getElementById('upsr11').innerHTML = parseFloat(upsr11.toFixed(3))+" KG"; document.getElementById('upsm11').innerHTML = parseFloat(upsm11.toFixed(3))+" KG"; document.getElementById('psw12').innerHTML = parseFloat(psw12.toFixed(3))+" KG"; document.getElementById('psr12').innerHTML = parseFloat(psr12.toFixed(3))+" KG"; document.getElementById('psm12').innerHTML = parseFloat(psm12.toFixed(3))+" KG"; document.getElementById('upsw12').innerHTML = parseFloat(upsw12.toFixed(3))+" KG"; document.getElementById('upsr12').innerHTML = parseFloat(upsr12.toFixed(3))+" KG"; document.getElementById('upsm12').innerHTML = parseFloat(upsm12.toFixed(3))+" KG"; document.getElementById('psw13').innerHTML = parseFloat(psw13.toFixed(3))+" KG"; document.getElementById('psr13').innerHTML = parseFloat(psr13.toFixed(3))+" KG"; document.getElementById('psm13').innerHTML = parseFloat(psm13.toFixed(3))+" KG"; document.getElementById('upsw13').innerHTML = parseFloat(upsw13.toFixed(3))+" KG"; document.getElementById('upsr13').innerHTML = parseFloat(upsr13.toFixed(3))+" KG"; document.getElementById('upsm13').innerHTML = parseFloat(upsm13.toFixed(3))+" KG"; document.getElementById('psw14').innerHTML = parseFloat(psw14.toFixed(3))+" KG"; document.getElementById('psr14').innerHTML = parseFloat(psr14.toFixed(3))+" KG"; document.getElementById('psm14').innerHTML = parseFloat(psm14.toFixed(3))+" KG"; document.getElementById('upsw14').innerHTML = parseFloat(upsw14.toFixed(3))+" KG"; document.getElementById('upsr14').innerHTML = parseFloat(upsr14.toFixed(3))+" KG"; document.getElementById('upsm14').innerHTML = parseFloat(upsm14.toFixed(3))+" KG"; document.getElementById('psw15').innerHTML = parseFloat(psw15.toFixed(3))+" KG"; document.getElementById('psr15').innerHTML = parseFloat(psr15.toFixed(3))+" KG"; document.getElementById('psm15').innerHTML = parseFloat(psm15.toFixed(3))+" KG"; document.getElementById('upsw15').innerHTML = parseFloat(upsw15.toFixed(3))+" KG"; document.getElementById('upsr15').innerHTML = parseFloat(upsr15.toFixed(3))+" KG"; document.getElementById('upsm15').innerHTML = parseFloat(upsm15.toFixed(3))+" KG"; document.getElementById('psw16').innerHTML = parseFloat(psw16.toFixed(3))+" KG"; document.getElementById('psr16').innerHTML = parseFloat(psr16.toFixed(3))+" KG"; document.getElementById('psm16').innerHTML = parseFloat(psm16.toFixed(3))+" KG"; document.getElementById('upsw16').innerHTML = parseFloat(upsw16.toFixed(3))+" KG"; document.getElementById('upsr16').innerHTML = parseFloat(upsr16.toFixed(3))+" KG"; document.getElementById('upsm16').innerHTML = parseFloat(upsm16.toFixed(3))+" KG"; document.getElementById('psw17').innerHTML = parseFloat(psw17.toFixed(3))+" KG"; document.getElementById('psr17').innerHTML = parseFloat(psr17.toFixed(3))+" KG"; document.getElementById('psm17').innerHTML = parseFloat(psm17.toFixed(3))+" KG"; document.getElementById('upsw17').innerHTML = parseFloat(upsw17.toFixed(3))+" KG"; document.getElementById('upsr17').innerHTML = parseFloat(upsr17.toFixed(3))+" KG"; document.getElementById('upsm17').innerHTML = parseFloat(upsm17.toFixed(3))+" KG"; document.getElementById('psw18').innerHTML = parseFloat(psw18.toFixed(3))+" KG"; document.getElementById('psr18').innerHTML = parseFloat(psr18.toFixed(3))+" KG"; document.getElementById('psm18').innerHTML = parseFloat(psm18.toFixed(3))+" KG"; document.getElementById('upsw18').innerHTML = parseFloat(upsw18.toFixed(3))+" KG"; document.getElementById('upsr18').innerHTML = parseFloat(upsr18.toFixed(3))+" KG"; document.getElementById('upsm18').innerHTML = parseFloat(upsm18.toFixed(3))+" KG"; document.getElementById('psw19').innerHTML = parseFloat(psw19.toFixed(3))+" KG"; document.getElementById('psr19').innerHTML = parseFloat(psr19.toFixed(3))+" KG"; document.getElementById('psm19').innerHTML = parseFloat(psm19.toFixed(3))+" KG"; document.getElementById('upsw19').innerHTML = parseFloat(upsw19.toFixed(3))+" KG"; document.getElementById('upsr19').innerHTML = parseFloat(upsr19.toFixed(3))+" KG"; document.getElementById('upsm19').innerHTML = parseFloat(upsm19.toFixed(3))+" KG"; document.getElementById('psw20').innerHTML = parseFloat(psw20.toFixed(3))+" KG"; document.getElementById('psr20').innerHTML = parseFloat(psr20.toFixed(3))+" KG"; document.getElementById('psm20').innerHTML = parseFloat(psm20.toFixed(3))+" KG"; document.getElementById('upsw20').innerHTML = parseFloat(upsw20.toFixed(3))+" KG"; document.getElementById('upsr20').innerHTML = parseFloat(upsr20.toFixed(3))+" KG"; document.getElementById('upsm20').innerHTML = parseFloat(upsm20.toFixed(3))+" KG"; document.getElementById('psw21').innerHTML = parseFloat(psw21.toFixed(3))+" KG"; document.getElementById('psr21').innerHTML = parseFloat(psr21.toFixed(3))+" KG"; document.getElementById('psm21').innerHTML = parseFloat(psm21.toFixed(3))+" KG"; document.getElementById('upsw21').innerHTML = parseFloat(upsw21.toFixed(3))+" KG"; document.getElementById('upsr21').innerHTML = parseFloat(upsr21.toFixed(3))+" KG"; document.getElementById('upsm21').innerHTML = parseFloat(upsm21.toFixed(3))+" KG"; document.getElementById('psw22').innerHTML = parseFloat(psw22.toFixed(3))+" KG"; document.getElementById('psr22').innerHTML = parseFloat(psr22.toFixed(3))+" KG"; document.getElementById('psm22').innerHTML = parseFloat(psm22.toFixed(3))+" KG"; document.getElementById('upsw22').innerHTML = parseFloat(upsw22.toFixed(3))+" KG"; document.getElementById('upsr22').innerHTML = parseFloat(upsr22.toFixed(3))+" KG"; document.getElementById('upsm22').innerHTML = parseFloat(upsm22.toFixed(3))+" KG"; document.getElementById('psw23').innerHTML = parseFloat(psw23.toFixed(3))+" KG"; document.getElementById('psr23').innerHTML = parseFloat(psr23.toFixed(3))+" KG"; document.getElementById('psm23').innerHTML = parseFloat(psm23.toFixed(3))+" KG"; document.getElementById('upsw23').innerHTML = parseFloat(upsw23.toFixed(3))+" KG"; document.getElementById('upsr23').innerHTML = parseFloat(upsr23.toFixed(3))+" KG"; document.getElementById('upsm23').innerHTML = parseFloat(upsm23.toFixed(3))+" KG"; document.getElementById('psw24').innerHTML = parseFloat(psw24.toFixed(3))+" KG"; document.getElementById('psr24').innerHTML = parseFloat(psr24.toFixed(3))+" KG"; document.getElementById('psm24').innerHTML = parseFloat(psm24.toFixed(3))+" KG"; document.getElementById('upsw24').innerHTML = parseFloat(upsw24.toFixed(3))+" KG"; document.getElementById('upsr24').innerHTML = parseFloat(upsr24.toFixed(3))+" KG"; document.getElementById('upsm24').innerHTML = parseFloat(upsm24.toFixed(3))+" KG"; document.getElementById('psw25').innerHTML = parseFloat(psw25.toFixed(3))+" KG"; document.getElementById('psr25').innerHTML = parseFloat(psr25.toFixed(3))+" KG"; document.getElementById('psm25').innerHTML = parseFloat(psm25.toFixed(3))+" KG"; document.getElementById('upsw25').innerHTML = parseFloat(upsw25.toFixed(3))+" KG"; document.getElementById('upsr25').innerHTML = parseFloat(upsr25.toFixed(3))+" KG"; document.getElementById('upsm25').innerHTML = parseFloat(upsm25.toFixed(3))+" KG"; document.getElementById('psw26').innerHTML = parseFloat(psw26.toFixed(3))+" KG"; document.getElementById('psr26').innerHTML = parseFloat(psr26.toFixed(3))+" KG"; document.getElementById('psm26').innerHTML = parseFloat(psm26.toFixed(3))+" KG"; document.getElementById('upsw26').innerHTML = parseFloat(upsw26.toFixed(3))+" KG"; document.getElementById('upsr26').innerHTML = parseFloat(upsr26.toFixed(3))+" KG"; document.getElementById('upsm26').innerHTML = parseFloat(upsm26.toFixed(3))+" KG"; document.getElementById('psw27').innerHTML = parseFloat(psw27.toFixed(3))+" KG"; document.getElementById('psr27').innerHTML = parseFloat(psr27.toFixed(3))+" KG"; document.getElementById('psm27').innerHTML = parseFloat(psm27.toFixed(3))+" KG"; document.getElementById('upsw27').innerHTML = parseFloat(upsw27.toFixed(3))+" KG"; document.getElementById('upsr27').innerHTML = parseFloat(upsr27.toFixed(3))+" KG"; document.getElementById('upsm27').innerHTML = parseFloat(upsm27.toFixed(3))+" KG"; document.getElementById('psw28').innerHTML = parseFloat(psw28.toFixed(3))+" KG"; document.getElementById('psr28').innerHTML = parseFloat(psr28.toFixed(3))+" KG"; document.getElementById('psm28').innerHTML = parseFloat(psm28.toFixed(3))+" KG"; document.getElementById('upsw28').innerHTML = parseFloat(upsw28.toFixed(3))+" KG"; document.getElementById('upsr28').innerHTML = parseFloat(upsr28.toFixed(3))+" KG"; document.getElementById('upsm28').innerHTML = parseFloat(upsm28.toFixed(3))+" KG"; document.getElementById('psw29').innerHTML = parseFloat(psw29.toFixed(3))+" KG"; document.getElementById('psr29').innerHTML = parseFloat(psr29.toFixed(3))+" KG"; document.getElementById('psm29').innerHTML = parseFloat(psm29.toFixed(3))+" KG"; document.getElementById('upsw29').innerHTML = parseFloat(upsw29.toFixed(3))+" KG"; document.getElementById('upsr29').innerHTML = parseFloat(upsr29.toFixed(3))+" KG"; document.getElementById('upsm29').innerHTML = parseFloat(upsm29.toFixed(3))+" KG"; document.getElementById('psw30').innerHTML = parseFloat(psw30.toFixed(3))+" KG"; document.getElementById('psr30').innerHTML = parseFloat(psr30.toFixed(3))+" KG"; document.getElementById('psm30').innerHTML = parseFloat(psm30.toFixed(3))+" KG"; document.getElementById('upsw30').innerHTML = parseFloat(upsw30.toFixed(3))+" KG"; document.getElementById('upsr30').innerHTML = parseFloat(upsr30.toFixed(3))+" KG"; document.getElementById('upsm30').innerHTML = parseFloat(upsm30.toFixed(3))+" KG"; document.getElementById('psw31').innerHTML = parseFloat(psw31.toFixed(3))+" KG"; document.getElementById('psr31').innerHTML = parseFloat(psr31.toFixed(3))+" KG"; document.getElementById('psm31').innerHTML = parseFloat(psm31.toFixed(3))+" KG"; document.getElementById('upsw31').innerHTML = parseFloat(upsw31.toFixed(3))+" KG"; document.getElementById('upsr31').innerHTML = parseFloat(upsr31.toFixed(3))+" KG"; document.getElementById('upsm31').innerHTML = parseFloat(upsm31.toFixed(3))+" KG"; }); </script>