function toggleDebug(which)
{
	btn = document.getElementById('showdebug');
	btns = document.getElementById('_debugbuttons');
	
	if (btn)
	{
		// alert("Button found");
		if (btn.style.visibility == 'visible')
		{
			//alert("about to hide");
			btn.style.visibility = "hidden";
			if (btns)
				btns.style.visibility = "hidden";
			turnOff('_showrequest');
			turnOff('_showfiles');
			turnOff('_showserver');
			turnOff('_showsession');
			turnOff('_showcookie');
			turnOff('_showget');
			turnOff('_showpost');
			turnOff('_showenv');
		}
		else
		{
			//alert("about to show");
			btn.style.visibility = "visible";
			if (btns)
				btns.style.visibility = "visible";
		}
	}
}
function turnOff(which)
{
	btn = document.getElementById(which);
	if (btn)
		btn.style.visibility = "hidden";
}

function toggleShow(which)
{
	btn = document.getElementById(which);
	
	if (btn)
	{
		//alert("Button found "+which);
		
		if (btn.style.visibility == 'visible')
		{
			//alert("about to hide");
			btn.style.visibility = "hidden";
			btn.style.height = "0";
		}
		else
		{
			//alert("about to show");
			btn.style.visibility = "visible";	
			btn.style.height = "auto";
		}
	}
	//else
		//alert("Button not found");
}
<!-- // create calendar object(s) just after form tag closed\n";
function uphour(name)
{
}
function downhour(name)
{
}
function upmin(name)
{
}
function downmin(name)
{
}
function am(name)
{
}
function pm(name)
{
}
function to12(name)
{
}
function to24(name)
{
}
