
<!--
agent = navigator.userAgent;

function makeMn(mt,ml,as,aw,bgclr,url,prm)
{
  nm = '-';  sm = ''; lft = ''; kk = -1;
  for (i = 0; i<aM.length; i++)
  { 
    if (nm != aM[i][0])
    { kk += 1;
      if(kk==0) lft = ml; else  lft += as[kk-1]+(kk-1)*2+2;
      if (nm != '-')  sm += '</table>';
      nm = aM[i][0]; 
      sm += '<table class="tdsmn" onMouseover="ms=\''+nm+'\'" onMouseout="mhide(\''+nm+'\');" name="'+nm+'" id="'+nm+'" '+
            'width="'+aw[0]+'px" bgcolor='+bgclr+' cellspacing=0 cellpadding=0 border=1 '+
            'style="display:none; position:absolute; top:'+mt+'; left:'+lft+';">';
    }
    if (aM[i][2]=='0') sm += '<tr><td><a class="mn" href="'+aM[i][3]+'">'+aM[i][1]+'</a>'; 
    else  sm += '<tr><td><a class="mn" href="'+url+aM[i][2]+prm+'">'+aM[i][1]+'</a>'; 
    if (sm.length > 32000) {document.write(sm); sm = '';}
  }
  sm += '</table>';
  document.write(sm);
}

function makeTv(url, mG)
{
  nm = '-';  sm = '';
  for (i = 0; i<mG.length; i++)
  { 
    if (nm != mG[i][1])
    {
      if (nm != '-')  sm += '</table>';
      nm = mG[i][1]; 
      mgleft = mG[i][2];
      if (agent.indexOf("Firefox")>-1) mgleft-=10;
      if (agent.indexOf("Opera")>-1) mgleft-=10;
      sm += '<table class="tbtv" onMouseover="ts=\''+nm+'\'" onMouseout="hdTBL(\''+nm+'\');" name="'+nm+'" id="'+nm+'" '+
            'cellspacing=0 cellpadding=0 border=0 '+
            'style="display:none; position:absolute; top:'+mG[i][3]+'; left:'+mgleft+';">';
    }
    sm += '<tr><td class="tdsub" NOWRAP><a class="smn" href="'+aSP[mG[i][5]]+url+mG[i][6]+'">'+mG[i][4]+'</a>'; 
    if (sm.length > 32000) {document.write(sm); sm = '';}
  }
  sm += '</table>';
  document.write(sm);
}

function makeTvSub(url, mG)
{
  nm = '-';  sm = '';
  for (i = 0; i<mG.length; i++)
  { 
    if (nm != mG[i][1])
    {
      if (nm != '-')  sm += '</table>'; 
      nm = mG[i][1]; 
      mgleft = mG[i][2];
      if (agent.indexOf("Firefox")>-1) mgleft-=10;
      if (agent.indexOf("Opera")>-1) mgleft-=10;
      sm += '<table class="tbtv" name="'+nm+'" id="'+nm+'" '+
             'cellspacing=0 cellpadding=0 border=0 '+
             'style="display:none; position:absolute; top:'+mG[i][3]+'; left:'+mgleft+';">';
    }
    if(mG[i][7]==0)   // ??? ??????????
    {
      sm += '<tr><td class="tdsub" NOWRAP>'+
            '<a onMouseover="clr(\''+mG[i][0]+'\')" onMouseout="hdNosub(\''+mG[i][0]+'\')" class="smn" href="'+aSP[mG[i][5]]+url+mG[i][6]+'">'+mG[i][4]+'</a>'; 
      if (sm.length > 32000) {document.write(sm); sm = '';}
    }
    else  // ???? ?????????
    {
      sm += '<tr><td class="tdsub">'+
            '<a onMouseover="tshow(\''+mG[i][0]+'\')" onMouseout="hdTD(\''+mG[i][0]+'\')" class="smn" href="'+aSP[mG[i][5]]+url+mG[i][6]+'">'+mG[i][4]+'</a>';
      if (sm.length > 32000) {document.write(sm); sm = '';}
    }
  }
  sm += '</table>';
  document.write(sm);
}

// --> 
