// expandit function
//   calls toggleSection function after a
//   short delay so that images display 
//   without interuption
//change "inline" to "block" due to Netscape 7 problem. -MCT

var openDisplay = "block";
var closedDisplay = "none";
var sectionCount = 1;
/*
var arrowDown = new Image();
arrowDown.src = "arrow_up.gif";
var arrowRight = new Image();
arrowRight.src = "arrow_down.gif";
*/

var bulletLeft = new Image();
bulletLeft.src = "/images/htdocs/green_dot.gif";
	
function expandit(itemId)
{
	window.setTimeout("toggleSection('" + itemId + "')",50);
}

// toggleSection function
//   opens or closes menu section 
function toggleSection(itemId) {
	var arrowId = itemId.replace("SectionPanel", "ArrowImage");
	var arrow, item;
    
	if (document.all) {
		item = document.all[itemId];
		//arrow = document.all[arrowId];
	}
    
	if (!document.all && document.getElementById) {
		item = document.getElementById(itemId);
		//arrow = document.getElementById(arrowId);
	}
        
	if (item.style.display == "none") {
		//arrow.src = arrowDown.src;
		item.style.display = "block";
	}
	else {
		//arrow.src = arrowRight.src;	
		item.style.display = "none";		
	}
}
