$(document).ready(function(){
  $("div.screenshots a").fancybox({
		'hideOnContentClick': true
	});
});