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,arrowNum){
	//expand the paragraph and rotate the arrow; collapse and rotate it back
	if (paraNum.style.display=="none"){paraNum.style.display="block";arrowNum.src="images/arrowdn.gif"}
	else{paraNum.style.display="none";arrowNum.src="images/arrowrt.gif"}
}

//These functions control the behavior of the homepage go arrows.
function liteGo(spNo){
	spNo.style.background="#00cc33";
	spNo.style.color="#FFFFFF";
}

function liteOff(spNo){
	spNo.style.background="transparent";
	spNo.style.color="#000000";
}

function opentopic(param,last) {
	var par = (param=="")?"":param.substr(1);
	var n = parseInt(par);
	if (!isNaN(n)) {
		if (n>0 && n<=last) {
			var execstr = "doExpand(op"+n+",ar"+n+")"
			eval(execstr);
		}
	}
}
