var DHTML = (document.getElementById || document.all || document.layers);

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

function invi(Section)
	{
		if (!DHTML) return;
		var x = new getObj(Section);
		if (x.style.visibility == 'hidden')
		{
			x.style.visibility = 'visible';
			x.style.display = '';
		}
		else
		{
			x.style.visibility = 'hidden';
			x.style.display = 'none';
		}
	}

function Expand(action, Section)
	{
		if (!DHTML) return;
		var x = new getObj(Section);
		if (action == 'showit')
		{
			x.style.visibility = 'visible';
			x.style.display = '';
		}
		else
		{
			x.style.visibility = 'hidden';
			x.style.display = 'none';
		}
	}