<?php
 
session_start();
$com = "A";
include("DMMYSQLG.php");
include("DSA3000.php");
//include("DMMYSQLG.php");
include('JQUERY.inc');
?>
<html>
<link rel="stylesheet" href="css/estilo1.css" type="text/css"/>
<script type="text/javascript" language="JavaScript1.2" src="DSSCRIPT.js"></script>
<style type="text/css">
<!--
#Layer2 {
	position:absolute;
	 left:0px;
	top:0px; 
	width:250px;
	height:170px;
	z-index:1;
	overflow:auto;
	right:auto;
	 ;
}
.pp {
background-color:#666666;
 ;
}
.Estilo18 {font-size: 12px; font-weight: bold; }
-->
</style>
<body>
<div id="Layer2"></div>
<?php
 
//$ayuda = 'DI1130A_AG.php';
//include("DYAYUDA.php");
?>
<form  name="frm1" id="frm1" method="post" action="">
  <table width="559" border="0" align="center">
    <tr>
      <th colspan="2" class=\"titulo\"><div align="center">AGREGAR CATALOGO DE LINEAS</div></th>
    </tr>
    <tr>
      <td style="#FC6171"><span class="Estilo18">Descripcion de la linea</span></td>
      <td style="#D2BEE4"><input name="t1" type="text" id="t1" size="50"/></td>
    </tr>
    <tr>
      <td style="#FC6171"><span class="Estilo18">Cuenta Costo: </span></td>
      <td style="#D2BEE4"> 
      <input name="t2" type="text" id="t2" tabindex="20" onKeyPress="return validar(event)" size="15"
<?php
 
if(isset($_REQUEST['t5'])){
	echo 'value = "'.$_REQUEST['t5'].'"';
}
?>>
<!--      <input type="button" name="Submit2222" value="Buscar" onClick="javascript:recibeid('DYCUENTAD.php','ob=t2','','Layer2'); " tabindex="10"></td>-->
    </tr>
    <tr>
      <td style="#FC6171"><span class="Estilo18">Cuenta Inventario: </span></td>
      <td style="#D2BEE4"> 
      <input name="t3" type="text" id="t3" tabindex="20" onKeyPress="return validar(event)" size="15"
<?php
 
if(isset($_REQUEST['t5'])){
	echo 'value = "'.$_REQUEST['t5'].'"';
}
?>>
<!--      <input type="button" name="Submit22222" value="Buscar" onClick="recibeid('DYCUENTAD.php','ob=t3','','Layer2'); " tabindex="10"></td>-->
    </tr>
    <tr>
      <td style="#FC6171"><span class="Estilo18">Cuenta Venta </span></td>
      <td style="#D2BEE4"><input name="t4" type="text" id="t4" tabindex="20" onKeyPress="return validar(event)" size="15"
<?php
 
if(isset($_REQUEST['t5'])){
	echo 'value = "'.$_REQUEST['t5'].'"';
}
?>>
<!--        <input type="button" name="Submit222222" value="Buscar" onClick="('DYCUENTAD.php','ob=t4','','Layer2'); " tabindex="10"></td>-->
    </tr>
    <tr>
      <td style="#FC6171"><span class="Estilo18">Devoluciones Ventas: </span></td>
      <td style="#D2BEE4"> 
        <input name="t5" type="text" id="t5">      </td>
    </tr>
    <tr>
      <td width="212" style="#FC6171"><span class="Estilo18">Descuentos y Bonificaciones </span></td>
      <td width="331" style="#D2BEE4"> 
        <input name="t6" type="text" id="t6">      </td>
    </tr>
    <tr>
      <td style="#FC6171"><span class="Estilo18">Ubicacion:
          <label></label>
      </span></td>
      <td style="#D2BEE4"><label>
        <select name="ubicacion" id="ubicacion">
          <option value="A"  <?php
 if (!(strcmp('A', (isset($_REQUEST['ubicacion']))?$_REQUEST['ubicacion']:""))) {echo "selected=\"selected\"";} ?>>ALMACEN</option>
          <option value="V"  <?php
 if (!(strcmp('V', (isset($_REQUEST['ubicacion']))?$_REQUEST['ubicacion']:""))) {echo "selected=\"selected\"";} ?>>VENTAS</option>
        </select>
</label></td>
    </tr>
    <tr>
      <th colspan="2"><div align="center">
        <input name="Submit" type="button" id="Submit" value="Guardar" onClick="openpage('cat_lineas_AC.php','_self')" class="original"/>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
          <input type="reset" name="Submit2" value="Regresar" onClick="openpage('cat_lineas_PR.php','_self')" class="bot_WsW"/>
        </div></th>
    </tr>
  </table>
</form>
</body>
</html>
