//<script>
$(document).ready(function () {
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	
	$.getScript(gaJsHost + 'google-analytics.com/ga.js', function () {
		window.pageTracker = _gat._getTracker('UA-4219663-1');
		pageTracker._trackPageview();
	
		$('a').bind('click keypress', function () {
			var fileTypeRegEx = /\.(docx?|xlsx?|pptx?|zip|pdf|mp3)$/i;
			
			// Track links to external websites.
			if (this.protocol.match('http') && ! this.hostname.match('bju.edu')) {
				pageTracker._trackEvent('outgoing', 'click', this.href);
			// Track links to downloadable files.
			} else if (fileTypeRegEx.test(this.href)) {
				extension = fileTypeRegEx.exec(this.href)[1];
				pageTracker._trackEvent('download', extension, this.href);
			// Track links to emails.
			} else if (this.protocol == 'mailto:') {
				pageTracker._trackEvent('mailto', 'click', this.href);
			}
		});
	});
});
//</script>