// <![CDATA[

// the following to functions allow you to have precise control over the display.
// nr is the ID of the css element.

function displayOff(nr)
{
	if (document.all)
		document.all[nr].style.display = 'none';
	else if (document.getElementById)
		document.getElementById(nr).style.display = 'none';
} // displayOff

function displayOn(nr)
{
	if (document.all)
		document.all[nr].style.display = 'block';
	else if (document.getElementById)
		document.getElementById(nr).style.display = 'block';
} // displayOn

// the following method inverts the current mode
// i.e. turns displayed to hidden and vice-versa

function displayToggle(nr)
{
	if (document.all)
		document.all[nr].style.display = (document.all[nr].style.display == 'none') ? 'block' : 'none';
	else if (document.getElementById)
		document.getElementById(nr).style.display = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
} // displayToggle


// ]]>
