    
    var playerIntro = null;
    var playerFull = null;

    window.addEvent('domready', function() {

        $$('ul.contatti input').setStyle('opacity', 0.6);
        $$('ul.contatti textarea').setStyle('opacity', 0.6);
        $$('ul.contatti select').setStyle('opacity', 0.6);
        $$('span.errorLabel').setStyle('opacity', 0.6);
        $$('span.errorLabel2').setStyle('opacity', 0.6);

        // Identifico se il link è presente
        if ($$('.fullscreen a').length > 0) {

            var fullscreen = false;

            var closeFullscreen = function(ev){
                ev = new Event(ev); 

                if (ev.key == 'esc' && fullscreen) {
                    if (playerIntro && playerFull) {
                        $(document.body).setStyle('background', '#1f1b18 url("/images/main.jpg") repeat-x left top');
                        $('introfull').setStyle('visibility', 'hidden');
                        $('overflow').setStyle('visibility', 'hidden');
                        $('wrap').setStyle('visibility', 'visible');
                        $('wrap').setStyle('height', 'auto');
                        playerFull.sendEvent("PLAY", false);
                        
                        fullscreen = false;
                    }
                }
            };
                 
            // Pressione ESC
            if (Browser.Engine.trident){
                $(document.body).addEvent('keyup', closeFullscreen);
            }
            else {
                window.addEvent('keypress', closeFullscreen);
            }

            // Click Fullscreen
            $$('.fullscreen a')[0].addEvent('click', function(ev){
                ev = new Event(ev);
                ev.stop();

                //alert(playerIntro.id);
                //alert(playerFull.id);

                if (playerIntro && playerFull) {
                    playerIntro.sendEvent("PLAY", false);

                    var winSize = window.getSize();
                    var docSize = $(document.body).getSize();
                    
                    $(document.body).setStyle('background', '#000000');
                    $('introfull').setStyle('visibility', 'visible');
                    $('overflow').setStyle('visibility', 'visible');
                    $('overflow').setStyle('height', winSize.y - 5);
                    $('overflow').setStyle('opacity', '0.01');  // IE Fix
                    $('overflow').setStyle('width', '100%');
                    $('wrap').setStyle('visibility', 'hidden');
                    $('wrap').setStyle('height', winSize.y - 5);
                    playerFull.sendEvent("PLAY", true);
                    
                    fullscreen = true;
                }

            });
        }
        
    });

    function playerReady(obj) {
        //alert(obj['id']);
        if (obj['id'] == 'Intro_Home') { playerIntro = document.getElementById(obj['id']); }
        else { playerFull = document.getElementById(obj['id']); $('introfull').setStyle('visibility', 'hidden'); }
        //if (playerObj) { alert($(playerObj)); }
    }