added the fancybox script function