function toggle_display(_id,_display) { td(_id,_display) } //SHOULD REMOVE toggle_display REPLACE WITH td

function td(_id,_display)
{

	var oId = document.getElementById(_id);

	if (!oId) return; //_ID DOESN'T EXIST

	if (!_display) //TOGGLE
	{

		var currentDisplay = null;
		
		if (window.getComputedStyle) currentDisplay = window.getComputedStyle(oId,null).display; //STUPID FIREFOX
		if (oId.currentStyle) currentDisplay = document.getElementById(_id).currentStyle.display; //GOOD IE
		
		if ( (currentDisplay == 'none') || (!currentDisplay) )
			_display = 'inline'
		else
			_display = 'none';

	}

	oId.style.display = _display;

}