Javascript Syntax Differences
<p>What is the difference between these two?</p>

<pre><code>collapse: function(fold)
{
...
...
}
</code></pre>

<p>and </p>

<pre><code>function collapse(fold)
{
...
...
}
</code></pre>
