$(function () { $.fancybox.defaults.errorTpl = '

Sorry, a problem was encountered loading this chart.

'; });