jQuery(document).ready(function($) {


/* var str = $("#current").text(); */
/*
var str = jQuery.url.segment(3);
$("#category").html(str);
*/

/*$("#current").css("border","3px solid red");*/

/*
$('div.navitem>ul').hide();
$('div.navitem').onclick(function(){
    // check that the menu is not currently animated
    if ($('div.navitem ul:animated').size() == 0) {
        // create a reference to the active element (this)
        // so we don't have to keep creating a jQuery object
        $heading = $(this);
        // create a reference to visible sibling elements
        // so we don't have to keep creating a jQuery object
        $expandedSiblings = $heading.siblings().find('ul:visible');
        if ($expandedSiblings.size() > 0) {
            $expandedSiblings.slideUp(500, function(){
                $heading.find('ul').slideDown(500);
            });
        }
        else {
            $heading.find('ul').slideDown(1000);
        }
    }
});
*/


animatedcollapse.addDiv('newssubs', 'hide=1');
animatedcollapse.init();

});


