// this code would normally by placed in a external javascript file to handle any
// errors that would come up.
onerror=handleErr;
var txt="";


function handleErr(msg,url,l) {
  txt="There was an error in the logic of this page.\n\n";
  txt+="Error: " + msg + "\n";
  txt+="URL: " + url + "\n";
  txt+="Line: " + l + "\n\n";
  txt+="Click OK to continue.\n\n";
  alert(txt);
  return true;
}

function google_procedure() {

  var live_site;
  
  // the function here is to not have the google procedure code process when in test mode
  // it creates a hit when there really shouldn't be any
  // if the variable live_site is set to 0, do not process the analytics
  
  // if the variable live_site is set to 1, process the analytics
  
  // this code is not to be touched once created for the live site and the test site
  // in the test site the variable will always be 0
  
  live_site = 0;
  
  if (live_site == 1) {
	  
    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"));

    try {
      var pageTracker = _gat._getTracker("UA-12029651-2");
      pageTracker._trackPageview();
    } 
	catch(err) {}
	  
  }

}