function startCalc(){
  interval = setInterval("calc()",1);
}
function calc(){
	a = document.form.families2.value
	b = document.form.sponsor_event2.value
	c = document.form.family_attendance2.value
	d = document.form.coup_stick2.value
	e = document.form.longhouse_attendance2.value
	f = document.form.minutes2.value 
	g = document.form.sponsor_tribe2.value
	h = document.form.non_nation_recruiting2.value
	i = document.form.new_family_referral2.value 
	j = document.form.new_family2.value
	k = document.form.tribal_meeting2.value
	l = document.form.tribal_overnighter2.value 
	m = document.form.community_service2.value
	n = document.form.longhouse_chief2.value
	o = document.form.officer2.value 
	p = document.form.roster2.value
	q = document.form.pinewood_participant2.value
	r = document.form.website2.value
	s = 0
	t = 0
	u = 0
	v = 0
	w = 0
	x = 0
	y = 0
	z = 0
	document.form.total2.value = (a - 0) + (b - 0) + (c - 0) + (d - 0) + (e - 0) + 
	(f - 0) + (g - 0) + (h - 0) + (i - 0) + (j - 0) + (k - 0) + (l - 0) + (m - 0) + 
	(n - 0) + (o - 0) + (p - 0) + (q - 0) + (r - 0) + (s - 0) + (t - 0) + (u - 0) + 
	(v - 0) + (w - 0) + (x - 0) + (y - 0) + (z - 0);
}
function stopCalc(){
  clearInterval(interval);
}

function show(obj) {
  eval("document.all." + obj + ".style.display='block'");
}
function clearIt(obj) {
  eval("document.all." + obj + ".style.display='none'");
}



function hide(arg)
{
		document.getElementById(arg).style.display = 'none';
}
function display(arg)
{
    document.getElementById(arg).style.display = 'inline';
}
function tgl(arg)
{
    document.getElementById(arg).style.display = 'inline';
	this.form.arg.focus();
}
function init(){
	document.form.name.focus()
    document.getElementById('SectionA').style.display = 'none'
    document.getElementById('SectionB').style.display = 'none'
    document.getElementById('SectionC').style.display = 'none'
    document.getElementById('SectionD').style.display = 'none'
		document.getElementById('SectionSubmit').style.display = 'none'
}

function updateSummary(){
document.write()
}
