function counter(filename)
{
  switch (filename)
  { case 'comdebug.exe'  : document.write('<!--comdebug.exe-->14560<!--comdebug.exe-->'); break;
    case 'dbmanage.exe'  : document.write('<!--dbmanage.exe-->1586<!--dbmanage.exe-->'); break;
    case 'httpdebug.exe' : document.write('<!--httpdebug.exe-->6887<!--httpdebug.exe-->'); break;
    case 'icontool.exe'  : document.write('<!--icontool.exe-->3356<!--icontool.exe-->'); break;
    case 'ieproxy.exe'   : document.write('<!--ieproxy.exe-->2582<!--ieproxy.exe-->'); break;
    case 'mcs51sim.zip'  : document.write('<!--mcs51sim.zip-->4308<!--mcs51sim.zip-->'); break;
    case 'emouzesms.zip' : document.write('<!--emouzesms.zip-->2919<!--emouzesms.zip-->'); break;
    case 'testcrc.zip'   : document.write('<!--testcrc.zip-->8829<!--testcrc.zip-->'); break;

    case 'em485b.htm'    : document.write('<!--em485b.htm-->8583<!--em485b.htm-->'); break;
    case 'em485bdoc.zip' : document.write('<!--em485bdoc.zip-->2185<!--em485bdoc.zip-->'); break;
    case 'em485c.htm'    : document.write('<!--em485c.htm-->6724<!--em485c.htm-->'); break;
    case 'em485cdoc.zip' : document.write('<!--em485cdoc.zip-->1653<!--em485cdoc.zip-->'); break;
    case 'em485faq.htm'  : document.write('<!--em485faq.htm-->5822<!--em485faq.htm-->'); break;
    case 'emcan.htm'     : document.write('<!--emcan.htm-->2424<!--emcan.htm-->'); break;
    case 'emcandoc.zip'  : document.write('<!--emcandoc.zip-->1183<!--emcandoc.zip-->'); break;
    case 'gl88.htm'      : document.write('<!--gl88.htm-->22<!--gl88.htm-->'); break;

    case 'RS232、RS422与RS485标准及应用.pdf': document.write('<!--RS232、RS422与RS485标准及应用.pdf-->7502<!--RS232、RS422与RS485标准及应用.pdf-->'); break;
    case '串行数据标准的选择与使用.pdf'     : document.write('<!--串行数据标准的选择与使用.pdf-->3836<!--串行数据标准的选择与使用.pdf-->'); break;
    case 'RS485RS422应用方案.pdf'           : document.write('<!--RS485RS422应用方案.pdf-->5315<!--RS485RS422应用方案.pdf-->'); break;
    case '提高RS485网络可靠性的若干措施.pdf': document.write('<!--提高RS485网络可靠性的若干措施.pdf-->2686<!--提高RS485网络可靠性的若干措施.pdf-->'); break;
    case '提高RS485总线可靠性的几种方法.pdf': document.write('<!--提高RS485总线可靠性的几种方法.pdf-->2488<!--提高RS485总线可靠性的几种方法.pdf-->'); break;
    case '低功耗RS485网络设计.pdf'          : document.write('<!--低功耗RS485网络设计.pdf-->2189<!--低功耗RS485网络设计.pdf-->'); break;
    case '51单片机仿真调试软件.zip'         : document.write('<!--51单片机仿真调试软件.zip-->3365<!--51单片机仿真调试软件.zip-->'); break;
    case '软件模拟串口RS232.zip'            : document.write('<!--软件模拟串口RS232.zip-->3797<!--软件模拟串口RS232.zip-->'); break;
    case '51单片机模拟串行通信.pdf'         : document.write('<!--51单片机模拟串行通信.pdf-->4709<!--51单片机模拟串行通信.pdf-->'); break;
    case '设定80C51串行异步通讯的波特率.pdf': document.write('<!--设定80C51串行异步通讯的波特率.pdf-->3294<!--设定80C51串行异步通讯的波特率.pdf-->'); break;
    case '自动检测80C51串行通讯的波特率.pdf': document.write('<!--自动检测80C51串行通讯的波特率.pdf-->5047<!--自动检测80C51串行通讯的波特率.pdf-->'); break;
    case 'Interfacing_AT_keyboard.pdf' : document.write('<!--Interfacing_AT_keyboard.pdf-->4016<!--Interfacing_AT_keyboard.pdf-->'); break;
    case 'Interfacing_serial.pdf'      : document.write('<!--Interfacing_serial.pdf-->9791<!--Interfacing_serial.pdf-->'); break;
    case 'Interfacing_parallel.pdf'    : document.write('<!--Interfacing_parallel.pdf-->3596<!--Interfacing_parallel.pdf-->'); break;
    case 'Interfacing_epp.pdf'         : document.write('<!--Interfacing_epp.pdf-->3459<!--Interfacing_epp.pdf-->'); break;
    case 'Interfacing_ecp.pdf'         : document.write('<!--Interfacing_ecp.pdf-->2866<!--Interfacing_ecp.pdf-->'); break;
    case 'Interfacing_interupt.pdf'    : document.write('<!--Interfacing_interupt.pdf-->3427<!--Interfacing_interupt.pdf-->'); break;
    case 'advhttp.zip'      : document.write('<!--advhttp.zip-->2353<!--advhttp.zip-->'); break;
    case 'as201d5.zip'      : document.write('<!--as201d5.zip-->2395<!--as201d5.zip-->'); break;
    case 'tmsa32.zip'       : document.write('<!--tmsa32.zip-->3436<!--tmsa32.zip-->'); break;
    case 'Delphi-Refer.zip' : document.write('<!--Delphi-Refer.zip-->3966<!--Delphi-Refer.zip-->'); break;
    case 'Delphi-Store.chm' : document.write('<!--Delphi-Store.chm-->4675<!--Delphi-Store.chm-->'); break;
    case 'Delphi-THBBS.chm' : document.write('<!--Delphi-THBBS.chm-->5079<!--Delphi-THBBS.chm-->'); break;
    case 'Delphi-Tips.chm'  : document.write('<!--Delphi-Tips.chm-->3510<!--Delphi-Tips.chm-->'); break;
  };
};

