<!--
  var popList=new Array();
  var subList=new Array();
  var popCnt=0;

  function itemOver(el)
  {
    el.className='selitem';
    el.firstChild.className='mii';
  }

  function itemOut(el)
  {
    el.className='unselitem';
    el.firstChild.className='mi';
  }

  function popupBegin(sub,id)
  {
    subList[popCnt]=sub;
    popList[popCnt++]=id;
    document.write('<div id='+id+' class=pop><table cellspacing=0>');
    popupSpace();
  }

  function popupEnd()
  {
    document.write('</table></div>');
  }

  function popupItem(text,link)
  {
    document.write('<tr><td onmouseover="itemOver(this)" onmouseout="itemOut(this)"><a class=mi href="'+link+'">'+text+'</a></td></tr>');
    popupSpace();
  }

  function popupSpace()
  {
    document.write('<tr><td height=3></td></tr>');
  }

  function popupSeparator()
  {
    document.write('<tr><td height=1 style="background: #ffdead; padding-top: 0px; padding-bottom: 0px;"></td></tr>');
    popupSpace();
  }

  function subItem(sub,pop,text,link)
  {
    document.write('<td id="'+sub+'" class=sub onmouseover="menuShow(this,\''+pop+'\');"><a class=sub href="'+link+'">'+text+'</a></td>');
  }

  function subSeparator()
  {
    document.write('<td class=subsep>|</td>');
  }

  function menuHide()
  {
    var el;

    for (i=0; i<popCnt; i++) {
        el=document.getElementById(popList[i]);
        if (el.style.display!='none') el.style.display='none';
        el=document.getElementById(subList[i]);
        if (el.className!='sub') el.className='sub';
        if (el.firstChild.className!='sub') el.firstChild.className='sub';
    }
  }

  function menuShow(sub,mid)
  {
    var el=document.getElementById(mid);

    menuHide();
    sub.className='selsub';
    sub.firstChild.className='selsub';
    el.style.display='inline';
    if (ie) el.style.left=window.event.clientX-window.event.offsetX-3;
       else el.style.left=sub.offsetLeft+5;
    el.style.top=document.getElementById('menu').offsetHeight+1;
  }

  function lmenuBegin()
  {
    document.write('<table cellspacing=0 cellpadding=4 width=100%>');
  }

  function lmenuEnd()
  {
    document.write('</table>');
  }

  function lmenuOver(id)
  {
    document.getElementById(id).className='lmenusel';
  }

  function lmenuOut(id)
  {
    document.getElementById(id).className='lmenu';
  }

  function lmenuItem(id,text,link,prop)
  {
    document.write('<tr><td'+prop+' nowrap class=lmenu id="'+id+'" onmouseover="lmenuOver(\''+id+'\')" onmouseout="lmenuOut(\''+id+'\')"><a class=lmenu href="'+link+'">'+text+'</a></td></tr>');
  }

  function lmenuSpace()
  {
    document.write('<tr><td height=3></td></tr>');
  }

  function lmenuSeparator()
  {
    lmenuSpace();
    document.write('<tr><td height=1 style="background: #808080; padding-top: 0px; padding-bottom: 0px"></td></tr>');
    lmenuSpace();
  }

  function lmenuText(text,prop)
  {
    document.write('<tr><td'+prop+' nowrap class=lmenu>'+text+'</td></tr>');
  }
//-->

