$(document).ready(function() {
	$("#nav li").hover(
	  	function () {//over
			$(this).addClass('over');
	  	}, 
	  	function () {//out
	    	$(this).removeClass('over');
	  	}
	);
	
$('body').addClass('js');	

	$(document).ready(function() {
		    
	
		
		$('.click-download').click(function() {
 			$('.expand-download').show('fast');
});
		
		$('a[href$="pdf"]').addClass('pdf');
		$('a[href$="txt"], a[href$="rft"]').addClass('txt');
		$('a[href$="doc"],a[href$="docx"]').addClass('word');
		$('a[href$="xls"], a[href$="xlsx"]').addClass('excel');
		$('a[href$="ppt"], a[href$="pptx"]').addClass('powerpoint');
		$('a[href$="zip"], a[href$="rar"]').addClass('archive');
	 	$('a').filter(function() {
			//Compare the anchor tag's host name with location's host name
			return this.hostname && this.hostname !== location.hostname;
		}).addClass("external").attr("target", "_blank").attr("title","Open link in een nieuw venster");
	});
	
});



