function toggleBar(barID, contID)
{
	var barObj = document.getElementById(barID);
	var contObj = document.getElementById(contID);
	
	if(barObj.className == "leftmenuitem_open")
	{
		barObj.className = "leftmenuitem_closed"
		contObj.style.cssText = "display:none;";
	} else
	{
		barObj.className = "leftmenuitem_open"
		contObj.style.cssText = "display:block;";	
	}
	
}

var dropdowns = new Array('activity','boutique','resources');
function showDropDown(id)
{
	
	for(i=1; i<4; i++)
	{
		var curDropDown = document.getElementById(dropdowns[i-1]);
		if (i == id) curDropDown.style.cssText = "display:block;";
		else curDropDown.style.cssText = "display:none;";
	}
}

function hideDropDown(id)
{
	dropdown = document.getElementById(dropdowns[id-1]);
	dropdown.style.cssText = "display:none;";
}
