}
function denegar($ruta)
{
    ?>
			<script>
				alert('El registro fue :.:¡No Exitoso!:.:');
				var url = "../../capaPresentacion/UI/" + "<?php 
    echo $ruta;
    ?>
";
				location.href = url;
			</script><?php 
}
#Push of buttom Autos.**********
if (isset($_POST[add_Auto])) {
    $inserting = $objTransaccion->reg_Auto($_POST[matricula], $_POST[marca], $_POST[modelo], $_POST[color], $_POST[antiguedad], $_POST[potencia], $_POST[velocidad], $_POST[precio]);
    if ($inserting) {
        accede('cg_Autos.php');
    } else {
        denegar('reg_Auto.php');
    }
}
if (isset($_POST[act_Auto])) {
    $Updating = $objTransaccion->update_Auto($_POST[matricula], $_POST[marca], $_POST[modelo], $_POST[color], $_POST[antiguedad], $_POST[potencia], $_POST[velocidad], $_POST[precio]);
    if ($Updating) {
        accede("cd_Auto.php?btn_Query={$_POST['matricula']}");
    } else {
        denegar("cd_Auto.php?btn_Query={$_POST['matricula']}");
    }
}
if (!empty($_GET[del_Auto])) {