var LastElem='none';

function showText(elem)
{
	if (LastElem != 'none')
	{
		chgElemVisibility(LastElem,'hidden');
	}
	chgElemVisibility(elem,'visible');
	LastElem=elem;
}


function chgElemVisibility(elem,visibility)
{
	
	myReference = getRefToElem(elem);
	if( !myReference )
	{
		noSupport();
		return;
	}

	if( myReference.style )
	{
		myReference.style.visibility = visibility;
	}
	else
	{
		noSupport();
	}
}


function getRefToElem(elem,oDoc)
{
	if( document.getElementById )
	{
		return document.getElementById(elem);
	}
	
	if( document.all )
	{
		return document.all[divID];
	}

	noSupport();
}

function noSupport()
{
// alert('Your browser does not support this feature');
}