﻿function FirejQueryPhotos() {
    $(document).ready(function() {

        $("h4").append('<em></em>')

        $("#photosCarousel a").click(function() {

            var largePath = $(this).attr("href");
            var largeAlt = $(this).attr("title");

            $("#largeImg").attr({ src: largePath, alt: largeAlt });

            $("h2 em").html(" (" + largeAlt + ")"); return false;
        });

        jQuery('#photosCarousel').jcarousel(
        {
        scroll: 5
    });


});

}


function FirejQueryCommittee() {

    $("#awardCommitteeTab").click(function() {

        $("#panelAward").show();
        $("#panelNomination").hide();

        $("#awardCommitteeTab").attr("class", "contentButtonDisabled");
        $("#nominationCommitteeTab").attr("class", "contentButton");
    });

    $("#nominationCommitteeTab").click(function() {

        $("#panelAward").hide();
        $("#panelNomination").show();

        $("#nominationCommitteeTab").attr("class", "contentButtonDisabled");
        $("#awardCommitteeTab").attr("class", "contentButton");
    });
}

