﻿/*global App, _gat */

/* namespace Analytics */
if ("undefined" === typeof window.App) {
	window.App = {};
}

/*void*/ App.track = function(/*string*/ url) {
	if (url && "undefined" !== typeof App.gat) {
		var domain = window.location.protocol+"//"+window.location.host;
		url = url.replace(domain, "");
		App.gat._trackPageview(url);
	}
};

if (!window.location.port||window.location.port===80) {
	App.gat = _gat._getTracker("UA-1294169-1");
	App.gat._initData();
	App.gat._trackPageview();
}
