$(document).ready(function(){
	
	//hide infographic info and set height to that of container
	$('#infographic p').hide().each(function(){
		var infoHeight = $(this).parent().innerHeight();
		var infoWidth = $(this).prev('img').innerWidth();
		$(this).css({
			'height': infoHeight - '40', //subtract padding from p tag
			'width': infoWidth -'40'
		}) 
	});
	
	//show infographic info on rollowver
	$('#infographic li').hover(function(){
		$(this).find('p').stop(true, true).fadeIn(500);
	}, function(){
		$(this).find('p').stop(true, true).fadeOut(500);
	});
	
});


// Add This
var addthis_config = {
     pubid: "ra-4e7781c208005f06",
     data_track_clickback: false
}
var addthis_share = { 
    templates: { twitter: 'Back-to-school brings change to flavored milk; many processors are hard at work to lower the cals & sugar {{url}}' }
}
