//This is the master JavaScript file for the Change Mastery web site.

/* These functions (doSection, noSection) are used to make sidebars appear and disappear.
*/

function doSection (secNum){
	//display the section if it's not displayed; hide it if it is displayed
	if (secNum.style.display=="none"){secNum.style.display=""}
	else{secNum.style.display="none"}
}

function noSection (secNum){
	//remove the section when user clicks in the opened DIV
	if (secNum.style.display==""){secNum.style.display="none"}
}

function doExpand(paraNum, para1, para2, para3){
	//expand the paragraph and rotate the arrow; collapse and rotate it back
	if (paraNum.style.display=="none")
		{
			paraNum.style.display="";
			para1.style.display="none";
			para2.style.display="none";
			para3.style.display="none"
		}
	else
		{
			paraNum.style.display="none";
		}
}


//Insert new functions here. Please use unique identifiers and comment liberally.