Help me change my jquery code to add additional div
<p>I have a slideshow, its only changing photos. I need to add a new div box on top of each photo. At the moment jquery code takes just #slideshow and .active. How to amend it to grab also new div class ".newbox" (.newbox1 for first photo, .newbox2 for second and so on). Each time a different box has to come up on top of different photos. This is my photo slideshow jquery code:</p>

<pre><code>function slideSwitch() {
    var $active = $('#slideshow DIV.active');

    if ( $active.length == 0 ) $active = $('#slideshow DIV:last');

    // use this to pull the divs in the order they appear in the markup
    var $next =  $active.next().length ? $active.next()
        : $('#slideshow DIV:first');

    // uncomment below to pull the divs randomly
    // var $sibs  = $active.siblings();
    // var rndNum = Math.floor(Math.random() * $sibs.length );
    // var $next  = $( $sibs[ rndNum ] );


    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 5000 );
});

&lt;/script&gt;
</code></pre>

<p>My html:</p>

<pre><code>div id="slideshow"&gt;
   &lt;div class="active"&gt;
        &lt;a href="http://www.mylink.com/" target="_blank"&gt;&lt;img src="http://route/img.jpg" alt="alt" /&gt;&lt;/a&gt;

    &lt;div class="newbox"&gt;&lt;/div&gt;
    &lt;/div&gt;
</code></pre>
