<script>
 
</script>


<script> 


function AddSelectOption(selectObj, text, value, isSelected) 
{
    if (selectObj != null && selectObj.options != null)
    {
        selectObj.options[selectObj.options.length] = 
            new Option(text, value, false, isSelected);
    }
}

function mensaje()

{

//alert ("CREADO"); 

};

</script>

<script language="Javascript">

function preguntar(inst1,dato){

eliminar=confirm("Borra este item? " + dato);

if (eliminar)

window.location.href = inst1; 

}

</script>
 
<form name="form2" id="form2" method="post" action="guardagastos.php"  >

  <table width="490" border="0" cellpadding="1" style="line-height:25px">

    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Factura</font></td>
      <td height="26"  ><input name="txtitem4" type="text"  id="txtitem4" /></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Egreso (no cheque o póliza de cheque)</font></td>
      <td height="26"  ><input name="txtitem3" type="text"  id="txtitem3" /></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Fee</font></td>
      <td height="26"  ><input name="txtitem5" type="text"  id="txtitem5" /></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Fecha de pago</font></td>
      <td height="26"  ><input name="txtitem6" type="text"  id="txtitem6" /></td>
    </tr>
    <tr>
      <td height="26" colspan="2"  ><font size="2" face="Arial, Helvetica, sans-serif"><b>Maniobras</b></font></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Liberación</font>&nbsp;&nbsp;</td>
      <td  ><input name="txtitem2" type="text"  id="txtitem2" /></td>
    </tr>
    <tr> 

      <td width="81" height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Muellaje</font></td>
      <td width="81"  ><input name="txtitem" type="text"  id="txtitem" /></td>

      

    </tr>
    <tr>
      <td height="26" colspan="3" ><font size="2" face="Arial, Helvetica, sans-serif"><b>Maniobras extra</b></font></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Terrestre</font>&nbsp;&nbsp;</td>
      <td  ><input name="txtitem" type="text"  id="txtitem" /></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Entrega de vacio</font></td>
      <td  ><input name="txtitem7" type="text"  id="txtitem7" /></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Material adicional</font></td>
      <td  ><input name="txtitem9" type="text"  id="txtitem9" /></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Cambio de buque</font></td>
      <td  ><input name="txtitem10" type="text"  id="txtitem10" /></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Cambio de peso</font></td>
      <td  ><input name="txtitem11" type="text"  id="txtitem11" /></td>
    </tr>
    <tr>
      <td height="26"  ><font size="2" face="Arial, Helvetica, sans-serif">Clossing</font>&nbsp;&nbsp;</td>
      <td  ><input name="txtitem" type="text"  id="txtitem" /></td>
    </tr>
    <tr>
      <td height="26" colspan="3" ><input type="button" name="Submit" value="Guardar" onclick="AddSelectOption(parent.document.getElementById('recomendaciones1'),  document.getElementById('txtitem').value,  document.getElementById('txtitem').value, false);
      AddSelectOption(parent.document.getElementById('recomendaciones2'), document.getElementById('txtitem').value,  document.getElementById('txtitem').value, false);
      AddSelectOption(parent.document.getElementById('recomendaciones3'), document.getElementById('txtitem').value,  document.getElementById('txtitem').value, false);
     AddSelectOption(parent.document.getElementById('recomendaciones4'), document.getElementById('txtitem').value,  document.getElementById('txtitem').value, false);document.getElementById('form2').action='guardagastos.php';document.getElementById('form2').submit();" />
      &nbsp;&nbsp;</td>
    </tr>

  </table>

 <br />

    <?php

	include("../comun/conex_ver.php"); 
	$link=con_ver();
 
?>
</form>

 