// JavaScript Document for UM Physicians System Overview popups
var x;

//lists names of pop ups
var box = new Array();
box[0] = 'PopUpText';
box[1] = 'PopUpText1';
box[2] = 'PopUpText2';
box[3] = 'PopUpText3';
box[4] = 'PopUpText4';
box[5] = 'PopUpText5';
box[6] = 'PopUpText6';
box[7] = 'PopUpText7';
box[8] = 'PopUpText8';
box[9] = 'PopUpText9';


// hides all boxes, then opens the selected one
function openBox(i){
	for(x in box){
		if(document.getElementById(box[x]) != null){
			document.getElementById(box[x]).style.display = 'none';
		}
	}
	
	
	document.getElementById(box[i]).style.display = 'block';
}

// closes the box
function closeBox(i){
	document.getElementById(box[i]).style.display = 'none';
}