
	function addcolumn1()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.depjan08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjan08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjan08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjan08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depfeb08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depfeb08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depfeb08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depfeb08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depmar08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depmar08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depmar08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depmar08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depapr08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depapr08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depapr08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depapr08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depmay08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depmay08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depmay08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depmay08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depjun08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjun08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjun08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjun08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depjul08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjul08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjul08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjul08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depaug08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depaug08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depaug08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depaug08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depsep08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depsep08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depsep08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depsep08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depoct08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depoct08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depoct08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depoct08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depnov08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depnov08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depnov08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depnov08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depdec08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depdec08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depdec08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depdec08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.deptot08.value = the_total			// fill in the total

	 }

	function addcolumn2()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.depjan07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjan07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjan07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjan07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depfeb07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depfeb07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depfeb07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depfeb07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depmar07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depmar07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depmar07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depmar07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depapr07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depapr07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depapr07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depapr07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depmay07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depmay07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depmay07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depmay07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depjun07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjun07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjun07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjun07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depjul07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjul07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjul07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjul07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depaug07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depaug07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depaug07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depaug07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depsep07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depsep07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depsep07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depsep07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depoct07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depoct07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depoct07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depoct07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depnov07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depnov07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depnov07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depnov07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depdec07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depdec07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depdec07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depdec07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.deptot07.value = the_total			// fill in the total

	 }

	function addcolumn3()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.depjan09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjan09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjan09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjan09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depfeb09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depfeb09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depfeb09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depfeb09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depmar09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depmar09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depmar09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depmar09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depapr09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depapr09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depapr09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depapr09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depmay09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depmay09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depmay09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depmay09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depjun09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjun09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjun09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjun09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depjul09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjul09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjul09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjul09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depaug09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depaug09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depaug09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depaug09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depsep09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depsep09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depsep09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depsep09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depoct09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depoct09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depoct09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depoct09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depnov09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depnov09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depnov09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depnov09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depdec09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depdec09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depdec09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depdec09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.deptot09.value = the_total			// fill in the total

	 }
//-----------------------------------------------------------------------------------------------------------
	function addcolumn4()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.loansjan08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjan08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjan08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjan08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansfeb08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansfeb08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansfeb08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansfeb08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansmar08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansmar08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansmar08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansmar08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansapr08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansapr08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansapr08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansapr08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansmay08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansmay08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansmay08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansmay08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansjun08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjun08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjun08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjun08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansjul08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjul08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjul08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjul08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansaug08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansaug08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansaug08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansaug08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loanssep08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loanssep08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loanssep08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loanssep08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansoct08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansoct08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansoct08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansoct08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansnov08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansnov08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansnov08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansnov08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansdec08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansdec08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansdec08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansdec08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.loanstot08.value = the_total			// fill in the total

	 }

	function addcolumn5()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.loansjan07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjan07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjan07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjan07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansfeb07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansfeb07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansfeb07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansfeb07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansmar07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansmar07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansmar07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansmar07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansapr07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansapr07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansapr07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansapr07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansmay07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansmay07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansmay07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansmay07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansjun07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjun07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjun07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjun07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansjul07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjul07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjul07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjul07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansaug07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansaug07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansaug07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansaug07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loanssep07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loanssep07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loanssep07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loanssep07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansoct07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansoct07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansoct07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansoct07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansnov07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansnov07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansnov07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansnov07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansdec07.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansdec07.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansdec07.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansdec07.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.loanstot07.value = the_total			// fill in the total

	 }

	function addcolumn6()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.loansjan09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjan09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjan09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjan09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansfeb09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansfeb09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansfeb09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansfeb09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansmar09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansmar09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansmar09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansmar09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansapr09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansapr09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansapr09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansapr09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansmay09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansmay09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansmay09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansmay09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansjun09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjun09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjun09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjun09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansjul09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjul09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjul09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjul09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansaug09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansaug09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansaug09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansaug09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loanssep09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loanssep09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loanssep09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loanssep09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansoct09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansoct09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansoct09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansoct09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansnov09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansnov09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansnov09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansnov09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansdec09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansdec09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansdec09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansdec09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.loanstot09.value = the_total			// fill in the total

	 }

//-----------------------------------------------------------------------------------------------------------
	function addcolumn7()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.secjan09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secjan09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secjan09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secjan09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secfeb09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secfeb09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secfeb09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secfeb09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secmar09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secmar09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secmar09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secmar09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secapr09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secapr09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secapr09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secapr09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secmay09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secmay09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secmay09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secmay09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secjun09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secjun09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secjun09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secjun09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secjul09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secjul09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secjul09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secjul09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secaug09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secaug09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secaug09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secaug09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secsep09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secsep09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secsep09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secsep09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secoct09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secoct09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secoct09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secoct09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secnov09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secnov09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secnov09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secnov09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secdec09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secdec09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secdec09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secdec09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.sectot09.value = the_total			// fill in the total

	 }

//-----------------------------------------------------------------------------------------------------------
	function addcolumn8()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.ffsjan09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsjan09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsjan09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsjan09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsfeb09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsfeb09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsfeb09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsfeb09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsmar09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsmar09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsmar09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsmar09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsapr09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsapr09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsapr09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsapr09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsmay09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsmay09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsmay09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsmay09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsjun09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsjun09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsjun09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsjun09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsjul09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsjul09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsjul09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsjul09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffsaug09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsaug09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsaug09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsaug09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffssep09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffssep09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffssep09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffssep09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffsoct09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsoct09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsoct09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsoct09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffsnov09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsnov09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsnov09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsnov09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffsdec09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsdec09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsdec09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsdec09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.ffstot09.value = the_total			// fill in the total

	 }

//-----------------------------------------------------------------------------------------------------------
	function addcolumn9()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.ffpjan09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpjan09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpjan09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpjan09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpfeb09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpfeb09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpfeb09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpfeb09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpmar09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpmar09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpmar09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpmar09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpapr09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpapr09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpapr09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpapr09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpmay09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpmay09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpmay09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpmay09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpjun09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpjun09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpjun09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpjun09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpjul09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpjul09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpjul09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpjul09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpaug09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpaug09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpaug09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpaug09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpsep09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpsep09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpsep09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpsep09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpoct09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpoct09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpoct09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpoct09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpnov09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpnov09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpnov09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpnov09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpdec09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpdec09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpdec09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpdec09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.ffptot09.value = the_total			// fill in the total

	 }

//-----------------------------------------------------------------------------------------------------------
	function addcolumn10()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.projjan10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projjan10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projjan10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projjan10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projfeb10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projfeb10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projfeb10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projfeb10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projmar10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projmar10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projmar10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projmar10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projapr10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projapr10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projapr10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projapr10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projmay10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projmay10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projmay10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projmay10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projjun10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projjun10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projjun10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projjun10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projjul10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projjul10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projjul10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projjul10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projaug10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projaug10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projaug10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projaug10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projsep10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projsep10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projsep10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projsep10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projoct10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projoct10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projoct10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projoct10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projnov10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projnov10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projnov10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projnov10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projdec10.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projdec10.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projdec10.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projdec10.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.projtot10.value = the_total			// fill in the total

	 }

//-----------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------

   function Str2Num(str) {                     // converts a string to a number
       var dot = 0                             // counts num of . so there is only 1
	   var letter = ""                         // holds a single char of string
	   var l2n = 0                             // 
	   var num = ""                            // holds the new number
	   var i                                   // loop counter
	   var warn = 0                            // whether to warn about wrong chars
	   str = str + ""                          // makes sure we are starting w/a string
	   for (i=0; i<str.length; i++)            // for all chars in string
	   { 
	       letter = str.charAt(i)              // get a char
		   if ((letter == '.') && (dot < 1))   // if it's the 1st .
		   { 
		       num = num + '.'                 // include it in the number
			   dot = dot + 1                   // set, so know already have 1 .
		   } 
		   else if ((letter >= 0) && (letter <= 9)) 
		                                       // else, if is a number
		       num = num + letter              // include it in the number
		   else 
		       warn = 1                        // else is not valid char, so will warn
	   } 
	   if ((num == "") || (num == '.'))        // after all invalid chars are removed,
	   {                                       // if what's left is nothing or just .
	       num = 0                             // set value to 0
		   warn = 1                            // will warn
	   } 
	   if (warn)                               // if said will warn, show popup warning
	   { 
	       alert("You must enter numerical data only.\n" + 
		         "Do not include letters, punctuation,\n" + 
				 "spaces, or special characters."); 
	   } 
	   num = num - 0                           // convert number string to actual number
	   return num                              // return the number
   }

