function hideAnswers(totalNumber) {
	var	answer =	"answer0";
	for(i=1;i<totalNumber;i++){
		answer1	=	answer	+	i;
		document.getElementById(answer1).style.display = "none";
	}
}

//EXPAND COLLAPSE FUNCTION
function toggle(box,trigger) {
	var boxElementStyle=document.getElementById(box).style;
	if (boxElementStyle.display=="block"){
		boxElementStyle.display="none";
		document.getElementById(trigger).src = 'images/plusIcon.gif';
	}
	else { 
		boxElementStyle.display="block";
		document.getElementById(trigger).src = 'images/minusIcon.gif';
	}
}

//EXPAND COLLAPSE FUNCTION
function toggle2(box,trigger) {
	var boxElementStyle=document.getElementById(box).style;
	if (boxElementStyle.display=="block"){
		boxElementStyle.display="none";
		document.getElementById(trigger).src = 'images/mmcc/expand_bot.gif';
	}
	else { 
		boxElementStyle.display="block";
		document.getElementById(trigger).src = 'images/mmcc/collapse_bot.gif';
	}
}

//EXPAND COLLAPSE WORD SWITCH
function swap(four) {
	var key=document.getElementById(four);
	if (key.innerHTML =="The earliest you can file the FAFSA is January 1st of the senior year so you will want to file..."){
	key.innerHTML = "The earliest you can file the FAFSA is January 1st of the senior year so you will want to file as";
	}
	else { key.innerHTML = "The earliest you can file the FAFSA is January 1st of the senior year so you will want to file...";
	}
}

function swap2(four) {
	var key=document.getElementById(four);
	if (key.innerHTML =="The earliest you can file the FAFSA is January 1st of the senior year so you will want to file..."){
	key.innerHTML = "The earliest you can file the FAFSA is January 1st of the senior year so you will want to file as";
	}
	else { key.innerHTML = "The earliest you can file the FAFSA is January 1st of the senior year so you will want to file...";
	}
}
