code to not send error e-mail if from googlebot or fancybox