sort out some madness,ready to gather subtotals with jquery form commented out.