<!--
//----------------------------------------------------------------------
  // Gallons treated as of the startDate - starting point
  // This is a guess based on 200 treatment plants X 2 million gallons per day for 30 years (10950 days)
var startGallons = 4380000000000
  // startGallons treated as of this date
var startDate    = new Date("January 1, 2004")
  // Number of gallons per second treated since the startDate
var gallonsperSecond = 200
//----------------------------------------------------------------------

var todayDate    = new Date()
var seconds      = (todayDate.getTime() - startDate.getTime()) / 1000
var runGallons   = startGallons + (seconds * gallonsperSecond) 
var timerId      = null
var timerRunning = false

function showgallons(){
	  if (document.forms.length == 0)  
    return 
  editWork = " " + (runGallons = Math.round(runGallons + gallonsperSecond))
  editValue  =  "" 
  for (var i=0,j=editWork.length; i < editWork.length; i++,j--) {
	  if (j == 4 || j == 7 || j == 10 || j == 13 || j == 16) 
		 editValue  = editValue + editWork.substring(i,i+1) + ","
	  else
	  	 editValue  = editValue + editWork.substring(i,i+1)
  }
  document.gallonsform.gallons.value = editValue
  timerId = setTimeout("showgallons()",1000)
  timerRunning = true
}
//-->