        var seconds, gameBox;
        var countdownfrom=11;
        var currentsecond=countdownfrom;
        function updateSeconds() {
            if (currentsecond) {
                if (currentsecond!=1) {
                    currentsecond-=1;
                    seconds.html(seconds.html().replace(currentsecond+1, currentsecond));
                    if (currentsecond==1) {
                        $('#fb-comment-container').css('height', '');
                        $("#middle").width($("#middle").width()+226);
                        $("#random-games-div").css('width', '226px');
                        $("#random-games-div").parent().css('width', '400px');
                    }   
                }
                else {
                    seconds.hide();
                    gameBox.css('height', '');
                }
            }
        }
        
        $(document).ready(function($) {
            seconds = $('#loading-seconds');
            gameBox = $('#game-box');
            $('#fb-comment-container').css('height', '0px');
            $("#random-games-div").css('width', '0px');
            gameBox.css('height', '0px');
            
            $("#middle").width($("#middle").width()-113);
            
            setInterval( 'updateSeconds()', 1000 );
        });
        
