Article Photos: Stocks gain on optimism that a budget deal is near 1/1