
$(document).ready(function() {
	$('.eventsvenue-address a').each(function() {
		if (jQuery(this).attr('href')=='http://www.diabetesandprimarycare.co.uk/entryform.php' || jQuery(this).attr('href')=='/entryform.php') {
			jQuery(this).fancybox({
				'width'				: '75%',
				'height'			: '75%',
		        'autoScale'     	: false,
		        'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
		}

		if (jQuery(this).attr('href')=='http://www.diabetesandprimarycare.co.uk/entryform2.php' || jQuery(this).attr('href')=='/entryform2.php') {
			jQuery(this).fancybox({
				'width'				: '75%',
				'height'			: '75%',
		        'autoScale'     	: false,
		        'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
		}
	});
});
