rem: startPlacing (Crd[getCrd (this.name, true)].entity); 
add: tryConstruction( Crd[getCrd (this.name, true)].entity ); 
context: 							listObject.onPress = function (event)							{								switch (tab)								{									case "train":										// TODO: Remove this item from the production queue if right-clicked.										issueCommand(selection, NMT_Produce, PRODUCTION_TRAIN, ""+(Crd[getCrd (this.name, true)].entity));									case "research":										// Add this item to the production queue if left-clicked.										// Remove this item from the production queue if right-clicked.									break;									case "barter":										// Buy a quantity of this resource if left-clicked.										// Sell a quantity of this resource if right-clicked.									break;									case "structciv":									case "structmil":										// Select building placement cursor.										startPlacing (Crd[getCrd (this.name, true)].entity);									break;									case "garrison":										// Remove this item from the entity's garrison inventory.									break;									case "selection":										// Change the selection to this unit.									break;									default:									break;								}							}									
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/7dd219756b44102fbab2e7cc9ffbd5a04a4422b3/functions_page_session_status_commands.js/clean/binaries/data/mods/official/gui/test/functions_page_session_status_commands.js