How do I replace an initialized object?
<p>I have the following jQuery code which is initiated on page load. It starts a slideshow.</p>

<pre><code>$(document).ready(function() {

    $.dothis({
        option:1,
        option:2,
        slides:[
            {image:'img1.jpg'},
            {image:'img2.jpg'}
        ]
    });

});
</code></pre>

<p>Now I want to add/remove images when the users clicks the body of the page. How do I add/remove items to the slides:[] object? Or how do I replace this object all together?</p>
