$(function () {
	var austDay = new Date();
	$('.defaultCountdown').countdown({ until: $.countdown.UTCDate(+1, 2011, 04 - 1, 30),format: 'DHMS', compact: true}); 
	$('#year').text(austDay.getFullYear());
});

$(document).ready(function()
{
	$("a[href=#]").click(function()
	{
		return false;
	})

	$("a[rel=external]").click(function()
	{
		$(this).attr("target", "_blank");
	})
	
});


// FANCYBOX
$(document).ready(function() {

	$(".editie1").fancybox({
				'width'				: 720,
				'height'			: 430,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
		$(".editie2").fancybox({
				'width'				: 815,
				'height'			: 668,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
	
	

});
