<!--
	
	/*
		Expand and collapse a menu
	*/
	
	
	function toggleLayer(whichLayer)
	{
		var iTotal = 3; 	//Total expandable layers...
							//Got to give yourself plenty of room
							
		//Close all branches....
		for (var i = 1; i <= iTotal; i++) {
			var oDiv = _getLayerObj('subnav' + i);
			if  (oDiv) oDiv.display = 'none';
		}

		var oOpenDiv = _getLayerObj(whichLayer);
		if  (oOpenDiv) {
			oOpenDiv.display = 'block';
		} 
	}
	
	function _getLayerObj(whichLayer) 
	{
		if (document.getElementById)
		{
			// this is the way the standards work
			var style2 = document.getElementById(whichLayer).style;
		}
		else if (document.all)
		{
			// this is the way old msie versions work
			var style2 = document.all[whichLayer].style;
		}
		else if (document.layers)
		{
			// this is the way nn4 works
			var style2 = document.layers[whichLayer].style;
		}
		return style2;
	}
//-->