add:  createResourceCounters();  
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./*	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 (var i=0; i<7; i++)		{			g_GameAttributes.slots[i+1].assignLocal();			console.write ("Slot "+(i+1)+" is assigned: " + g_GameAttributes.slots[i+1].assignment);		}	}*/    // 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); // , g_ConfigDB.system["sound.mastergain"]);    // Start refreshing the session controls.	setInterval( snRefresh, 1, 100 );}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/7dd219756b44102fbab2e7cc9ffbd5a04a4422b3/functions_page_pregame_load.js/buggy/binaries/data/mods/official/gui/test/functions_page_pregame_load.js