var lastDiv = "";
function showDiv(divName) {
	// hide last div
	if (lastDiv) {
		document.getElementById(lastDiv).className = "populate_off";
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	if (divName && document.getElementById(divName)) {
		document.getElementById(divName).className = "populate_on";
		lastDiv = divName;
	}
}
var lastDiv2 = "";
function showDiv2(divName) {
	// hide last div
	if (lastDiv2) {
		document.getElementById(lastDiv2).className = "populate_off";
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	if (divName && document.getElementById(divName)) {
		document.getElementById(divName).className = "populate_on";
		lastDiv2 = divName;
	}
}
var lastDiv3 = "";
function showDiv3(divName) {
	// hide last div
	if (lastDiv3) {
		document.getElementById(lastDiv3).className = "populate_off";
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	if (divName && document.getElementById(divName)) {
		document.getElementById(divName).className = "populate_on";
		lastDiv3 = divName;
	}
}
var lastDiv4 = "";
function showDiv4(divName) {
	// hide last div
	if (lastDiv4) {
		document.getElementById(lastDiv4).className = "populate_off";
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	if (divName && document.getElementById(divName)) {
		document.getElementById(divName).className = "populate_on";
		lastDiv4 = divName;
	}
}
