//<![CDATA[
$(document).ready(function() {

	//Primary Donate Links - set overlay to slightly transparent
	$('.primary-donate-links a strong').css({'opacity':'0.9'});
	//Animation on hover to slide up overlay
	$('.primary-donate-links a').hover(
		function () {
			$(this).children('strong').animate({height:'0px'}, 200);
		},
		function () {
			$(this).children('strong').animate({height:'40px'}, 300);
	}); 

	//Secondary Donate Links
	$('.secondary-donate-links').css({'width':'600px'});
	$('.secondary-donate-links dd').css({'display':'none'});
	$('.secondary-donate-links dt').css({'float':'left'});
	//Hover effect
	$('.secondary-donate-links dt a').hover(
		function () {
			//Remove selected class from all buttons
			$('.secondary-donate-links dt a').removeClass('selected');
			//Add class to current button being hovered
			$(this).addClass('selected');
			//Get the description from the parent's next dd element
			var description = $(this).parent().next('dd').html();
			//Output description
			$('#donate-description p').html(description);
	}); 

});
//]]>