		var visible = new Array(1,1,1,1,1,1,1);
		
		function togglebox(n)
		{
			if(visible[n])	//then hide this section
			{
				hideBox(n);
			}
			else			//then show this section
			{
				showBox(n);
			}
		}
		
		function hideBox(n)
		{
			var box = document.getElementById("box"+n);
			var tog = document.getElementById("tog"+n);
			var sec = document.getElementById("sec"+n);
			
			box.style.display = "none";
			tog.innerHTML = "+";
			sec.title = "click to expand";
			visible[n] = 0;
		}
		
		function showBox(n)
		{
			var box = document.getElementById("box"+n);
			var tog = document.getElementById("tog"+n);
			var sec = document.getElementById("sec"+n);
			
			box.style.display = "block";
			tog.innerHTML = "&ndash;";
			sec.title = "click to collapse";
			visible[n] = 1;
		}
		
		function collapseAll()
		{
			for(i=1; i<8; i++)
			{
				hideBox(i);
			}
		}

		function expandAll()
		{
			for(i=1; i<8; i++)
			{
				showBox(i);
			}
		}

		function setup()
		{
		//	hideBox(1);
			hideBox(6);
		}

