
$(document).ready(function(){
	
	$('a[@rel*=lightbox]').lightBox();
	$('.lightbox').lightBox();
	
	$('a[@rel=external]').attr('target', '_blank');
	$('.blank').attr('target','_blank');
	
	
	$('#raad').find('div').hide().end().find('a').click(function() {
		$('#raad').find('div').hide();
		$(this).next().toggle();
		
		if(jQuery.browser.msie && jQuery.browser.version.substr(0,1) == 7){
				$("#footer").css('bottom', '-10px');
				$("#footer").css('bottom', '0px');
		}	
		return false;
	});
	
	
	$('.deelneming-item span').cycle({ fx: 'fade', timeout: 2000 });
	
	$('#jaartalfilter select').change(function() {
		$(this).parent().submit();
	});

	
});