Google now indexes any link on your page, even javascript links.
First that I have heard that they have started following JavaScript.
Google indexes dynamic content, to a point. The less parameters in the URL, the more-likely Google will index it. Also, if the links to the dynamic pages are from a static page (i.e., no params), there is a better chance Google will index it, and Google's capabilities in this regard are improving all the time.