
	$(document).ready(function(){
	
		/* Vervang de default submit buttons met een fancy button */		
		$('.submit').find('input[type=submit]').hide().parent().find('span').show().click(function(e) {
			$(this).closest('form').submit();
			e.preventDefault();
		});
		
		/* toon en activeer de print button */
		if (window.print) {
			$('#print').show().click(function() {
				window.print();
				return false;
			});
		}
		
		$('#home article:not(.noclick), #news article:not(.noclick)').click(function(e) {
			url = $(this).find('a').attr('href');
			document.location = url;
			e.preventDefault();
		}).css({ cursor: 'pointer' });

	});
