rem: console.write ("Closed slot " + this.name); 
context: 			getGUIObjectByName ("pgSessionSetupP" + i).onSelectionChange = function (event)			{				var slotNumber = this.name.substring (this.name.length-1, this.name.length);				switch (getCurrItemValue (this.name))				{					case "Open":						// If "Open" selected, 										// Open the slot.						g_GameAttributes.slots[slotNumber-1].assignOpen();						console.write ("Opened slot " + this.name);					break;					case "Closed":						// If "Closed" selected,						// And slot is occupied,						if (g_GameAttributes.slots[slotNumber-1].assignment == "session")						{							// Remove player name from slot list.							removeItem (this.name, g_GameAttributes.slots[slotNumber-1].player);							// Prompt that player was kicked.							// (Change this to a chat message when functionality available.)							console.write (g_GameAttributes.slots[slotNumber-1].player + " was kicked by the host.");						}								// Close the slot.						g_GameAttributes.slots[slotNumber-1].assignClosed();						console.write ("Closed slot " + this.name);					break;					default:					break;				}			}
meta: 4	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4/b17df7db8cb5dfd89e982c72f156c1b0d3e0e940/functions_page_pregame_setup.js/clean/binaries/data/mods/official/gui/test/functions_page_pregame_setup.js