Article Photos: Stocks gain on hopes for a deal to avoid 'cliff' 1/1