$(document).ready(function() {
	//Calendar
	function highlight(elemId){
		$(elemId).css("backgroundColor","#f2ede4");
	    $(elemId).effect('highlight', {
			color: "#ffd790"
		}, 1500);
	}
	if (document.location.hash) {
		highlight(document.location.hash);
	}
	$('a[href*=#]').click(function(){
	    var elemId = '#' + $(this).attr('href').split('#')[1];
	    highlight(elemId);
	});
});