// Inicializa el ciclo de la noticias
function doHeadlineSlide () {
    $('#news-slide').cycle({
        fx:     'scrollRight',
        speed:  500,
        timeout: 5000,
        pager:  '#headline-nav',
        pause: 1,
        pagerEvent: 'mouseover',
        pauseOnPagerHover: true
    });
}
// Inicializa el ciclo de la revista accion
function doRevistaAccionSlide () {
    $('#magazine-slide').cycle({
        fx:     'fade',
        speed:  300,
        pause: 1,
        pagerEvent: 'mouseover',
        pauseOnPagerHover: true
    });
}

var show_certiya = false;
var show_matricula = false;
var show_serviciosweb = false;
var show_centroca = false;
var show_proponentes = false;
var url_serviciosenlinea = "http://ccc.klan1.net/produccion/servicios-en-linea";

function initServiciosEnLinea() {
    //load the first "frame""
    $("#content-servicios-online").load(url_serviciosenlinea + "/intro.php");
    
    $("#btn-certiya").hover(
        //hover in
        function() {
            $("#content-servicios-online").load(url_serviciosenlinea + "/intro.php");
        },
        //hover out
        function() {
        });
    $("#btn-matricula").hover(
        //hover in
        function() {
            $("#content-servicios-online").load(url_serviciosenlinea + "/renovacion.php");
        },
        //hover out
        function() {
        });
    $("#btn-servicios-web").hover(
        //hover in
        function() {
            $("#content-servicios-online").load(url_serviciosenlinea + "/autoliquidacion-web.php");
        },
        //hover out
        function() {
        });
    $("#btn-centro-ca").hover(
        //hover in
        function() {
            $("#content-servicios-online").load(url_serviciosenlinea + "/autoliquidacion-ca.php");
        },
        //hover out
        function() {
        });
    $("#btn-proponentes").hover(
        //hover in
        function() {
            $("#content-servicios-online").load(url_serviciosenlinea + "/proponentes.php");
        },
        //hover out
        function() {
        });
}

function showServicioEnLinea (file_to_load) {

    
}
