What's a better way to organise the object's prototype?
<p>This is how i attempt to organise the prototypes:</p>

<p>However I have to write an additional "methods" properties to access prototype's function is rather inefficient. </p>

<pre><code>var Gallery = function(name) {
    this.name = name;
}

Gallery.prototype.methods = {
    activeCnt: 0,
    inc: function() {
        this.activeCnt++;
    },
    dec: function() {
        this.activeCnt--;
    },
    talk: function() {
        alert(this.activeCnt);
    }
}


var artGallery = new Gallery('art');
var carGallery = new Gallery('car');
artGallery.methods.inc();
artGallery.methods.talk();
carGallery.methods.talk();​
</code></pre>
