// Bind event to show/hide branch pop-up bubble
$(document).ready(function()
{
    $(".branchPopupTrigger").mouseover(function()
    {
        var popupBoxId = (this.id).replace("Trigger", "");
        $("#" + popupBoxId).css("margin-top", "-" + (parseInt($("#" + popupBoxId).height()) - 5) + "px");
        $("#" + popupBoxId).show();
    }).mouseout(function()
    {
        $("#" + (this.id).replace("Trigger", "")).hide();
    });
});
