;(function($) {
    $(document).ready(function() {
        // slides
        $("#conference-pow .accordion li.tab").hoverIntent(function() {
            if (!$(this).hasClass(".expanded")) {
                $(this).siblings(".expanded").removeClass("expanded").find(".content-holder").hide();
                $(this).addClass("expanded").find(".content-holder").hide().fadeIn(500);
            }
        }, function() {});
        
        // drop downs
        $("header-nav ul.depth-2").hide();
        $("header-nav ul.depth-2").bgiframe();
        $("#header-nav li.depth-1").hover(function() {
            $(this).css("z-index", "50");
            $(this).find("ul.depth-2").show();
            $(this).find("a").addClass("over");
        }, function() {
            $(this).css("z-index", "1");
            $(this).find("ul.depth-2").hide();
            $(this).find("a").removeClass("over");
        });
    });
})(jQuery);