/*
initializes the variable that holds the position of the
current copy div being displayed
*/
var currentCopyDiv = 0;

/*
this function advances the copy on pages where a "more" link is present
it displays copy based on what is in the array called "divArray"
this array is hardcoded into the page that includes this script
*/
function advanceDiv() {
	document.getElementById(divArray[currentCopyDiv]).style.display = "none";
	if (currentCopyDiv == (divArray.length - 1)) {
		currentCopyDiv = 0;
	} else {
		currentCopyDiv++;
	}
	document.getElementById(divArray[currentCopyDiv]).style.display = "block";
}


