    function showGamerCard(rawuser) {
        var user = escape(rawuser);

        var MM_contentVersion = 8;
        var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
        if ( plugin ) {
            var words = navigator.plugins["Shockwave Flash"].description.split(" ");
            for (var i = 0; i < words.length; ++i) {
                if (isNaN(parseInt(words[i])))
                continue;
                var MM_PluginVersion = words[i]; 
            }
            var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
        } else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
            var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + MM_contentVersion);
            var vinfo = axo.GetVariable("$version").split(" ");
            var vMajor = parseFloat(vinfo[1].split(','));
            MM_FlashCanPlay = (vMajor >= MM_contentVersion);
        }
        if ( MM_FlashCanPlay ) {
            document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
            document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
            document.write(' ID="script" WIDTH="198" HEIGHT="135" ALIGN="">');
            document.write(' <PARAM NAME=movie VALUE="http://card.mygamercard.net/'+ user +'.swf"> <PARAM NAME=quality VALUE=high> <param name="wmode" value="opaque" /> '); 
            document.write(' <EMBED src="http://card.mygamercard.net/'+ user +'.swf" quality=high ');
            document.write(' swLiveConnect=FALSE WIDTH="198" HEIGHT="135" NAME="script" ALIGN=""');
            document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode="opaque">');
            document.write(' </EMBED>');
            document.write(' </OBJECT>');
        } else{
            document.write('<IMG SRC="http://card.mygamercard.net/' + user + '.png" WIDTH="199" HEIGHT="135" BORDER=0>');
        }
    }
