The demise of newspapers could be a score for

Yahoo!

(YHOO)

Jim Cramer said during his "Mad Money" broadcast on Thursday that now is the right time to buy the search engine, which has experienced several years of dark times.

Believe it or not, says Cramer, advertising is poised for a recovery. And with fewer print publications for advertisers to turn to, the Internet will be the next vehicle of choice.

Cramer said online ads are expected to grow 50% between 2008 and 2010. In the past few weeks, both

Disney

(DIS) - Get Report

and

CBS

(CBS) - Get Report

said their advertising revenue is stabilizing, while

Newscorp

(NWS) - Get Report

actually reported an increase in ad sales at MySpace.

It would be hard for Yahoo! not to profit from this growth, says Cramer, especially with new CEO Carol Bartz taking the reigns.

Cramer said Bartz has a great track record and has reduced headcount at the company in just four months, apparently without adversely affecting its business.

Bartz has also killed a handful of products, including GeoCities.

Investors are taking notice, as the stock has been on an uptrend since its low of $8.95 in November. Shares of the company closed up 2% to $14.76 on Thursday.

Overall, Cramer said the technology sector is leading the market, with strong balance sheets and the best growth potential.

Copyright 2009 TheStreet.com Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.