
        this.GamePreview = function(){  
                // Emplacement de l'image par rapport au pointeur

                xOffset = 150; // Décalage à droite
                yOffset = -70; // Décalage en haut

                $(".flash a").hover(function(e){
                        this.t = this.title;
                        this.title = "";        
                        var c = (this.t != "") ? "<br/>" + this.t : "";
                        $("body").append("<p id='game'><img src='"+ this.rel +"' alt='Game Preview' />"+ c +"</p>");                                                             
                        $("#game")
                        .css("top",(e.pageY - xOffset) + "px")
                        .css("left",(e.pageX + yOffset) + "px")
                        .fadeIn("500");                                         
                },
                function(){
                        this.title = this.t;    
                        $("#game").remove();
                });     
                $(".flash a").mousemove(function(e){
                        $("#game")
                        .css("top",(e.pageY - xOffset) + "px")
                        .css("left",(e.pageX + yOffset) + "px");
                });                     
        };
        
        // On lance le script apres le chargement de la page
        $(document).ready(function(){
                GamePreview();
        });


