function ToggleFirstChild(oParent)
{
  oChild = oParent.children(0);
  oChild = document.all('tagname');
  if (oChild) {
    // 1) Get previously used display state.
	prevDisplay = oChild.getAttribute('last_display');

    // 2) Store current display state.
	currentDisplay = oChild.style.display;
	oChild.setAttribute('last_display', currentDisplay);

	// 3) Change display state
	if (currentDisplay != 'none')
	{
	  // 3a) Current display is visible, make it 'none' (invisible).
	  oChild.style.display = 'none';
	}
	else
	{
	  // 3b) Current display is invisible, make it visible.
	  if (prevDisplay)
	  {
	    // if we know a previous display style, use it.
	    oChild.style.display = prevDisplay;
      }
	  else
	  {
	    // otherwise, use 'block' style.
	    oChild.style.display = 'block';
	  }
	}
  }
  event.cancelBubble=true;
  event.returnValue=false;
}


function ToggleElement(sElementName)
{
  oChild = document.all(sElementName);
  oGraphic = document.all(sElementName + "+-")
  if (oChild) {
    // 1) Get previously used display state.
	prevDisplay = oChild.getAttribute('last_display');

    // 2) Store current display state.
	currentDisplay = oChild.style.display;
	oChild.setAttribute('last_display', currentDisplay);

	// 3) Change display state
	if (currentDisplay != 'none')
	{
	  // 3a) Current display is visible, make it 'none' (invisible).
	  oChild.style.display = 'none';
	  // if +- graphic, show the + graphic
	  if (oGraphic) {
	  	oGraphic.src=src="images/+.gif";
	  }
	}
	else
	{
	  // 3b) Current display is invisible, make it visible.
	  if (prevDisplay)
	  {
	    // if we know a previous display style, use it.
	    oChild.style.display = prevDisplay;
	  if (oGraphic) {
	  	oGraphic.src=src="images/-.gif";
	  }
      }
	  else
	  {
	    // otherwise, use 'block' style.
	    oChild.style.display = 'inline';
	    // if +- graphic, show the - graphic
	  if (oGraphic) {
	  	oGraphic.src=src="images/-.gif";
	  }

	  }
	}
  }
  event.cancelBubble=true;
  event.returnValue=false;
}


function GoGoGo(sURL)
{
  event.cancelBubble=true;
  window.location.href=sURL;
}
