rem: powerbuttons[0].setState(so.power == 0); powerbuttons[1].setState(so.power == 1); 
add: if (powerbuttons[0].setState) { powerbuttons[0].setState(so.power == 0); powerbuttons[1].setState(so.power == 1); } 
context: function getStatusResponse(statusobj) {	var so = unCLI(statusobj.result);	currentSong = so.playlist_cur_index;	if (currentSong == undefined) currentSong = -1;	songCount = so.playlist_tracks;	if (songCount == undefined) songCount = 0;	// Only redownload the playlist if it seems to have changed.	if (!statusobj.force && ((!playlistObj) ||	    (songCount != playlistObj.length) ||	    (!playlistObj[currentSong]) ||	    (Math.round(playlistObj[currentSong].secs) != Math.round(so.duration)))) {		// if there is a new playlist, we can't update until it's		// loaded, since it has the song title etc. So hold on to the		// statusobj and get the playlist first.		statusobj.force = true;		getPlaylist(function() { getStatusResponse(statusobj); });		return;	} 	curPlayMode = so.mode;	curRep = so['playlist repeat'];	for (var i = 0; i < 3; i++) repeatbuttons[i].setState(i == curRep);	curShuf = so['playlist shuffle'];	for (var i = 0; i < 3; i++) shufflebuttons[i].setState(i == curShuf);	powerbuttons[0].setState(so.power == 0);	powerbuttons[1].setState(so.power == 1);	volumebar.setValue(so['mixer volume'] / 10);	progressAt = Math.round(so.time);	var newProgressEnd = Math.round(so.duration);	if (progressEnd != newProgressEnd) {		progressEnd = newProgressEnd;		progressEndText = timetostr(progressEnd);	}	updateStatus();}
meta: 6551	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6551/640ecba6dfa45ecaaf358a84cbab7864eb83599f/status.js/clean/HTML/ExBrowse3/html/status.js