<!--

function totalMusic()
{
	q1 = document.gifts.q1.options[document.gifts.q1.selectedIndex].value
	q21 = document.gifts.q21.options[document.gifts.q21.selectedIndex].value
	q41 = document.gifts.q41.options[document.gifts.q41.selectedIndex].value
	q61 = document.gifts.q61.options[document.gifts.q61.selectedIndex].value
	q81 = document.gifts.q81.options[document.gifts.q81.selectedIndex].value

	if (!q1)
		{ q1 = 0; }
	if (!q21)
		{ q21 = 0; }
	if (!q41)
		{ q41 = 0; }
	if (!q61)
		{ q61 = 0; }
	if (!q81)
		{ q81 = 0; }

	document.gifts.music.value = parseInt(q1) + parseInt(q21) + parseInt(q41) +
					    parseInt(q61) + parseInt(q81);
}

function totalProphecy()
{
	q2 = document.gifts.q2.options[document.gifts.q2.selectedIndex].value
	q22 = document.gifts.q22.options[document.gifts.q22.selectedIndex].value
	q42 = document.gifts.q42.options[document.gifts.q42.selectedIndex].value
	q62 = document.gifts.q62.options[document.gifts.q62.selectedIndex].value
	q82 = document.gifts.q82.options[document.gifts.q82.selectedIndex].value

	if (!q2)
		{ q2 = 0; }
	if (!q22)
		{ q22 = 0; }
	if (!q42)
		{ q42 = 0; }
	if (!q62)
		{ q62 = 0; }
	if (!q82)
		{ q82 = 0; }

	document.gifts.prophecy.value = parseInt(q2) + parseInt(q22) + parseInt(q42) +
					    parseInt(q62) + parseInt(q82);
}

function totalWisdom()
{
	q3 = document.gifts.q3.options[document.gifts.q3.selectedIndex].value
	q23 = document.gifts.q23.options[document.gifts.q23.selectedIndex].value
	q43 = document.gifts.q43.options[document.gifts.q43.selectedIndex].value
	q63 = document.gifts.q63.options[document.gifts.q63.selectedIndex].value
	q83 = document.gifts.q83.options[document.gifts.q83.selectedIndex].value

	if (!q3)
		{ q3 = 0; }
	if (!q23)
		{ q23 = 0; }
	if (!q43)
		{ q43 = 0; }
	if (!q63)
		{ q63 = 0; }
	if (!q83)
		{ q83 = 0; }

	document.gifts.wisdom.value = parseInt(q3) + parseInt(q23) + parseInt(q43) +
					    parseInt(q63) + parseInt(q83);
}

function totalKnowledge()
{
	q4 = document.gifts.q4.options[document.gifts.q4.selectedIndex].value
	q24 = document.gifts.q24.options[document.gifts.q24.selectedIndex].value
	q44 = document.gifts.q44.options[document.gifts.q44.selectedIndex].value
	q64 = document.gifts.q64.options[document.gifts.q64.selectedIndex].value
	q84 = document.gifts.q84.options[document.gifts.q84.selectedIndex].value

	if (!q4)
		{ q4 = 0; }
	if (!q24)
		{ q24 = 0; }
	if (!q44)
		{ q44 = 0; }
	if (!q64)
		{ q64 = 0; }
	if (!q84)
		{ q84 = 0; }

	document.gifts.knowledge.value = parseInt(q4) + parseInt(q24) + parseInt(q44) +
					    parseInt(q64) + parseInt(q84);
}

function totalTeaching()
{
	q5 = document.gifts.q5.options[document.gifts.q5.selectedIndex].value
	q25 = document.gifts.q25.options[document.gifts.q25.selectedIndex].value
	q45 = document.gifts.q45.options[document.gifts.q45.selectedIndex].value
	q65 = document.gifts.q65.options[document.gifts.q65.selectedIndex].value
	q85 = document.gifts.q85.options[document.gifts.q85.selectedIndex].value

	if (!q5)
		{ q5 = 0; }
	if (!q25)
		{ q25 = 0; }
	if (!q45)
		{ q45 = 0; }
	if (!q65)
		{ q65 = 0; }
	if (!q85)
		{ q85 = 0; }

	document.gifts.teaching.value = parseInt(q5) + parseInt(q25) + parseInt(q45) +
					    parseInt(q65) + parseInt(q85);
}

function totalMentoring()
{
	q6 = document.gifts.q6.options[document.gifts.q6.selectedIndex].value
	q26 = document.gifts.q26.options[document.gifts.q26.selectedIndex].value
	q46 = document.gifts.q46.options[document.gifts.q46.selectedIndex].value
	q66 = document.gifts.q66.options[document.gifts.q66.selectedIndex].value
	q86 = document.gifts.q86.options[document.gifts.q86.selectedIndex].value

	if (!q6)
		{ q6 = 0; }
	if (!q26)
		{ q26 = 0; }
	if (!q46)
		{ q46 = 0; }
	if (!q66)
		{ q66 = 0; }
	if (!q86)
		{ q86 = 0; }

	document.gifts.mentoring.value = parseInt(q6) + parseInt(q26) + parseInt(q46) +
					    parseInt(q66) + parseInt(q86);
}

function totalEvangelism()
{
	q7 = document.gifts.q7.options[document.gifts.q7.selectedIndex].value
	q27 = document.gifts.q27.options[document.gifts.q27.selectedIndex].value
	q47 = document.gifts.q47.options[document.gifts.q47.selectedIndex].value
	q67 = document.gifts.q67.options[document.gifts.q67.selectedIndex].value
	q87 = document.gifts.q87.options[document.gifts.q87.selectedIndex].value

	if (!q7)
		{ q7 = 0; }
	if (!q27)
		{ q27 = 0; }
	if (!q47)
		{ q47 = 0; }
	if (!q67)
		{ q67 = 0; }
	if (!q87)
		{ q87 = 0; }

	document.gifts.evangelism.value = parseInt(q7) + parseInt(q27) + parseInt(q47) +
					    parseInt(q67) + parseInt(q87);
}

function totalMissionary()
{
	q8 = document.gifts.q8.options[document.gifts.q8.selectedIndex].value
	q28 = document.gifts.q28.options[document.gifts.q28.selectedIndex].value
	q48 = document.gifts.q48.options[document.gifts.q48.selectedIndex].value
	q68 = document.gifts.q68.options[document.gifts.q68.selectedIndex].value
	q88 = document.gifts.q88.options[document.gifts.q88.selectedIndex].value

	if (!q8)
		{ q8 = 0; }
	if (!q28)
		{ q28 = 0; }
	if (!q48)
		{ q48 = 0; }
	if (!q68)
		{ q68 = 0; }
	if (!q88)
		{ q88 = 0; }

	document.gifts.missionary.value = parseInt(q8) + parseInt(q28) + parseInt(q48) +
					    parseInt(q68) + parseInt(q88);
}

function totalExhortation()
{
	q9 = document.gifts.q9.options[document.gifts.q9.selectedIndex].value
	q29 = document.gifts.q29.options[document.gifts.q29.selectedIndex].value
	q49 = document.gifts.q49.options[document.gifts.q49.selectedIndex].value
	q69 = document.gifts.q69.options[document.gifts.q69.selectedIndex].value
	q89 = document.gifts.q89.options[document.gifts.q89.selectedIndex].value

	if (!q9)
		{ q9 = 0; }
	if (!q29)
		{ q29 = 0; }
	if (!q49)
		{ q49 = 0; }
	if (!q69)
		{ q69 = 0; }
	if (!q89)
		{ q89 = 0; }

	document.gifts.exhortation.value = parseInt(q9) + parseInt(q29) + parseInt(q49) +
					    parseInt(q69) + parseInt(q89);
}

function totalDiscernment()
{
	q10 = document.gifts.q10.options[document.gifts.q10.selectedIndex].value
	q30 = document.gifts.q30.options[document.gifts.q30.selectedIndex].value
	q50 = document.gifts.q50.options[document.gifts.q50.selectedIndex].value
	q70 = document.gifts.q70.options[document.gifts.q70.selectedIndex].value
	q90 = document.gifts.q90.options[document.gifts.q90.selectedIndex].value

	if (!q10)
		{ q10 = 0; }
	if (!q30)
		{ q30 = 0; }
	if (!q50)
		{ q50 = 0; }
	if (!q70)
		{ q70 = 0; }
	if (!q90)
		{ q90 = 0; }

	document.gifts.discernment.value = parseInt(q10) + parseInt(q30) + parseInt(q50) +
					    parseInt(q70) + parseInt(q90);
}

function totalHospitality()
{
	q11 = document.gifts.q11.options[document.gifts.q11.selectedIndex].value
	q31 = document.gifts.q31.options[document.gifts.q31.selectedIndex].value
	q51 = document.gifts.q51.options[document.gifts.q51.selectedIndex].value
	q71 = document.gifts.q71.options[document.gifts.q71.selectedIndex].value
	q91 = document.gifts.q91.options[document.gifts.q91.selectedIndex].value

	if (!q11)
		{ q11 = 0; }
	if (!q31)
		{ q31 = 0; }
	if (!q51)
		{ q51 = 0; }
	if (!q71)
		{ q71 = 0; }
	if (!q91)
		{ q91 = 0; }

	document.gifts.hospitality.value = parseInt(q11) + parseInt(q31) + parseInt(q51) +
					    parseInt(q71) + parseInt(q91);
}

function totalCommunityBuilder()
{
	q12 = document.gifts.q12.options[document.gifts.q12.selectedIndex].value
	q32 = document.gifts.q32.options[document.gifts.q32.selectedIndex].value
	q52 = document.gifts.q52.options[document.gifts.q52.selectedIndex].value
	q72 = document.gifts.q72.options[document.gifts.q72.selectedIndex].value
	q92 = document.gifts.q92.options[document.gifts.q92.selectedIndex].value

	if (!q12)
		{ q12 = 0; }
	if (!q32)
		{ q32 = 0; }
	if (!q52)
		{ q52 = 0; }
	if (!q72)
		{ q72 = 0; }
	if (!q92)
		{ q92 = 0; }

	document.gifts.communitybuilder.value = parseInt(q12) + parseInt(q32) + parseInt(q52) +
					    parseInt(q72) + parseInt(q92);
}

function totalHealing()
{
	q13 = document.gifts.q13.options[document.gifts.q13.selectedIndex].value
	q33 = document.gifts.q33.options[document.gifts.q33.selectedIndex].value
	q53 = document.gifts.q53.options[document.gifts.q53.selectedIndex].value
	q73 = document.gifts.q73.options[document.gifts.q73.selectedIndex].value
	q93 = document.gifts.q93.options[document.gifts.q93.selectedIndex].value

	if (!q13)
		{ q13 = 0; }
	if (!q33)
		{ q33 = 0; }
	if (!q53)
		{ q53 = 0; }
	if (!q73)
		{ q73 = 0; }
	if (!q93)
		{ q93 = 0; }

	document.gifts.healing.value = parseInt(q13) + parseInt(q33) + parseInt(q53) +
					    parseInt(q73) + parseInt(q93);
}

function totalMercy()
{
	q14 = document.gifts.q14.options[document.gifts.q14.selectedIndex].value
	q34 = document.gifts.q34.options[document.gifts.q34.selectedIndex].value
	q54 = document.gifts.q54.options[document.gifts.q54.selectedIndex].value
	q74 = document.gifts.q74.options[document.gifts.q74.selectedIndex].value
	q94 = document.gifts.q94.options[document.gifts.q94.selectedIndex].value

	if (!q14)
		{ q14 = 0; }
	if (!q34)
		{ q34 = 0; }
	if (!q54)
		{ q54 = 0; }
	if (!q74)
		{ q74 = 0; }
	if (!q94)
		{ q94 = 0; }

	document.gifts.mercy.value = parseInt(q14) + parseInt(q34) + parseInt(q54) +
					    parseInt(q74) + parseInt(q94);
}

function totalHelps()
{
	q15 = document.gifts.q15.options[document.gifts.q15.selectedIndex].value
	q35 = document.gifts.q35.options[document.gifts.q35.selectedIndex].value
	q55 = document.gifts.q55.options[document.gifts.q55.selectedIndex].value
	q75 = document.gifts.q75.options[document.gifts.q75.selectedIndex].value
	q95 = document.gifts.q95.options[document.gifts.q95.selectedIndex].value

	if (!q15)
		{ q15 = 0; }
	if (!q35)
		{ q35 = 0; }
	if (!q55)
		{ q55 = 0; }
	if (!q75)
		{ q75 = 0; }
	if (!q95)
		{ q95 = 0; }

	document.gifts.helps.value = parseInt(q15) + parseInt(q35) + parseInt(q55) +
					    parseInt(q75) + parseInt(q95);
}

function totalService()
{
	q16 = document.gifts.q16.options[document.gifts.q16.selectedIndex].value
	q36 = document.gifts.q36.options[document.gifts.q36.selectedIndex].value
	q56 = document.gifts.q56.options[document.gifts.q56.selectedIndex].value
	q76 = document.gifts.q76.options[document.gifts.q76.selectedIndex].value
	q96 = document.gifts.q96.options[document.gifts.q96.selectedIndex].value

	if (!q16)
		{ q16 = 0; }
	if (!q36)
		{ q36 = 0; }
	if (!q56)
		{ q56 = 0; }
	if (!q76)
		{ q76 = 0; }
	if (!q96)
		{ q96 = 0; }

	document.gifts.service.value = parseInt(q16) + parseInt(q36) + parseInt(q56) +
					    parseInt(q76) + parseInt(q96);
}

function totalGiving()
{
	q17 = document.gifts.q17.options[document.gifts.q17.selectedIndex].value
	q37 = document.gifts.q37.options[document.gifts.q37.selectedIndex].value
	q57 = document.gifts.q57.options[document.gifts.q57.selectedIndex].value
	q77 = document.gifts.q77.options[document.gifts.q77.selectedIndex].value
	q97 = document.gifts.q97.options[document.gifts.q97.selectedIndex].value

	if (!q17)
		{ q17 = 0; }
	if (!q37)
		{ q37 = 0; }
	if (!q57)
		{ q57 = 0; }
	if (!q77)
		{ q77 = 0; }
	if (!q97)
		{ q97 = 0; }

	document.gifts.giving.value = parseInt(q17) + parseInt(q37) + parseInt(q57) +
					    parseInt(q77) + parseInt(q97);
}

function totalPrayer()
{
	q18 = document.gifts.q18.options[document.gifts.q18.selectedIndex].value
	q38 = document.gifts.q38.options[document.gifts.q38.selectedIndex].value
	q58 = document.gifts.q58.options[document.gifts.q58.selectedIndex].value
	q78 = document.gifts.q78.options[document.gifts.q78.selectedIndex].value
	q98 = document.gifts.q98.options[document.gifts.q98.selectedIndex].value

	if (!q18)
		{ q18 = 0; }
	if (!q38)
		{ q38 = 0; }
	if (!q58)
		{ q58 = 0; }
	if (!q78)
		{ q78 = 0; }
	if (!q98)
		{ q98 = 0; }

	document.gifts.prayer.value = parseInt(q18) + parseInt(q38) + parseInt(q58) +
					    parseInt(q78) + parseInt(q98);
}

function totalLeadership()
{
	q19 = document.gifts.q19.options[document.gifts.q19.selectedIndex].value
	q39 = document.gifts.q39.options[document.gifts.q39.selectedIndex].value
	q59 = document.gifts.q59.options[document.gifts.q59.selectedIndex].value
	q79 = document.gifts.q79.options[document.gifts.q79.selectedIndex].value
	q99 = document.gifts.q99.options[document.gifts.q99.selectedIndex].value

	if (!q19)
		{ q19 = 0; }
	if (!q39)
		{ q39 = 0; }
	if (!q59)
		{ q59 = 0; }
	if (!q79)
		{ q79 = 0; }
	if (!q99)
		{ q99 = 0; }

	document.gifts.leadership.value = parseInt(q19) + parseInt(q39) + parseInt(q59) +
					    parseInt(q79) + parseInt(q99);
}

function totalAdministration()
{
	q20 = document.gifts.q20.options[document.gifts.q20.selectedIndex].value
	q40 = document.gifts.q40.options[document.gifts.q40.selectedIndex].value
	q60 = document.gifts.q60.options[document.gifts.q60.selectedIndex].value
	q80 = document.gifts.q80.options[document.gifts.q80.selectedIndex].value
	q100 = document.gifts.q100.options[document.gifts.q100.selectedIndex].value

	if (!q20)
		{ q20 = 0; }
	if (!q40)
		{ q40 = 0; }
	if (!q60)
		{ q60 = 0; }
	if (!q80)
		{ q80 = 0; }
	if (!q100)
		{ q100 = 0; }

	document.gifts.administration.value = parseInt(q20) + parseInt(q40) + parseInt(q60) +
					    parseInt(q80) + parseInt(q100);
}

//-->