<?php
	session_start();
	include("cls_conexion.php");$CNN=new ClsMySQL();include("conexion23.php");
	if(strlen($_SESSION['SYS_USER_ID'])==0){JsDir("login.php");	return;}
	//-------------------------	
	$StrGT="";
	$VP_RegXPag=10;
	$LStrMsg="";
	$LStrFoc="";
	$LStrMM="";
	$LStrPag=V($_POST['TxtPag']);
	$LStrTR=gn("count(*)","usuarios","");
	include("coti_con_fun.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cotizacion - Condiciones</title>
<script type="text/javascript" src="funciones.js"></script>
<style type="text/css">
<!--
body {
	background-color: #CCC;
}
#Layer1 {
	position:absolute;
	left:345px;
	top:115px;
	width:123px;
	height:35px;
	z-index:1;
}
.centrarFrm{
     width:700px;
     height:600px;
     position:absolute;
     left:50%;
     top:50%;
	 background-color:#006699;
	 margin:-300px 0 0 -350px;

}
#Layer2 {
	position:absolute;
	left:409px;
	top:205px;
	width:82px;
	height:24px;
	z-index:1;
}
.Estilo1 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #FFFFFF;
}
.Estilo2 {font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #FFFFFF; font-size: 12px; }
.Estilo3 {color: #FFFFFF; font-size: 12px; font-family: Arial, Helvetica, sans-serif;}
.Estilo4 {color: #000099}
.Estilo5 {color: #000000}
#Frm center #DivFRM #layer .Estilo1 strong {
	color: #900;
}

-->
</style>

</head>
<body  <?php echo $LStrMsg;?>>
<form id="Frm" name="Frm" method="post" action="coti_con.php">
<center> 
  <div Id="DivFRM"  class="centrarFrm" >
    <div id="layer5" style="position:absolute; left: 60px; top: 156px; width: 128px; height: 25px;">
      <div align="left" class="Estilo2">PRECIOS</div>
    </div>
    <div id="layer4" style="position:absolute; left: 60px; top: 85px; width: 442px; height: 26px;">
      <div align="left" class="Estilo2">
        <input name="CmdG" type="button" id="CmdG" value="Actualizar"		
		onclick="ffGuardar();" style="width:80px" tabindex="2"/>
      </div>
    </div>
    <div id="layer" style="position:absolute; left: 116px; top: 21px; width: 412px; height: 45px; z-index: 100;">
      <div align="left" class="Estilo1">
        <input name="TxtId" type="hidden" id="TxtId" value="<?php echo $StrId;?>"/>
		<input name="TxtAc" type="hidden" id="TxtAc" value="" />
		<input name="TxtPag" type="hidden" id="TxtPag" value="<?php echo $LStrPag; ?>" />
      <strong>COTIZACION - CONDICIONES GENERALES</strong></div>
  </div>
    <div id="layer2" style="position:absolute; left: 192px; top: 159px; width: 441px; height: 25px;">
      <div align="left" class="Estilo2">        
          <input name="TxtPre" type="text" id="TxtPre" style="width:400px" 
          tabindex="1"  
          onKeyDown="return SoloTextoEx(event,'TxtIgv');" 
          value="<?php echo $StrPre;?>"  />
      </div>
    </div>
    <div id="LblTit" style="position:absolute; left: 52px; top: 15px; width: 64px; z-index: 100;">
    <div align="left" class="Estilo1">
    <img src="img/usuarios.png" width="48" height="48" /></div>
  </div>
    <div id="layer8" style="position:absolute; left: 0px; top: 0px; width: 700px; height: 79px; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; z-index: 0;">
      <div align="left" class="Estilo1">        
      </div>
</div>
    <div id="layer3" style="position:absolute; left: 192px; top: 193px; width: 441px; height: 25px;">
      <div align="left" class="Estilo2">
        <input name="TxtIgv" type="text" id="TxtIgv" style="width:400px" 
          tabindex="1"  
          onkeydown="return SoloTextoEx(event,'TxtMon');" 
          value="<?php echo $StrIgv;?>" />
      </div>
    </div>
    <div id="layer6" style="position:absolute; left: 60px; top: 193px; width: 128px; height: 25px;">
      <div align="left" class="Estilo2">IGV</div>
    </div>
    <div id="layer7" style="position:absolute; left: 192px; top: 225px; width: 441px; height: 25px;">
      <div align="left" class="Estilo2">
        <input name="TxtMon" type="text" id="TxtMon" style="width:400px" 
          tabindex="1"  
          onkeydown="return SoloTextoEx(event,'TxtFdp');" 
          value="<?php echo $StrMon;?>"  />
      </div>
    </div>
    <div id="layer9" style="position:absolute; left: 60px; top: 227px; width: 128px; height: 25px;">
      <div align="left" class="Estilo2">MONEDA</div>
    </div>
    <div id="layer10" style="position:absolute; left: 192px; top: 256px; width: 441px; height: 25px;">
      <div align="left" class="Estilo2">
        <input name="TxtFdp" type="text" id="TxtFdp" style="width:400px" 
          tabindex="1"  
          onkeydown="return SoloTextoEx(event,'TxtTde');" 
          value="<?php echo $StrFdp;?>" />
      </div>
    </div>
    <div id="layer11" style="position:absolute; left: 60px; top: 257px; width: 128px; height: 25px;">
      <div align="left" class="Estilo2">FORMA DE PAGO</div>
    </div>
    <div id="layer12" style="position:absolute; left: 192px; top: 289px; width: 441px; height: 25px;">
      <div align="left" class="Estilo2">
        <input name="TxtTde" type="text" id="TxtTde" style="width:400px" 
          tabindex="1"  
          onkeydown="return SoloTextoEx(event,'TxtGar');" 
          value="<?php echo $StrTde;?>"  />
      </div>
    </div>
    <div id="layer13" style="position:absolute; left: 60px; top: 289px; width: 128px; height: 25px;">
      <div align="left" class="Estilo2">TIEMPO DE ENTREGA</div>
    </div>
    <div id="layer14" style="position:absolute; left: 192px; top: 323px; width: 441px; height: 25px;">
      <div align="left" class="Estilo2">
        <input name="TxtGar" type="text" id="TxtGar" style="width:400px" 
          tabindex="1"  
          onkeydown="return SoloTextoEx(event,'TxtVal');" 
          value="<?php echo $StrGar;?>"  />
      </div>
    </div>
    <div id="layer15" style="position:absolute; left: 60px; top: 325px; width: 128px; height: 25px;">
      <div align="left" class="Estilo2">GARANTIA</div>
    </div>
    <div id="layer16" style="position:absolute; left: 192px; top: 357px; width: 441px; height: 25px;">
      <div align="left" class="Estilo2">
        <input name="TxtVal" type="text" id="TxtVal" style="width:400px" 
          tabindex="1"  
          onkeydown="return SoloTextoEx(event,'TxtSto');" 
          value="<?php echo $StrVal;?>" />
      </div>
    </div>
    <div id="layer17" style="position:absolute; left: 60px; top: 358px; width: 128px; height: 25px;">
      <div align="left" class="Estilo2">VALIDEZ DE OFERTA</div>
    </div>
    <div id="layer18" style="position:absolute; left: 192px; top: 390px; width: 441px; height: 25px;">
      <div align="left" class="Estilo2">
        <input name="TxtSto" type="text" id="TxtSto" style="width:400px" 
          tabindex="1"  
          onkeydown="return SoloTextoEx(event,'CmdG');" 
          value="<?php echo $StrSto;?>"  />
      </div>
    </div>
    <div id="layer19" style="position:absolute; left: 60px; top: 391px; width: 128px; height: 25px;">
      <div align="left" class="Estilo2">STOCK</div>
    </div>
  </div>
</center>	
        </form>
</body>
</html>
