window.addEvent('domready', function() {
	$$('a').each(function(a) {
		if (/^https?:$/.exec(a.protocol) && a.hostname != window.location.hostname) {
			a.set('rel', 'external');
		}
	});
});