// jQuery -- Runs once HTML has loaded 
$(document).ready(function(){
  $(".filled").click(function(event){
    window.location="/calendar/" + $(".yearnum").html() + 
                    "/" + $(".monthnum").html() + 
                    "/" + $(".daynum", this).html();
  });
  
  // hovering over dates with events highlights them
  $(".filled").hover(
    function(){
      $(this).addClass("highlight");      
    },
    function(){
      $(this).removeClass("highlight");
    } 
  );   
 
});


