rem: GUIObjectHide('session_gui'); GUIObjectUnhide('pregame_gui'); 
add: GUIObjectHide('SESSION_GUI'); GUIObjectUnhide('PREGAME_GUI'); 
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/79e56cf113523b71f02d6891bece166f364742e7/functions_pregame_load.js/clean/binaries/data/mods/official/gui/test/functions_pregame_load.js