Stocks climbed today, ending the week higher, as Wall Street shrugged off the latest violence in London and the tightened security in the subways that stock traders ride to work.

Stronger corporate earnings got credit for keeping the market moving up -- but investors were disappointed by some of the best-known companies reporting.

Shares of Google dropped even though the Internet search company's profits quadrupled. Google's stock has already quadrupled over the past year, so there was no reason for the report to push them higher.

Whether Google can maintain its momentum worried investors. The same issue plagued Microsoft Inc., whose shares slipped Friday even though profits were slightly better than expected. Sales were a little weak, raising concerns about how the company will do in the months ahead.

The Standard & Poor's 500 stock index climbed almost 7 points today, closing at 1,233.68. The S&P, which professionals regard as the best measure of the market hit a new high for the year on Wednesday and was up 6 points for the week. It now is up 1.8 percent for the year, outperforming other indexes.

The technology-dominated Nasdaq Stock Market composite index, climbed only a point today, to 2,179.74 and also is up for the year -- if only by a tiny 0.2 percent..

The Nasdaq composite climbed past its previous high for the year on Wednesday, reaching a new four-year peak. After retreating predictably Thursday, the index recovered enough Friday to end the week up 23 points.

The Dow Jones industrial average gained 23 points today to 10,651.18. Up 10 points in the last week, the Dow is down 1.2 percent year-to-date.