$(document).ready(function() {
	//links we want to open in a new window
	$("a[href$='.pdf'], a[rel~=external]").attr('target', '_blank');
});

