$(document).ready(function(){

	// Reveal window on current day

	$(".today").hover(function() {
		$(this).find("img").stop()
			.animate({
				width: '72px', 
				height: '72px'
			}, 500);
		$(this).find(".reveal_offer").stop()
			.animate({
				width: '61px', 
				height: '61px'
			}, 520); 		
		} , function() {
		$(this).find("img").stop() 
			.animate({
				width: '25px', 
				height: '25px'
			}, 400);
		$(this).find(".reveal_offer").stop() 
			.animate({
				width: '21px', 
				height: '21px'
			}, 380);
	});
	
	// $(".today").click(function() {
	//	$(this).removeClass("today");
	//	$(this).addClass("open");
	// });	
	
	// Highlight offer groups
	
	$("#studio_offers a").hover(function() {
		$('.studio_offer_highlight').css('display', 'block');
	}, function () {
		$('.studio_offer_highlight').css('display', 'none');
	});
	
	$("#mastering_offers a").hover(function() {
		$('.mastering_offer_highlight').css('display', 'block');
	}, function () {
		$('.mastering_offer_highlight').css('display', 'none');
	});
	
	$("#digital_offers a").hover(function() {
		$('.digital_offer_highlight').css('display', 'block');
	}, function () {
		$('.digital_offer_highlight').css('display', 'none');
	});
		
});

