/*
	============================================================================

	MOdule Name:		GoogleAnalytics.JS

	Module Synopsis:	This module contains the single function required to
						implement Google Analytics. It is read into the content
						stream by the WriteHeader and WriteHeaderSimple methods
						of a NewTemplate object.

	Remarks:			The code in this module is composed entirely of the code
						snippet supplied with the Google Analytics setup, and it
						includes the custom tracking code generated for tracking
						the EMCert application.

	Author:				David A. Gray
						Simple Soft Services, Inc., d/b/a WizardWrx
						on behalf of The Edit House, Inc., d/b/a The Learning
						Agency, and Emergency Medical Certification, Inc. d/b/a
						Emcert.com

	Copyright:			(c) 2011, Emergency Medical Certification, Inc.
						d/b/a Emcert.com

	----------------------------------------------------------------------------
	Revision History
	----------------------------------------------------------------------------

	Date	   Version Author Synopsis
	---------- ------- ------ --------------------------------------------------
	2011/09/09 1.0.134 DAG/WW Initial implementation.
	============================================================================
*/

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25601495-1']);
  _gaq.push(['_trackPageview']);

  (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);
  })();

