/*
This is a code block for Google Analytics.  There are two accounts.  One for use in production and
one for use in development/testing.

_uacct = "UA-1054492-1"; <-- Test Account

_uacct = "UA-1054492-3"; <-- Production Account 

File has been modified to include automatic setting of account depending on hostname of URL. 

File will be deployed both in 
\jboss-4.0.2\server\default\deploy\ismstat.war\js and
\Inetpub\wwwroot\LoanConsolidation\scripts

binskeep	09/05/2007	Removed 'alert' displaying _uacct
/*	alert("the _uacct is " + _uacct);*/

if (location.hostname == "www.ismloans.org" || 
    location.hostname == "ismloans.org" || 
    location.hostname == "208.40.231.8") 
{
	_uacct = "UA-1054492-5"; 
}
else if (location.hostname == "wwwtest.ismloans.org" || 
    location.hostname == "208.40.231.9") 
{
	_uacct = "UA-1054492-6"; 
}
else
{
	_uacct = "";
}


function ism_GATracker(pageName) 
{
	if (_uacct != "")
		{
		var pageTracker = _gat._getTracker(_uacct);
		pageTracker._initData();
		pageTracker._trackPageview();
  	}
}
