deadsea - 5:24 pm on Apr 26, 2011 (gmt 0)
My testing shows the opposite of what tedster just said.
<a href="#" onclick=[some function]> does *not* seem to increase the "number of links" divisor.
href="#fragment" are a different case. It appears that such links can pass pagerank in some circumstances. I know Google is trying to direct users deep into anchors in wikipedia articles. They may have some special pagerank code that actually handles page fragments and passes pagerank to a section of a page.