rem: if (!curPlayer && players[indexToSelect]) curPlayer = players[indexToSelect].id; 
add: if (players.length == 0) { curPlayer = false; } else if (!curPlayer && players[indexToSelect]) { curPlayer = players[indexToSelect].id; } 
context: function getPlayerListContinue(res) {	var players = res.result;        var indexToSelect = 0;	for (var i = 0; i < players.length; i++) {		var pli = players[i];		pli.value = pli.id;		if (pli.id == curPlayer) {               	        indexToSelect = i;		}	}        if (players.length <= 1) {                playerlistbox.getEl().style.visibility = "hidden";        } else {                playerlistbox.getEl().style.visibility = "visible";        }        playerlistbox.update(players);        playerlistbox.selectIndex(indexToSelect);	if (!curPlayer && players[indexToSelect]) curPlayer = players[indexToSelect].id;}
meta: 6551	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6551/89ef973226bf20e2689f5a0e6d2d9717037f1e2b/main.js/clean/HTML/ExBrowse3/html/main.js