//Function to add hover rules to hotlinks
$(document).ready(
    function addHotlinkListeners(){
        $(".hotlinkItem").hover(
            //hover over actions
            function(){
                $(this).find(".hotlinkImage").hide();               //Hide the non-hover image
                $(this).find(".hotlinkImageHover").show();          //Show the hover image
            },
            //hover out actions
            function(){
                $(this).find(".hotlinkImageHover").hide();          //Hide the hover image
                $(this).find(".hotlinkImage").show();               //Show the non-hover image
            }
        );
    }
);