Internet-related exchange-traded funds were among the top performers of Friday's session, as M&A activity boosted both the sector and the major averages.

Before the opening bell, Microsoft ( MSFT) said it will acquire Internet marketer aQuantive ( AQNT) for $6 billion in cash. The deal values shares of aQuantive at $66.50, an 83% premium over its last close.

aQuantive jumped more that 77% following the news, and other individual names were bidding higher as well. RealNetworks ( RNWK) was rising 2.8%, Akamai Technologies ( AKAM) added 2.6%, and Yahoo! ( YHOO), which Microsoft had pursued earlier this month, was up 2.1%.

The Internet Infrastructure HOLDRs ( IIH) was adding 13 cents, or 2.6%, to $5.13. The First Trust Dow Jones Internet Index ( FDN) was higher by 60 cents, or 2.5%, at $25.22.

Bundled securities tracking crude oil were also among the winners, as the front-month June contract continued its recent ascent. Crude was last up 25 cents to $65.11 a barrel, a gain of 4.4% for the week.

The Ultra Oil & Gas ProShares ( DIG) was adding $2.47, or 2.7%, to $94.08. The SPDR Oil & Gas Exploration & Production ( XOP) ETF was recently up 72 cents, or 1.6%, to $45.65. The PowerShares Dynamic Energy Exploration ( PXE) ETF gained 33 cents, or 1.5%, to $22.50.

Retailer-related ETFs were getting a boost from a 4.2% climb in shares of Lowe's ( LOW). The Retail HOLDRs ( RTH) was up 1.1% at $104.31, and the SPDR S&P Retail ( XRT) added 33 cents, or 0.8%, to $42.97.

Meanwhile, the HealthShares Emerging Cancer ( HHJ) ETF was one of very few losers for the day. Dendreon ( DNDN) eased 3%, and the HealthShares Emerging Cancer ETF was recently down 0.4%.