For those who have been asking about how many episodes of The West Wing had already been filmed before Spencer's death, the New York Times has an article at http://www.nytimes.com/2005/12/19/arts/television/19wing.html. I've quoted some relevant paragraphs below:
So far this season, NBC has broadcast nine new episodes of the show. Mr. O'Donnell said five more episodes had been completed, including the next one - to be shown on Jan. 8 - titled "Running Mates," which centers on Mr. Spencer's character. The episode or episodes in which the election takes place have not yet been filmed, Mr. O'Donnell said, nor have producers said when the fictional election would be broadcast.
Mr. O'Donnell said the show's staff had been on hiatus since last Monday and that questions about whether the next episode would need to be edited - to say nothing of the larger question of how to deal with the loss of a vice-presidential candidate in the midst of a campaign - would not be broached until the next scheduled production meeting, in the first week of January.