$(document).ready(function() {
	$('a[href^="http:"]').each(function(){
		if (this.hostname !== location.hostname) {
			$(this).attr({
				target: "_blank",
				title: this.href + " (link to an external website, click to open in a new tab or window)"
			});
		}
	});
});

