How should I look at structuring my JavaScript?
<p>I'm having a little trouble working out how my JavaScript should be structured, etc..
My OOP skills in languages such as PHP, ActionScript 3 and so on are what I'm assuming to be on-par, but JS is lacking this which has thrown me off quite a bit in my learning.</p>

<p>I have a vague understanding of the <strong>prototype</strong> feature which I used a little in AS2 - I believe this is the closest I'll be able to get. At the moment, I'm laying out my code similar to this:</p>

<pre><code>var slideshow = 
{
    property: value,

    /**
     * This is a method
     */
    myMethod: function()
    {
        // do method things
    }
};

// ------
slideshow.property ++;
slideshow.myMethod();
</code></pre>

<p>This all works okay, but it's void my ability to do something like:</p>

<pre><code>var myslideshow1 = new Slideshow();
var myslideshow2 = new Slideshow();

myslideshow1.property = 10;
myslideshow2.property = 16;
</code></pre>

<ol>
<li>I'm not sure on how to go about creating two different instances of one "object" I've created (in this case, slideshow).</li>
<li>I can't find any resources that explain the prototype feature in a way that makes sense.</li>
</ol>

<p>Any pointers would be supoib.</p>
