                        var flashVersion = "9";
                                /*
                    Here you can set the variables for the player.
                    state: minimized / maximized - changes default for how the player should look upon load
                    launchButton: true / false - changes default visabilty for player's launch button, by default the popup is set to 'false'
                                */
            var flashvars = { state:"minimized", launchButton:"true" };
            var params = { wmode:"transparent" };
            var attributes = { id:"musicPlayer", bgcolor: "#000000" };
            if (swfobject.hasFlashPlayerVersion(flashVersion))
            {
                /*
                    The Flash object is embedded at 100% because this allows you to control it
                    more accurately with the HTML containers.
                */
                swfobject.embedSWF("index.swf", "music_player", "100%", "100%", flashVersion, false, flashvars, params, attributes);
            }
            function launchPopup()
            {
                var url = "popup.html";
                var features = 'location=0,statusbar=0,menubar=0,resizable=no,scrollbars=no,top=50,left=50,screenX=100,screenY=100,width=292,height=260';
                var target = '_blank';
                var theWindow = window.open(url, target, features);
                return theWindow;
            }
            /*
                The minimise/maximise functions are designed to resize the HTML element containing
                the Flash object, so that it does not interfere with clicking on text underneath it.
                Without these functions, the player works the same visually but might invisibly
                block mouse actions on the page.
            */
            function minimiseFlashHolder() { document.getElementById('player_holder').style.height = '122px'; }
            function maximiseFlashHolder() { document.getElementById('player_holder').style.height = '260px'; }




