function logOutgoingClicks(e) {

	var rawHref = this.href;
	var found;
	
	// log ClickBank hoplinks

	if ( found = rawHref.match(/([a-z0-9]+)\.([a-z0-9]+)\.hop\.clickbank\.net/i) ) {
		urchinTracker("/hoplink/" + found[1]);
	}
	
	// log FeedPatrol destinations

	else if ( rawHref.indexOf('feed.validclick.com') != -1 ) {
		found = rawHref.match(/sitehost=([^&]+)/);
		urchinTracker("/feedpatrol/" + found[1]);
	}
	
	// log any other outgoing clicks
	
	else if ( rawHref.indexOf('searchfeast.com') == -1 ){
		urchinTracker("/outgoing/" + rawHref);
	}
}

YAHOO.util.Event.onDOMReady(
	YAHOO.util.Dom.batch(
	  document.links, function(el) {
		YAHOO.util.Event.addListener(el, "click", logOutgoingClicks)
	  }
	)
);