window.addEvent('load', function() {
  if (pageTracker) {
		$$('a[href^=http]').each(function(el) {
		  if (!el.get('href').test('http://'+location.hostname)) {
		    el.addClass('outgoing');
			  el.addEvent('click',function() {
				  exit = '/outgoing/'+this.get('href').replace('http://','');
				  pageTracker._trackPageview(exit);
			  });
		  }
		});
	}
});
