var Analytics = {
  Google: {
	done: false,
	load: function (code) {
	  var h = (('https:' == document.location.protocol) ? 'https://ssl.' : 'http://www.');
	  var s = new Element('script', { 'src': h + 'google-analytics.com/ga.js', 'type': 'text/javascript' });
	  var init = function () {
		try {
		  var ga_pt = _gat._getTracker(code);
		  ga_pt._trackPageview();
		} catch (e) {}
	  }
	  s.observe('load', function () {
		Analytics.Google.done = true;
		init();
	  });
	  s.observe('readystatechange', function () {
		if (('loaded' === s.readyState || 'complete' === s.readyState) && !Analytics.Google.done) {
		  Analytics.Google.done = true;
		  init();
		}
	  });
	  $$('head')[0].insert(s);
	}
  }
};

document.observe('dom:loaded', function () {
  Analytics.Google.load('UA-7888009-3');
});

