$(function(){
	$('a[href]').click(function(){
		if (typeof(pageTracker) == "object") {
			if ( this.protocol == "mailto:") {
				pageTracker._trackPageview('/mailto/' + this.href.substring(7));
			} else if ( this.hostname == window.location.host && /p=download=/i.test(this.href)) {
				pageTracker._trackPageview('/document/' + this.href);
			} else if ( this.hostname != window.location.host) {
				pageTracker._trackPageview('/externe/' + this.href);
			}
		}
	});
});
