Jump to content
Fórum Script Brasil
  • 0

Cálculo Em Java


Guest --Luciano --
 Share

Question

Guest --Luciano --

Pessoal: fiz uma tabela para cálculo de valores de preços de produtos. Funciona mais ou menos assim: tenho uma relação de iten e respectivas quantidades...a pessoa marca a quantidade que quer e o valor total já é mostrado abaixo. Acontece que não consigo colocar mais de 146 itens nessa tabela. O que pode estar acontecendo??????

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0
Guest --Luciano --

Aí vai o código:

<html>
<head><title>Tabela de Preços</title>
&lt;script language="javascript">

var nItens = 146;

function recalculaTotais (frm)
{
   var total = 0;
   for (var i = 0; i < nItens; i++)
   {
      frm.total[i].value = Math.round(frm.preço[i].value * frm.quant[i].value * 100) / 100;
      total += parseFloat(frm.total[i].value);
   }
   frm.totalgeral.value = total;
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body {
    background-image: url('../Projeto_perfumaria%20brasil/bg_txt.jpg');
    background-repeat: repeat
}
-->
</style></head>

<body bgcolor=#bdda1d>
  <h1 align="center">Formul&aacute;rio de pedidos para distribuidores</h1>
    <form name="f">
      <div align="center">
        <center>
      <table border="5" cellpadding="2" cellspacing="3" bordercolor="#003300" bgcolor="#BDDA1D" height="4452" style="border-collapse: collapse">
    <tr><th colspan="5" height="26"><font size="5">PRODUTOS</font><tr>
    <th height="19">CÓDIGO<th height="19">
    FRAGRÂNCIAS<th height="19">PREÇO (R$)<th height="19">QUANTIDADE<th height="19">SUBTOTAL
    
    <tr><td height="23">
    <p align="center">02<td height="23">Noa EDP 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[0].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[1].focus()'>
    
    <tr><td height="23">
    <p align="center">05<td height="23">Channel n<font face="Times New Roman">°</font> 5 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[1].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[2].focus()'>

    <tr><td height="5">
    <p align="center">06<td height="5">Anais Anais 50 mL<td align="center" height="5">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[2].focus()'>
    <td height="5">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="5">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[3].focus()'>

    <tr><td height="23">
    <p align="center">10<td height="23">Samsara 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[3].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[4].focus()'>

    <tr><td height="23">
    <p align="center">14<td height="23">Angel 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[4].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[5].focus()'>
    
    <tr><td height="23">
    <p align="center">16<td height="23">Gabriela Sabatini 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[5].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[6].focus()'>
    
    <tr><td height="23">
    <p align="center">19<td height="23">Ck Be 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[6].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[7].focus()'>
    
    <tr><td height="23">
    <p align="center">22<td height="23">212 Sexy 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[7].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[8].focus()'>
    
    <tr><td height="23">
    <p align="center">27<td height="23">Amarige 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[8].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[9].focus()'>
    
    <tr><td height="23">
    <p align="center">28<td height="23">Romance 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[9].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[10].focus()'>
    
    <tr><td height="23">
    <p align="center">29<td height="23">Laguna 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[10].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[11].focus()'>
    
    <tr><td height="23">
    <p align="center">33<td height="23">Flower Kenzo 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[11].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[12].focus()'>
    
    <tr><td height="23">
    <p align="center">35<td height="23">Dolce & Gabbana 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[12].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[13].focus()'>
    
    <tr><td height="23">
    <p align="center">40<td height="23">212 Woman 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[13].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[14].focus()'>
    
    <tr><td height="23">
    <p align="center">42<td height="23">J'adore 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[14].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[15].focus()'>
    
    <tr><td height="23">
    <p align="center">52<td height="23">L'eau D'Issey 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[15].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[16].focus()'>
    
    <tr><td height="23">
    <p align="center">55<td height="23">212 Men 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[16].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[17].focus()'>
    
    <tr><td height="23">
    <p align="center">56<td height="23">Drakkar Noir 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[17].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[18].focus()'>
    
    <tr><td height="23">
    <p align="center">58<td height="23">Paco Rabanne 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[18].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[19].focus()'>
    
    <tr><td height="23">
    <p align="center">60<td height="23">Azzaro 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[19].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[20].focus()'>
    
    <tr><td height="23">
    <p align="center">66<td height="23">Polo 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[20].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[21].focus()'>
    
    <tr><td height="23">
    <p align="center">69<td height="23">Animale 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[21].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[22].focus()'>
    
    <tr><td height="23">
    <p align="center">70<td height="23">Acqua di Gió 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[22].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[23].focus()'>
    
    <tr><td height="23">
    <p align="center">75<td height="23">Dolce & Gabbana 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[23].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[24].focus()'>
    
    <tr><td height="23">
    <p align="center">77<td height="23">Fahrenheit 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[24].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[25].focus()'>
    
    <tr><td height="23">
    <p align="center">80<td height="23">Polo Sport 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[25].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[26].focus()'>
    
    <tr><td height="23">
    <p align="center">81<td height="23">Ted Lapidus 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[26].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[27].focus()'>
    
    <tr><td height="23">
    <p align="center">89<td height="23">Eternity 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[27].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[28].focus()'>
    
    <tr><td height="23">
    <p align="center">91<td height="23">Kouros 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[28].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[29].focus()'>
    
    <tr><td height="23">
    <p align="center">92<td height="23">Ferrari Black 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[29].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[30].focus()'>
    
    <tr><td height="23">
    <p align="center">94<td height="23">Armani 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[30].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[31].focus()'>
    
    <tr><td height="23">
    <p align="center">97<td height="23">Bulgari Black 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[31].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[32].focus()'>
    
        
    <tr><td height="23">
    <p align="center">98<td height="23">Hugo Boss 50 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="21.00" onfocus='this.form.quant[32].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[33].focus()'>

    
    <tr><td height="16"><td colspan=4 height="16"><hr noshade>
    
    <tr><td height="23">
    <p align="center">02<td height="23">Noa EDP 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[33].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[34].focus()'>
        
    <tr><td height="23">
    <p align="center">05<td height="23">Channel n<font face="Times New Roman">° 
      5</font> 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[34].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[35].focus()'>

    <tr><td height="23">
    <p align="center">06<td height="23">Anais Anais 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[35].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[36].focus()'>

    <tr><td height="23">
    <p align="center">10<td height="23">Samsara 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[36].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[37].focus()'>

    <tr><td height="23">
    <p align="center">14<td height="23">Angel 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[37].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[38].focus()'>
    
    <tr><td height="23">
    <p align="center">16<td height="23">Gabriela Sabatini 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[38].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[39].focus()'>
    
    <tr><td height="23">
    <p align="center">19<td height="23">Ck Be 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[39].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[40].focus()'>
    
    <tr><td height="23">
    <p align="center">22<td height="23">212 Sexy 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[40].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[41].focus()'>
    
    <tr><td height="23">
    <p align="center">27<td height="23">Amarige 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[41].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[42].focus()'>
    
    <tr><td height="23">
    <p align="center">28<td height="23">Romance 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[42].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[43].focus()'>
    
    <tr><td height="23">
    <p align="center">29<td height="23">Laguna 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[43].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[44].focus()'>
    
    <tr><td height="23">
    <p align="center">33<td height="23">Flower Kenzo 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[44].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[45].focus()'>
    
    <tr><td height="23">
    <p align="center">35<td height="23">Dolce & Gabbana 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[45].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[46].focus()'>
    
    <tr><td height="23">
    <p align="center">40<td height="23">212 Woman 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[46].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[47].focus()'>
    
    <tr><td height="23">
    <p align="center">42<td height="23">J'adore 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[47].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[48].focus()'>
    
    <tr><td height="23">
    <p align="center">52<td height="23">L'eau D'Issey 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[48].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[49].focus()'>
    
    <tr><td height="23">
    <p align="center">55<td height="23">212 Men 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[49].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[50].focus()'>
    
    <tr><td height="23">
    <p align="center">56<td height="23">Drakkar Noir 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[50].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[51].focus()'>
    
    <tr><td height="23">
    <p align="center">58<td height="23">Paco Rabanne 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[51].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[52].focus()'>
    
    <tr><td height="23">
    <p align="center">60<td height="23">Azzaro 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[52].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[53].focus()'>
    
    <tr><td height="23">
    <p align="center">66<td height="23">Polo 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[53].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[54].focus()'>
    
    <tr><td height="23">
    <p align="center">69<td height="23">Animale 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[54].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[55].focus()'>
    
    <tr><td height="23">
    <p align="center">70<td height="23">Acqua di Gió 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[55].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[56].focus()'>
    
    <tr><td height="23">
    <p align="center">75<td height="23">Dolce & Gabbana 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[56].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[57].focus()'>
    
    <tr><td height="23">
    <p align="center">77<td height="23">Fahrenheit 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[57].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[58].focus()'>
    
    <tr><td height="23">
    <p align="center">80<td height="23">Polo Sport 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[58].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[59].focus()'>
    
    <tr><td height="23">
    <p align="center">81<td height="23">Ted Lapidus 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[59].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[60].focus()'>
    
    <tr><td height="23">
    <p align="center">89<td height="23">Eternity 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[60].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[61].focus()'>
    
    <tr><td height="23">
    <p align="center">91<td height="23">Kouros 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[61].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[62].focus()'>
    
    <tr><td height="23">
    <p align="center">92<td height="23">Ferrari Black 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[62].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[63].focus()'>
    
    <tr><td height="23">
    <p align="center">94<td height="23">Armani 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[63].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[64].focus()'>
    
    <tr><td height="23">
    <p align="center">97<td height="23">Bulgari Black 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[64].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[65].focus()'>
    
        
    <tr><td height="23">
    <p align="center">98<td height="23">Hugo Boss 30 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="15.00" onfocus='this.form.quant[65].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[66].focus()'>

    
    <tr><td height="16"><td colspan=4 height="16"><hr noshade>

    <tr><td height="23">
    <p align="center">02<td height="23">Noa EDP 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[66].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[67].focus()'>
        
    <tr><td height="23">
    <p align="center">05<td height="23">Channel n<font face="Times New Roman">° 
      5 </font> 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[67].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[68].focus()'>

    <tr><td height="23">
    <p align="center">06<td height="23">Anais Anais 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[68].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[69].focus()'>

    <tr><td height="23">
    <p align="center">10<td height="23">Samsara 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[69].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[70].focus()'>

    <tr><td height="23">
    <p align="center">14<td height="23">Angel 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[70].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[71].focus()'>
    
    <tr><td height="23">
    <p align="center">16<td height="23">Gabriela Sabatini 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[71].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[72].focus()'>
    
    <tr><td height="23">
    <p align="center">19<td height="23">Ck Be 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[72].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[73].focus()'>
    
    <tr><td height="23">
    <p align="center">22<td height="23">212 Sexy 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[73].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[74].focus()'>
    
    <tr><td height="23">
    <p align="center">27<td height="23">Amarige 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[74].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[75].focus()'>
    
    <tr><td height="23">
    <p align="center">28<td height="23">Romance 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[75].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[76].focus()'>
    
    <tr><td height="23">
    <p align="center">29<td height="23">Laguna 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[76].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[77].focus()'>
    
    <tr><td height="23">
    <p align="center">33<td height="23">Flower Kenzo 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[77].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[78].focus()'>
    
    <tr><td height="23">
    <p align="center">35<td height="23">Dolce & Gabbana 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[78].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[79].focus()'>
    
    <tr><td height="23">
    <p align="center">40<td height="23">212 Woman 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[79].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[80].focus()'>
    
    <tr><td height="23">
    <p align="center">42<td height="23">J'adore 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[80].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[81].focus()'>
    
    <tr><td height="23">
    <p align="center">52<td height="23">L'eau D'Issey 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[81].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[82].focus()'>
    
    <tr><td height="23">
    <p align="center">55<td height="23">212 Men 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[82].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[83].focus()'>
    
    <tr><td height="23">
    <p align="center">56<td height="23">Drakkar Noir 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[83].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[84].focus()'>
    
    <tr><td height="23">
    <p align="center">58<td height="23">Paco Rabanne 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[84].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[85].focus()'>
    
    <tr><td height="23">
    <p align="center">60<td height="23">Azzaro 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[85].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[86].focus()'>
    
    <tr><td height="23">
    <p align="center">66<td height="23">Polo 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[86].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[87].focus()'>
    
    <tr><td height="23">
    <p align="center">69<td height="23">Animale 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[87].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[88].focus()'>
    
    <tr><td height="23">
    <p align="center">70<td height="23">Acqua di Gió 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[88].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[89].focus()'>
    
    <tr><td height="23">
    <p align="center">75<td height="23">Dolce & Gabbana 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[89].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[90].focus()'>
    
    <tr><td height="23">
    <p align="center">77<td height="23">Fahrenheit 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[90].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[91].focus()'>
    
    <tr><td height="23">
    <p align="center">80<td height="23">Polo Sport 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[91].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[92].focus()'>
    
    <tr><td height="23">
    <p align="center">81<td height="23">Ted Lapidus 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[92].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[93].focus()'>
    
    <tr><td height="23">
    <p align="center">89<td height="23">Eternity 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[93].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[94].focus()'>
    
    <tr><td height="23">
    <p align="center">91<td height="23">Kouros 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[94].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[95].focus()'>
    
    <tr><td height="23">
    <p align="center">92<td height="23">Ferrari Black 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[95].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[96].focus()'>
    
    <tr><td height="23">
    <p align="center">94<td height="23">Armani 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[96].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[97].focus()'>
    
    <tr><td height="23">
    <p align="center">97<td height="23">Bulgari Black 20 mL<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[97].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[98].focus()'>
    
        
    <tr><td height="23">
    <p align="center">98<td height="23">Hugo Boss 20 mL    
      <td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="12.00" onfocus='this.form.quant[98].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[99].focus()'>
    
    <tr><td height="16"><td colspan=4 height="16"><hr noshade><tr>
    
    <th height="19">CÓDIGO<th height="19">
    BATONS<th height="19">PREÇO (R$)<th height="19">QUANTIDADE<th height="19">SUBTOTAL
    
    <tr><td height="23">
    <p align="center">C0126<td height="23">Vermelho<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[99].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[100].focus()'>
    
    <tr><td height="23">
    <p align="center">C0130<td height="23">Vermelho<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[100].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[101].focus()'>

    <tr><td height="23">
    <p align="center">C0132<td height="23">Vermelho<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[101].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[102].focus()'>

    <tr><td height="23">
    <p align="center">C0134<td height="23">Vermelho<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[102].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[103].focus()'>

    <tr><td height="23">
    <p align="center">C0136<td height="23">Vermelho<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[103].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[104].focus()'>

    <tr><td height="23">
    <p align="center">C0106<td height="23">Coral<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[104].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[105].focus()'>

    <tr><td height="23">
    <p align="center">C0108<td height="23">Coral<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[105].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[106].focus()'>

    <tr><td height="23">
    <p align="center">C0110<td height="23">Coral<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[106].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[107].focus()'>

    <tr><td height="23">
    <p align="center">C0112<td height="23">Coral<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[107].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[108].focus()'>

    <tr><td height="23">
    <p align="center">C0114<td height="23">Dourado<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[108].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[109].focus()'>

    <tr><td height="23">
    <p align="center">C0116<td height="23">Dourado<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[109].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[110].focus()'>

    <tr><td height="23">
    <p align="center">C0118<td height="23">Dourado<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[110].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[111].focus()'>

    <tr><td height="23">
    <p align="center">C0120<td height="23">Marrom<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[111].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[112].focus()'>

    <tr><td height="23">
    <p align="center">C0122<td height="23">Marrom<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[112].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[113].focus()'>

    <tr><td height="23">
    <p align="center">C0124<td height="23">Marrom<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[113].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[114].focus()'>

    <tr><td height="23">
    <p align="center">C0102<td height="23">Rosa<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[114].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[115].focus()'>

    <tr><td height="23">
    <p align="center">C0104<td height="23">Rosa<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[115].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[116].focus()'>

    <tr><td height="23">
    <p align="center">C0128<td height="23">Rosa<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="10.00" onfocus='this.form.quant[116].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[117].focus()'>
    
    <tr><td height="16"><td colspan=4 height="16"><hr noshade>

    <tr><th colspan="5" height="26"><font size="5">AMOSTRAS</font><tr>
    <th height="19">CÓDIGO<th height="19">
    DESCRIÇÃO<th height="19">PREÇO (R$)<th height="19">QUANTIDADE<th height="19">SUBTOTAL

    <tr><td height="23">
    <p align="center">02<td height="23">Tubete 4 mL - Noa EDP<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[117].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[118].focus()'>

    <tr><td height="23">
    <p align="center">05<td height="23">Tubete 4 mL - Channel n<font face="Times New Roman">° 
      5</font><td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[118].focus()'>
    <td height="23">
    <p align="center"><input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)'>
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[119].focus()'>

    <tr><td height="23">
    <p align="center">06<td height="23">Tubete 4 mL - Anais Anais<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[119].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[120].focus()'>

    <tr><td height="23">
    <p align="center">10<td height="23">Tubete 4 mL - Samsara<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[120].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[121].focus()'>

    <tr><td height="23">
    <p align="center">14<td height="23">Tubete 4 mL - Angel<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[121].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[122].focus()'>

    <tr><td height="23">
    <p align="center">16<td height="23">Tubete 4 mL - Gabriela Sabatini<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[122].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[123].focus()'>

    <tr><td height="23">
    <p align="center">19<td height="23">Tubete 4 mL - Ck Be<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[123].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[124].focus()'>

    <tr><td height="23">
    <p align="center">22<td height="23">Tubete 4 mL - 212 Sexy<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[124].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[125].focus()'>

    <tr><td height="23">
    <p align="center">27<td height="23">Tubete 4 mL - Amarige<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[125].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[126].focus()'>

    <tr><td height="23">
    <p align="center">28<td height="23">Tubete 4 mL - Romance<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[126].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[127].focus()'>

    <tr><td height="23">
    <p align="center">29<td height="23">Tubete 4 mL - Laguna<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[127].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[128].focus()'>

    <tr><td height="23">
    <p align="center">33<td height="23">Tubete 4 mL - Flower Kenzo<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[128].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[129].focus()'>

    <tr><td height="23">
    <p align="center">35<td height="23">Tubete 4 mL - Dolce &amp; Gabbana<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[129].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[130].focus()'>

    <tr><td height="23">
    <p align="center">40<td height="23">Tubete 4 mL - 212 Woman<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[130].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[131].focus()'>

    <tr><td height="23">
    <p align="center">42<td height="23">Tubete 4 mL - J'adore<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[131].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[132].focus()'> 

    <tr><td height="23">
    <p align="center">52<td height="23">Tubete 4 mL - L'eau D'Issey<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[132].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[133].focus()'>

    <tr><td height="23">
    <p align="center">55<td height="23">Tubete 4 mL - 212 Men<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[133].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[134].focus()'>

    <tr><td height="23">
    <p align="center">56<td height="23">Tubete 4 mL - Drakkar Noir<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[134].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[135].focus()'>

    <tr><td height="23">
    <p align="center">58<td height="23">Tubete 4 mL - Paco Rabanne<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[135].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[136].focus()'>

    <tr><td height="23">
    <p align="center">60<td height="23">Tubete 4 mL - Azzaro<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[136].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[137].focus()'>

    <tr><td height="23">
    <p align="center">66<td height="23">Tubete 4 mL - Polo<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[137].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[138].focus()'>

    <tr><td height="23">
    <p align="center">69<td height="23">Tubete 4 mL - Animale<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[138].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[139].focus()'>

    <tr><td height="23">
    <p align="center">70<td height="23">Tubete 4 mL - Acqua di Gió<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[139].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[140].focus()'>

    <tr><td height="23">
    <p align="center">75<td height="23">Tubete 4 mL - Dolce &amp; Gabbana<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[140].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[141].focus()'>

    <tr><td height="23">
    <p align="center">77<td height="23">Tubete 4 mL - Fahrennheit<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[141].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[142].focus()'>

    <tr><td height="23">
    <p align="center">80<td height="23">Tubete 4 mL - Polo Sport<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[142].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[143].focus()'>

    <tr><td height="23">
    <p align="center">81<td height="23">Tubete 4 mL - Ted Lapidus<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[143].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[144].focus()'>

    <tr><td height="23">
    <p align="center">89<td height="23">Tubete 4 mL - Eternity<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="2.00" onfocus='this.form.quant[144].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.quant[145].focus()'>

    <tr><td height="16"><td colspan=4 height="16"><hr noshade>

    <tr><th colspan="5" height="26"><font size="5">VESTUÁRIO</font><tr>
    <th height="19">CÓDIGO<th height="19">
    DESCRIÇÃO<th height="19">PREÇO (R$)<th height="19">QUANTIDADE<th height="19">SUBTOTAL

    <tr><td height="23">
    <p align="center">T723<td height="23">Bermuda Masculina Areia Tam. G<td align="center" height="23">
    <p align="center">
    <input type="text" name="preço" size=6 value="25.00" onfocus='this.form.quant[145].focus()'>
    <td height="23">
    <p align="center">
    <input type="text" name="quant" size=6 value=""     onchange='recalculaTotais(this.form)' style="text-align: center">
    <td height="23">
    <p align="center"><input type="text" name="total" size=6 value=""     onfocus='this.form.bot.focus()'>

    <tr><td height="16"><td colspan=4 height="16"><hr noshade>

    <tr><td height="23"><td height="23"><td align="center" height="23">
      <td height="23"><b>TOTAL :</b>
    <td height="23">
    <p align="center"><input type="text" name="totalgeral"
           size=6 value="" onfocus='this.form.bot.focus()'>
      </table>
        </center>
      </div>
      <p align="center">
    <input type="submit" name="bot" value="Finalizar Pedido"> </p>
    <P>
  </form>
</body>
</html>

Edited by fercosmig
Utilize as tags de código.
Link to comment
Share on other sites

  • 0
Guest --LUCIANO --

vou verificar com relação aos fechamentos da tr's e td's.

Mas ele estava funcionando perfeitamente até eu incluir um item além do que já existe...aí ele dava o valor total, mas não finalizava o pedido...

se puder dá uma conferida...do jeito que está ele funciona, mas se você colocar mais uma linha com item...aí dá pau

Valeu!!!

Link to comment
Share on other sites

  • 0
Guest --Luciano --

Bem, vamos recapitular:

tenho uma tabela com as seguintes colunas: código, produto, preço, quantidade, subtotal.

O preço é fixo...o que pode variar é a quantidade...essa é inserida pelo cliente.

Assim que ele insere a quantidade é calculado o sub-total, bem como o total geral.

Podem me dar uma dica de como fazer isso, já que com aquele meu código anterior só consigo incluir 146 itens....mais do que isso e não consigo finalizar o pedido.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.2k
    • Total Posts
      647.5k
×
×
  • Create New...