Feeling the pinch this Christmas?

var compound = 0;

function G6(){
form = document.budgetcalculator;
var frmerror = “”;
var numitems = 40;
var temp = new Array();
compound = 0;
foodtotalcompound = 0;
drinktotalcompound = 0;
presentstotalcompound = 0;
cardstotalcompound = 0;
entertainmenttotalcompound = 0;
othertotalcompound = 0;

for (x=1;x