google.setOnLoadCallback(function() {
	
	// Ingredients Panel
	$('a#Ingredients_Nutrition').nyroModal({
	//$('#Photo_Upload_Button a').nyroModalManual({ // Auto-open panel
		type:'iframe',
		width:566,
		height:555,
		closeButton:'' // turn off default close button
	});
	
	// What's Good Inside Panel
	$('a#Product_Image').nyroModal({
		width:700,
		height:520,
		closeButton:'', // turn off default close button
		endShowContent:function() {
			$('#Whats_Good_Inside_Panel').css('background','url(/images/food_for_'+pet+'s/inside_'+product+'_bg.jpg)');
			var productHeading = $('.Product_Content h1').html();
			var productSubHeading = $('.Product_Content h2').html();
			$('#Panel_Product_Name').append('<h2><strong>'+productHeading+'</strong> '+productSubHeading+'</h2>');
		}
	})
});