Stocks snap a losing streak Stocks notched their first gain of the week Thursday after Spain announced severe budget cuts intended to convince the world that it can meet deficit-reduction targets. It was the best day for the U.S. market since Sept. 13, when Federal Reserve Chairman Ben Bernanke announced further steps by the central bank to speed the economic recovery. Stocks were also helped by speculation that the central bank of China will act soon to help the world's No. The Dow Jones industrial average climbed 72.46 points, or 0.5 percent, to close at 13,485.97. It was the Dow's first gain in five trading sessions. The average was up as much as 109 points after the Spain announcement. The Standard & Poor's 500 index, after five days of declines, closed up 13.83 points, or just shy of 1 percent, at 1,447.15. The Nasdaq composite index rose 42.90 points to 3,136.60. The Nasdaq and S&P were helped by a jump in Apple stock, reversing three days of declines. Apple gained $16.14, or 2.4 percent, to $681.32 despite an analyst's report reducing estimates for shipments of iPhones later this year. As fear grew that Spain will need an international bailout, the finance minister said a draft budget for 2013 cuts overall spending by (euro) 40 billion, or about $51 billion. He said cuts for ministries would average almost 9 percent. The cuts are meant to show world investors and other countries that Spain can meet fiscal targets. The budget unveiling, shortly before noon EDT, lifted the U.S. stock market from what had been only modest gains. "That's the only major thing that's happened," said Dan Greenhaus, chief global strategist for the brokerage BTIG. It's an excuse to rally the stock market. Technology stocks and energy companies made the biggest gains. The market gains started earlier, in Asia, helped by expectations that the People's Bank of China will act soon. China's biggest steelmaker said Thursday it has shut down a mill in Shanghai, a sign of weakening growth. The number of Americans who signed contracts to buy previously occupied homes fell in August from a two-year high in July. The National Association of Realtors' sales index is still 10 percent higher than it was a year ago. The benchmark stock index finished 0.7 percent higher in France and 0.2 percent higher in Germany and Britain. Borrowing costs for financially troubled Spain and Italy also edged down, a positive sign. The yield on the 10-year note, which moves opposite the price, rose 0.03 percentage point to 1.65 percent. The price of crude oil rose $1.87 per barrel to $91.85 as concerns mounted about a potential military confrontation over Iran's nuclear program. Israeli Prime Minister Benjamin Netanyahu warned at the United Nations that Iran will have enough enriched uranium to make a nuclear bomb by next summer and urged the world to draw a "red line" to stop it. The dollar fell against the euro and pound but rose against the yen. Among other U.S. companies making moves: Tempur-Pedic International, the mattress company, climbed $3.86, or 14.4 percent, to $30.64 after announcing it would buy a rival, Sealy, for about $229 million in cash. Discover Financial Services rose $2.69, or 7.3 percent, to $39.71. It reported a slight earnings decline in its latest quarter but beat Wall Street expectations. It also said credit card use increased and more customers paid off cards on time. GE hit a four-year high after the company told analysts it expects industrial revenue to rise about 10 percent this year. GE gained 63 cents, or 2.9 percent, to $22.73 in afternoon trading. They rose as high as $22.86.