
$(document).ready(function() {
	$('a[href^="http://"]')
	  .attr({
		 target: "_blank",
		 title: "Opens in a new window"
	  });

	$('a[href^="https://"]')
	  .attr({
		 target: "_blank",
		 title: "Opens in a new window"
	  });

	$('a[href^="mailto:"]')
	  .attr({
		 target: "_blank",
		 title: "Opens in a new window"
	  });


	// make entire case study blocks clickable
	$(".featured-grantees .grantee").click(function(){
	  window.location=$(this).find("a").attr("href"); return false;
	});


	$('.recipient-list').hide();
	$('h2').click(function() {
		$(this).next('.recipient-list').slideToggle('1000');
		return false;
	});


});
