
function trackOutBoundLinks() {
	var thelink=this.href;
	if (thelink.indexOf(location.hostname) ==-1 ){
		pageTracker._trackPageview('/out/'+thelink.replace("http://", "")+'');
	}
}

jQuery(document).ready(function () {
	var anchors=document.getElementsByTagName("a");
	for (i=0;i<anchors.length;i++) {
		if (anchors[i].onclick == null)
			anchors[i].onclick=trackOutBoundLinks;
	}
});
