
	function addcolumn1()
	{
		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 addcolumn2()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.depjan06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjan06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjan06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjan06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depfeb06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depfeb06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depfeb06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depfeb06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depmar06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depmar06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depmar06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depmar06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depapr06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depapr06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depapr06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depapr06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depmay06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depmay06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depmay06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depmay06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depjun06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjun06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjun06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjun06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.depjul06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depjul06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depjul06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depjul06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depaug06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depaug06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depaug06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depaug06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depsep06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depsep06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depsep06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depsep06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depoct06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depoct06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depoct06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depoct06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depnov06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depnov06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depnov06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depnov06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.depdec06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.depdec06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.depdec06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.depdec06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.deptot06.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.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 addcolumn4()
	{
		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 addcolumn5()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.loansjan06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjan06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjan06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjan06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansfeb06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansfeb06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansfeb06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansfeb06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansmar06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansmar06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansmar06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansmar06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansapr06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansapr06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansapr06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansapr06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansmay06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansmay06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansmay06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansmay06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansjun06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjun06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjun06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjun06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.loansjul06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansjul06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansjul06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansjul06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansaug06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansaug06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansaug06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansaug06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loanssep06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loanssep06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loanssep06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loanssep06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansoct06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansoct06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansoct06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansoct06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansnov06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansnov06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansnov06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansnov06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.loansdec06.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.loansdec06.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.loansdec06.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.loansdec06.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.loanstot06.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.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 addcolumn7()
	{
		var the_amt = 0												// will hold the amount
		var the_total = 0											// will hold the total

		if (document.SeasonalApp.secjan08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secjan08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secjan08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secjan08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secfeb08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secfeb08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secfeb08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secfeb08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secmar08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secmar08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secmar08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secmar08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secapr08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secapr08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secapr08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secapr08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secmay08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secmay08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secmay08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secmay08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secjun08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secjun08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secjun08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secjun08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.secjul08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secjul08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secjul08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secjul08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secaug08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secaug08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secaug08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secaug08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secsep08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secsep08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secsep08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secsep08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secoct08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secoct08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secoct08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secoct08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secnov08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secnov08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secnov08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secnov08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.secdec08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.secdec08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.secdec08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.secdec08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.sectot08.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.ffsjan08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsjan08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsjan08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsjan08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsfeb08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsfeb08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsfeb08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsfeb08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsmar08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsmar08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsmar08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsmar08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsapr08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsapr08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsapr08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsapr08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsmay08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsmay08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsmay08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsmay08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsjun08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsjun08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsjun08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsjun08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffsjul08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsjul08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsjul08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsjul08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffsaug08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsaug08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsaug08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsaug08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffssep08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffssep08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffssep08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffssep08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffsoct08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsoct08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsoct08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsoct08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffsnov08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsnov08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsnov08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsnov08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffsdec08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffsdec08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffsdec08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffsdec08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.ffstot08.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.ffpjan08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpjan08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpjan08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpjan08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpfeb08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpfeb08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpfeb08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpfeb08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpmar08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpmar08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpmar08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpmar08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpapr08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpapr08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpapr08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpapr08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpmay08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpmay08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpmay08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpmay08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpjun08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpjun08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpjun08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpjun08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.ffpjul08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpjul08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpjul08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpjul08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpaug08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpaug08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpaug08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpaug08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpsep08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpsep08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpsep08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpsep08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpoct08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpoct08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpoct08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpoct08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpnov08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpnov08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpnov08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpnov08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.ffpdec08.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.ffpdec08.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.ffpdec08.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.ffpdec08.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.ffptot08.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.projjan09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projjan09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projjan09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projjan09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projfeb09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projfeb09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projfeb09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projfeb09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projmar09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projmar09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projmar09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projmar09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projapr09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projapr09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projapr09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projapr09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projmay09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projmay09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projmay09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projmay09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projjun09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projjun09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projjun09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projjun09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt

		if (document.SeasonalApp.projjul09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projjul09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projjul09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projjul09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projaug09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projaug09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projaug09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projaug09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projsep09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projsep09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projsep09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projsep09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projoct09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projoct09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projoct09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projoct09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projnov09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projnov09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projnov09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projnov09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		

		if (document.SeasonalApp.projdec09.value != null)			// if form element isn't empty
		{
			var the_amtstr = document.SeasonalApp.projdec09.value	// get the amt the user entered (string)
			the_amt = Str2Num(the_amtstr)							// convert string to number
			document.SeasonalApp.projdec09.value = the_amt			// fill in the adjusted amt in the form
		}
		else
		{
			the_amt = 0
			document.SeasonalApp.projdec09.value = the_amt			// make it 0
		}
		the_total = the_total + the_amt		
		
		document.SeasonalApp.projtot09.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
   }
