}
-->
</style>
<script type="text/javascript" language="JavaScript1.2" src="js/stm31.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="js/funcion_nomina.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="../shared/js/number_format.js"></script>
<link href="css/nomina.css" rel="stylesheet" type="text/css">
<link href="../shared/css/tablas.css" rel="stylesheet" type="text/css">
<link href="../shared/css/ventanas.css" rel="stylesheet" type="text/css">
<link href="../shared/css/cabecera.css" rel="stylesheet" type="text/css">
<link href="../shared/css/general.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php 
	require_once("sigesp_snorh_c_tabulador.php");
	$io_tabulador=new sigesp_snorh_c_tabulador();
	require_once("../shared/class_folder/grid_param.php");
	$io_grid=new grid_param();
	uf_limpiarvariables();
	switch ($ls_operacion) 
	{
		case "NUEVO":
			uf_agregarlineablanca($lo_object,1);
			break;

		case "GUARDAR":
			$ls_codtab=$_POST["txtcodtab"];
			$ls_destab=$_POST["txtdestab"];
			$li_maxpasgra=$_POST["txtmaxpasgra"];
			$ls_codnom=$io_fun_nomina->uf_asignarvalor("cmbnomina",$_POST["txtcodnom"]);
			$io_tabulador->io_sql->begin_transaction();
<link href="css/nomina.css" rel="stylesheet" type="text/css">
<link href="../shared/css/tablas.css" rel="stylesheet" type="text/css">
<link href="../shared/css/ventanas.css" rel="stylesheet" type="text/css">
<link href="../shared/css/cabecera.css" rel="stylesheet" type="text/css">
<link href="../shared/css/general.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Estilo1 {color: #333333}
-->
</style>
</head>

<body>
<?php 
	require_once("sigesp_snorh_c_tabulador.php");
	$io_tabulador=new sigesp_snorh_c_tabulador();
	require_once("../shared/class_folder/grid_param.php");
	$io_grid=new grid_param();
	uf_limpiarvariables();
	switch ($ls_operacion) 
	{
		case "NUEVO":
			$ls_codtab=$_GET["codtab"];
			$ls_destab=$_GET["destab"];
			$ls_codpas=$_GET["codpas"];
			$ls_codgra=$_GET["codgra"];
			$ls_codnom=$_GET["codnom"];
			$li_calculada=$_GET["calculada"];
			$io_tabulador->uf_load_primagrado($ls_codtab,$ls_codpas,$ls_codgra,$ls_codnom,$li_totrows,$lo_object);
			break;