// A crazy file to fix hovering over sitenav items
// and that notched corner!
$(document).ready(function() {
  $("#nav-management a").hover(
    function() {
      $("#nav-home a").addClass("jhover");
    },
    function() {
      $("#nav-home a").removeClass("jhover");
    }
  );
  
  $("#nav-processing a").hover(
    function() {
      $("#nav-management a").addClass("jhover");
    },
    function() {
      $("#nav-management a").removeClass("jhover");
    }
  );
  
  $("#nav-payments a").hover(
    function() {
      $("#nav-processing a").addClass("jhover");
    },
    function() {
      $("#nav-processing a").removeClass("jhover");
    }
  );
  
   $("#nav-card a").hover(
    function() {
      $("#nav-payments a").addClass("jhover");
    },
    function() {
      $("#nav-payments a").removeClass("jhover");
    }
  );
 
 $("#nav-help a").hover(
    function() {
      $("#nav-card a").addClass("jhover");
    },
    function() {
      $("#nav-card a").removeClass("jhover");
    }
  );
  
});
