The price of oil climbed Friday after Israeli troops fired on crowds in Gaza surging toward a border fence, killing one Palestinian and wounding 19. Benchmark crude finished up 90 cents at $88.28 per barrel in New York.

The Dow Jones industrial average closed up 173 points to crack the 13,000 mark. Its 1.4% gain was matched by the Nasdaq composite index, and the S&P 500 was close behind, up 1.3%.

The Dow settled at 13,010.

Technology stocks soared, powering the rise of the Nasdaq. Dell (DELL), chipmaker AMD (AMD) and Hewlett-Packard (HPQ) were the top three gainers in the Standard & Poor's 500. Technology rose the most among the index's 10 industry groups.

Precious metals advanced, with silver and gold both reaching one-month highs, as a slump in the dollar made them more attractive to hold as investments. Gold gained $23.20, or 1.3%, to $1,751.40 an ounce.

German business confidence rose unexpectedly in November after six straight declines, a closely watched survey showed, raising hopes that Europe's largest economy can continue to weather the continent's financial crisis.

Munich's Ifo institute said its key business climate figure rose to 101.4 in November from 100 in October. Economists had predicted a modest drop.

China's manufacturing expanded for the first time in 13 months in November, the latest sign that the world's second-biggest economy is recovering from its deepest slump since the 2008 global crisis. HSBC Corp. said its monthly Purchasing Managers' Index improved to 50.4 for November. Any number above 50 indicates expansion.

The PMI measures overall manufacturing activity by surveying indicators including orders, employment and production. The result was released Thursday, when the U.S. market was closed for Thanksgiving.

Around the U.S., shoppers flocked to malls and logged on to computers to take part in the annual cheer-fueled retail rush known as Black Friday.

Many stores opened earlier than ever. Target and Toys R Us opened on Thanksgiving evening. Retailers are also trying to draw shoppers with free layaway and shipping, by matching prices of online rivals and by beefing up mobile shopping apps.

Retail is a key driver of the nation's economy. Consumer spending accounts for about 70 percent of U.S. economic activity. November and December, which can account for as much as 40% of a retailer's annual revenue, are crucial for stores.

The Friday after Thanksgiving is known as Black Friday because it begins the period in which many retailers turn profitable for the year. Traders will be looking for signs about how enthusiastically Americans are spending. That could reflect the momentum of the economic recovery.

Trading volume on Wall Street was light, with many investors away for an extended weekend after Thanksgiving. The market closed early, at 1 p.m. ET.

Investors are monitoring developments in Brussels, where European Union leaders are trying to agree on a $1.25 trillion long-term spending plan for the 27-nation bloc. Markets expect that another meeting will be needed for an agreement.

Among the stocks making big moves:

> Research in Motion (RIMM) jumped on growing optimism for an earlier-than-expected launch of its delayed BlackBerry 10 smartphone. A senior executive from the Canadian company said earlier this month that Research In Motion, or RIM, will release the latest version of its smartphone "not long after" a Jan. 30 event. One analyst saw that as an indication that the products are to be unveiled in February. U.S.-traded shares of RIM rose 13.7%.

> MAP Pharmaceuticals (MAPP) spiked after the company announced that the Food and Drug Administration will review its experimental migraine drug Levadex. The stock rose 20.3%.

> KIT Digital (KITD), a video software and technology company, lost more than half its value after the company's former chief executive accused it of blaming prior management for its financial problems. Two days earlier, KIT said it would restate its financial results because of accounting errors. The stock lost $1.33, or 64.3% to 74 cents.