<?
session_start();
if ($_SESSION['estado'] != "ON")
		{
		?>
		<script>
			parent.location.href = 'index.php';
		</script>
		<? 
		exit();
		}
$id_empresa = $_SESSION['ss_empresa'];
$id_user = $_SESSION['ss_user'];
?>
<?php
include("../conex.php");
$cant = "1";
$flag=0;
?>
<?php
include("../conex.php");
include("../css/mascara_fecha.js");
if ($fecha=='') $fecha = date(d)."/".date(m)."/".date(Y);
?>
<script language="JavaScript" src="../css/cal.js" type="text/JavaScript"></script>
<form id="form1" name="form1" method="post" action="">
<table width="640" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
	<tr bgcolor="#000000"> 
		<td width="10%"><div align="center"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">Cant.</font></strong></div></td>
		<td width="5%"><div align="center"></div></td>
		<td width="20%"><div align="center"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">C&oacute;digo</font></strong></div></td>
		<td width="42%"><div align="center"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">Detalle</font></strong></div></td>
		<td width="9%"><div align="center"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">Precio</font></strong></div></td>
		<td width="14%"><div align="center"><strong><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">Total $</font></strong></div></td>
    </tr>
	<tr> 
		<td width="10%"><div align="center"><strong><font color="#333333" face="Arial, Helvetica, sans-serif">
			<input name="cantidad" id="cantidad" type="text" style="width:100%">
		</font></strong></div></td>
		<td width="5%" align="center"><a onClick="JavaScript:PopWindow()">
			<IMG align="top" border="0" src="Images/modificar.gif" style="cursor:pointer" title="Presione aqui para buscar producto" width="16" height="16">
		</a></td>
		<td width="20%"><div align="center"><strong><font color="#333333" face="Arial, Helvetica, sans-serif">
			<input name="codigo" id="codigo" type="text" style="width:100%">
		</font></strong></div></td>
		<td width="42%"><div align="center"><strong><font color="#333333" face="Arial, Helvetica, sans-serif">
			<input name="detalle" id="detalle" type="text" style="width:100%">
		</font></strong></div></td>
		<td width="9%"><div align="right"><strong><font color="#333333" face="Arial, Helvetica, sans-serif">
			<input name="precio" id="precio"  style="width:100%">
		</font></strong></div></td>
		<td width="14%"><div align="right"><strong><font color="#333333" face="Arial, Helvetica, sans-serif">
			<input name="total" id="total" style="width:100%">
		</font></strong></div></td>
    </tr>
</table>
<p>&nbsp;</p>
</form>