/* Begin jQuery code */
$kuj(document).ready(function() {
    $kuj('body').addClass('js');
    // This is commented out when there is only one news item on the main page.
    $kuj('#nsoNews #newsContent').each(function(){
        $kuj(this).newsTicker();
    });
    $kuj('.windowlist a, a.window, a.external').attr('onclick', 'return !window.open(this.href);');

    $kuj('#bannerImgs').cycle({
        timeout: 5000,
        speed:   1500
    });

    $kuj().panelSwitcher();

//    $(".panel").hide();
//
//    // When a link is clicked
//    $("#panelswitcher a").click(function () {
//        // switch all tabs off
//        $("#panelswitcher a.active").removeClass("active");
//
//        // switch this tab on
//        $(this).addClass("active");
//
//        // slide all elements with the class 'content' up
//        $(".panel").hide();
//
//        // Now figure out what the 'href' attribute value is and find the element with that id.  Then slide that down.
//        var content_show = $(this).attr("href");
//        $(content_show).show();
//
//        return false;
//    });

});
/* End jQuery code */