rem: curr_music = newRandomSound('music', 'theme'); CrossFade(curr_session_playlist_1, curr_music, 0.0001); 
add: curr_music = newRandomSound('music', 'menu'); CrossFade(curr_session_playlist_1, curr_music, 0.1);   
context: function endSession(closeType){        // Occurs when the player chooses to close the current game.        switch (closeType)        {                case ("return"):                        // If the player has chosen to quit game and return to main menu,                        // End the session.                        endGame();                                                // Fade out current music and return to playing menu theme.                        curr_music = newRandomSound('music', 'theme');                        CrossFade(curr_session_playlist_1, curr_music, 0.0001);                        // Swap GUIs to display main menu.                        GUIObjectHide('SESSION_GUI');                        GUIObjectUnhide('PREGAME_GUI');                break;                case ("exit"):                        // If the player has chosen to shutdown and immediately return to operating system,                        exit();                break;        }}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/6c66566b2dbd57f8e4a3cc49455719a166425612/functions_pregame_load.js/clean/binaries/data/mods/official/gui/test/functions_pregame_load.js