Why is this javascript method firing even when I'm not calling it?
<p>Just trying to get my head around Javascript a very strange thing has happened. The method <code>getChapters()</code> is firing even though I haven't explicitly called it...Any ideas? (I'm getting the alert box for get chapters).</p>

<pre><code>videoChapters = function () {
};

videoChapters.prototype.config = {
    jsonProvider : '_Chapters.aspx'
};

videoChapters.prototype.init = function () {
    //get chapters
};

videoChapters.prototype.getChapters = new function () {
    alert('getting chapters');
}

jQuery(document).ready(function () {
    videoChapters = new videoChapters();
    videoChapters.init();
});
</code></pre>
