Google has published a new Webmaster Help video. In that Matt Cutts responds to this question:
JavaScript is being used more and more to progressively enhance content on page & improve usability. How does Googlebot handle content loaded (AJAX) or displayed (JC&CSS) by Javascript on pageload, on click?