//******************************
// GCU Google Analytics Tracking Code
//******************************

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

function _mdfGCUGA() {

//Override page tracker for DEV env...
var domainName = window.location.hostname;

try {
  var pageTracker = _gat._getTracker("UA-10931501-1");
  if (domainName != "www.governmentcontractsusa.com") {
    pageTracker = _gat._getTracker("UA-10931501-2");
  }
  pageTracker._trackPageview();
} catch(err) {}

}


// This is a function that I "borrowed" from the urchin.js file.
// It parses a string and returns a value.  I used it to get
// data from the __utmz cookie
//
function _uGC(l,n,s) {
	if (!l || l=="" || !n || n=="" || !s || s=="") return "-";
	var i,i2,i3,c="-";
	i=l.indexOf(n);
	i3=n.indexOf("=")+1;
	if (i > -1) {
		i2=l.indexOf(s,i); if (i2 < 0) { i2=l.length; }
		c=l.substring((i+i3),i2);
	}
	return c;
}
