$(function(){
	// e-mail adress antispam function
	$('span.emailAlternative').remove();
	$('a.email').nospam({ replaceText: true });
	
	// stalen waaier
	$("#waaier a.fancybox").fancybox();
	
	// youtube in fancybox
	$("a.youtube").click(function() {
	        $.fancybox({
	            'padding'       : 0,
	            'autoScale'     : false,
	            'transitionIn'  : 'none',
	            'transitionOut' : 'none',
	            'title'         : false,
	            'width'         : 640,
	            'height'        : 385,
	            'href'          : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
	            'type'          : 'swf',
	            'swf'           : {
	            'wmode'             : 'transparent',
	            'allowfullscreen'   : 'true'
	            }
	        });
	 
	        return false;
	    });

	// contact iframe
	$("body.contact a.iframe").fancybox({
		width: 380,
		height: 460
	});
	
	
});
