function h3ExpandCollapse() {
    $("h3").click(expandCollapseContainer); // Toggle the image
}

function expandCollapseContainer() {
    var state = $(this).find("img").attr("src");
    if (state == "../Icons/General/Collapse.png") {
        $(this).find("img").attr("src", "../Icons/General/Expand.png");
        $(this).next().hide();
    } else {
        $(this).find("img").attr("src", "../Icons/General/Collapse.png");
        $(this).next().show();
    }
}