why the code add 1 to the length?
<p>the link: <a href="http://www.mind4m.com/stories.php?pageid=10" rel="nofollow">http://www.mind4m.com/stories.php?pageid=10</a></p>

<p>what's this line meaning?</p>

<pre><code>var curChildIndex = $(this).parent().prevAll().length + 1;
</code></pre>

<p>select all the li label before the current a label the add one? am i right?  but why it adds one?</p>

<pre><code>$(this).parent().children('div:nth-child('+curChildIndex+')')
.fadeIn('normal',function() {
                    $(this).addClass('current');
                });
</code></pre>

<p>i can't understand this well. could i write this part to <code>children('div:nth-child(curChildIndex)')</code></p>
