    iniciaShadowbox = function(){
        //alert("inicia shadowbox");
        Shadowbox.init();
		
        //Captura el evento de los enlaces de las imagenes para pausar la cabecera en flash al ejecutar shadowbox. Mootools powa!! :D
        //Va a ser que al final no hace falta... :S porque no hay video... :S
        var links = $$('#accordion .lstFotos li a');
        links.each(function(elm){
            elm.addEvent('click', function(e){
                e = new Event(e).stop();
                //window.document.cabeceraSWF.SetVariable('jsvar', 'CONTENIDOSTOP');
            });
        });
    }
    iniciaRollovers = function(){
        //Rollover imagenes. Mootools powa!! (again) ;P
        var imgs = $$('#accordion .lstFotos li img');
        imgs.each(function(elm) {
            var fx = new Fx.Styles(elm, {duration:200, wait:false});

            elm.setStyle('opacity','0.7');

            elm.addEvent('mouseenter', function(){
                fx.start({opacity:1});
            });
            elm.addEvent('mouseleave', function(){
                fx.start({opacity:0.7});
            });

        });
    };
    window.addEvent('load', function(){iniciaRollovers();});
    window.addEvent('load', function(){iniciaShadowbox();});
