add: setInterval( snRefresh, 1, 100 ); 
context: function setupSession (){        // Do essentials that can only be done when the session has been loaded ...        // For example, create the resource types, scores, etc, for each player.        // Initialise Resource Pools by attaching them to the Player object.        // (CPlayer code takes care of giving a copy to each player.)        createResources();/*	if (sessionType == "Skirmish")	{		// Set up a bunch of players so we can see them pretty colours. :P		console.write ("Setting Up Temporary Single Players");		// The first player is by default allocated to the local player in SP, so		// adding 7 players means that we'll have 8 players in total		for (i=0; i<7; i++)		{			g_GameAttributes.slots[i+1].assignLocal();			console.write ("Slot "+(i+1)+" is assigned: " + g_GameAttributes.slots[i+1].assignment);		}	}*/	// Set starting UI layout.	GUIType=rb;        flipGUI (GUIType);        // Select session peace track.        curr_session_playlist_1 = newRandomSound("music", "peace");        // Fade out main theme and fade in session theme.        crossFade(curr_music, curr_session_playlist_1, 0.1);			// janwas: greatly accelerate this timesink;			// will be replaced soon by native version that doesn't block.        // Start refreshing the session controls.//        setInterval( getObjectInfo, 1, 100 );}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/8ad796b4855c73dd3ab3060e9e09b7a6b53a7a4b/functions_page_pregame_load.js/clean/binaries/data/mods/official/gui/test/functions_page_pregame_load.js