No, google bot don't follow such links. I think it can not even read Java Scripts google.com/support/webmasters/bin/answer.py?hl=en&answer=35769
Google does scan embedded JavaScript and (rarely) external .js files for complete URLs (ie. "http://www.somesite.com/somepage.html"), but those links are only used for URL discovery and they do not pass PageRank like a normal HTML link would. So, relative URLs and URLs that are constructed by JavaScript code would not be found, and even complete URLs are not equivalent to ordinary <a>nchor tag links in things like drop-down or pop-up menus.
Yes. Googlebot searches for urls in ALL the code. If you want your javascript urls not to be indexed, encode them or split it through variables or something.