$(document).ready(function(){ 

		$("p#test1 a").fancybox({
			'hideOnContentClick': true
		});

});
