fixed the fancybox plugin to te latest version and added jquery on top