$(document).ready(function() {
    lastBlock = $("#a1");
    maxWidth = 600;
    minWidth = 138;

    $("#accordion li a").hover(
          function() {
              $(lastBlock).animate({ width: minWidth + "px" }, { queue: false, duration: 400 });
              $(this).animate({ width: maxWidth + "px" }, { queue: false, duration: 400 });
              lastBlock = this;
          },
          function() { }
    );

    /*
    $("#accordion_v .accordion_header .up_down_arrows").eq(1).addClass("active");
    $("#accordion_v p").eq(1).show();

    $("#accordion_v .accordion_header").click(function() {
    //$(this).next("p").siblings("p:visible").slideUp("slow");

        $(this).next("p").siblings("p:visible").slideUp("slow");
    $(this).next("p").slideToggle("slow");
    $(this).children(".up_down_arrows").toggleClass("active");
    $(this).siblings(".accordion_header").children(".up_down_arrows").removeClass("active");
    });
    */

    $("#jquery_ui_accordion").accordion({
        event: "mouseover",
        header: ".header_outer",
        navigation: true,
        active: "#expanded",
        autoHeight: false
    });

    $(".weekly_songs").find("tr:even").addClass("song_even");
    $(".weekly_songs").find("tr:odd").addClass("song_odd");
    $(".weekly_songs a").attr("target", "_blank");     
});