<?
session_start();
if ($_SESSION['estado'] != "ON")
		{
		?>
		<script>
			parent.location.href = '../index.php';
		</script>
		<? 
		exit();
		}
$id_empresa = $_SESSION['ss_empresa'];
$id_user = $_SESSION['ss_user'];
$_SESSION['ss_bodega'] = $_POST["id_bodega"];

?><title>Ventas</title>
<table width="640" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="25%"><div align="center"><img src="Images/logo.gif" width="60px" height="60px"></div></td>
	<td width="50%"><div align="center"><strong><font size="6">VENTAS</font></strong></div></td>
    <td width="25%"><form id="form1" name="form1" method="post" action="">
		<table width="100%" border="0">
			<tr>
				<td width="10">&nbsp;</td>
          		<td width="10"><div align="left"><A  href="javascript:show_calendar('form1.fecha');"></A></div></td>
				<td width="140">&nbsp;
		  			
				</td>
        </tr>
      </table>

        </form>
    </td>
  </tr>
</table>
<table width="680" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr>
	<td><iframe name="venta2" src="venta2.php?cont=8&fecha=<?=$fecha?>" width=680 height="900" AllowTransparency="true" frameborder="0" align="middle"></iframe></td>
  </tr>
</table>
