
<!--
mShow = 10; mHide = 10;
tShow = 400; tHide = 1500;
ts = '-';    th = '-';      ti = '-';
ms = '-';    mh = '-';      mi = '-';
ttms = null; ttmh = null;
mtms = null; mtmh = null;

function mshow(name)
{
  clearTimeout(ttmh);
  ttmh = setTimeout("if(ti != '-'){document.all(ti).style.display = 'none'}", mShow);

  ms = name;  mh = mi;
  if (mh!='-' && mh!=ms)
  { clearTimeout(mtmh);
    mtmh = setTimeout("if(ms != mh){document.all(mh).style.display = 'none'}", mShow)
  }
  mtms = setTimeout("if(ms != '-'){mi = ms; document.all(ms).style.display = ''}", mShow);
}

function mhide(name)
{
  ms = '-';   mh = name;
  clearTimeout(mtms);
  clearTimeout(mtmh);
  mtmh = setTimeout("if(ms != mh && mi.length <= mh.length){document.all(mh).style.display = 'none'}; if(mh!=mi && mi!='-'){document.all(mi).style.display = 'none'}", mHide)
}

function tshow(name)
{
  clearTimeout(mtmh);
  mtmh = setTimeout("if(mi != '-'){document.all(mi).style.display = 'none'}", tShow)

  ts = name;  th = ti;  tq = ti;
  if (th!='-' && th!=ts && th.length >= ts.length)
  { if (ts.length == 3) 
    { aq = getarr(ti,1,3);
      clearTimeout(ttmh); 
      ttmh = setTimeout("for (i = 0; i < aq.length; i++){document.all(aq[i]).style.display = 'none'}", tShow)
    }
    else
    { aq = getarr(ti,1,ts.length);
      clearTimeout(ttmh); 
      ttmh = setTimeout("for (i = 0; i < aq.length; i++){document.all(aq[i]).style.display = 'none'}", tShow)
    }
  }
  clearTimeout(ttms);
  ttms = setTimeout("if(ts != '-'){ti = ts; document.all(ts).style.display = ''}", tShow);
}

function thide(name)
{
  ts = '-';  th = name;
  clearTimeout(ttms);
  clearTimeout(ttmh);
  ttmh = setTimeout("if(ts != th && ti.length <= th.length){document.all(th).style.display = 'none'}; if(th!=ti && ti!='-' && ti.length <= th.length){document.all(ti).style.display = 'none'}", tHide)
}

function hdTBL(name)
{
  ts = '-';   th = name;  
  aq = getarr(name,1,3);
  clearTimeout(ttms);
  clearTimeout(ttmh);
  ttmh = setTimeout("if(ts != th){ for (i = 0; i < aq.length; i++){document.all(aq[i]).style.display = 'none'} };", tHide)
}

function hdTD(name)
{
  ts = '-';  th = name;  
  aq = getarr(name,1,3);
  clearTimeout(ttms);   
  clearTimeout(ttmh);
  ttmh = setTimeout("if(ts != th && ti.length<=th.length){ for (i = 0; i < aq.length; i++) {document.all(aq[i]).style.display = 'none'} }; if(th!=ti && ti!='-' && ti.length <= th.length){document.all(ti).style.display = 'none'}", tHide)
}

function clr(name)
{
  tt = name;
  clearTimeout(ttmh);
  ttmh = setTimeout("if(ti != '-'&& ti.length >= tt.length){document.all(ti).style.display = 'none'};", tShow)
}

function hdNosub(name)
{
  ts = '-';  th = name;  aq = getarr(name,0,3);
  clearTimeout(ttms);
  clearTimeout(ttmh);
  ttmh = setTimeout("if(ts != th && ti.length <= th.length){ for (i = 0; i < aq.length; i++){document.all(aq[i]).style.display = 'none'} };", tHide)
}

function getarr(name, n0, ln)
{
  tq = name;
  aq=new Array();  
  if (n0==1) {aq[0]= tq; mq = 1}  else mq = 0;
  while(tq.length > ln)
  { tq = tq.substr(0,tq.length-2);
    aq[mq]= tq;
    mq += 1;
  }
  return aq;
}

//-->

