jQuery(document).ready(function($) {
	$('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');
	//	$('#content a[href$=".pdf"]:not(\'.banner\')').addClass('file pdf');
});

