ns6_index=0
function change(e)
{
  if (!document.all&&!document.getElementById)
     return
  if (!document.all&&document.getElementById)
    ns6_index=1
  var source=document.getElementById&&!document.all? e.target:event.srcElement
  if (source.className=="folding")
  {
    var source2=document.getElementById&&!document.all? source.parentNode.childNodes:source.parentElement.all
    if (source2[2+ns6_index].style.display=="none")
    {
       source2[0].src="/pic/icons/btnMinus.png"
       source2[2+ns6_index].style.display=''
    }
    else
    {
       source2[0].src="/pic/icons/btnPlus.png"
       source2[2+ns6_index].style.display="none"
    }
  }
}
document.onclick=change

function expand(ID)
{
  document.getElementById('btn0'+ID).src="/pic/icons/btnMinus.png";
	document.getElementById('item0'+ID).style.display='';
}

function collapse(ID)
{
  document.getElementById('btn0'+ID).src="/pic/icons/btnPlus.png";
	document.getElementById('item0'+ID).style.display="none";
}

function expandAll(NR)
{
  var i;
  for (i=1; i<=NR; i++)
  {
    expand(i);
  }
}

function collapseAll(NR)
{
  var i;
  for (i=1; i<=NR; i++)
  {
    collapse(i);
  }
}

function expandAlle(NR)
{
  var i;
  for (i=101; i<=NR; i++)
  {
    expand(i);
  }
}

function collapseAlle(NR)
{
  var i;
  for (i=101; i<=NR; i++)
  {
    collapse(i);
  }
}
