// adapted from http://www.learningjquery.com

// independently show and hide
$(document).ready(function() {
	$('div.eventDetail').hide();  
  	$('#calendarList h5').click(function() {
  	$(this).toggleClass('opened').next().slideToggle('fast');
  	});
	$('#calendarList h5').hover(function() {
		$(this).addClass('eventHover');
	}, function() {
		$(this).removeClass('eventHover');
	}); 
});



