var acct = "UA-570905-6";

var _gaq = _gaq || [];
_gaq.push(['_setAccount', acct]);

// Example overrideURL: "/path/to/page"
function trackThisPage(overrideURL) {
	_gaq.push(typeof overrideURL == "string" && overrideURL.length != "" ? ['_trackPageview', overrideURL] : ['_trackPageview']);
}

function trackURL(o) {
	if (typeof _gaq._trackPageview == 'function') {
		if (typeof o == 'string') {
			_gaq._trackPageview('/out/' + o.replace('http://', '').replace('https://', ''));
		}
		else if (typeof o == 'object' && typeof o.href == 'string') {
			var h = o.href.indexOf('http://') == 0;
			var s = o.href.indexOf('https://') == 0;
			if (h || s) _gaq._trackPageview('/out/' + o.href.substr(h ? 7 : 8, o.href.length));
		}
	}
}

function hutrack(o,group) {
	if (typeof o == 'object' && typeof o.href == 'string') {
		new Image().src = 'http://www.howard.edu/st/hutrack/' + group + '/' + o.href.replace("://", "/");
	}
}

(function(){
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
