jQuery(document).ready(function($) {
	$('.no-js').removeClass('no-js');
	$('li:first').addClass('first');
	$('a:not(:has(img, div))').filter(function() {
		return !this.href.match(/^mailto\:/) && undefined !== typeof (this.hostname) && (this.hostname).split(":")[0] !== (location.hostname).split(":")[0] || $(this).attr('rel') == 'external';
	}).addClass('external').attr('target', '_blank');
	$('a[href$=".pdf"]').attr('target', '_blank');
});

