//
// wim_help.js
//

function writeMenu(sel_item) {
  var clv = new Array;  // css class values

  clv[0] = (sel_item == 0) ? 'm_item_a_sel' : 'm_item_a'; // How to Use Help
  clv[1] = (sel_item == 1) ? 'm_item_a_sel' : 'm_item_a'; // About Web Image Monitor

  // Explanation of Each Page 
  clv[2] = (sel_item == 2) ? 'm_item_sel' : 'm_item'; // Home
  clv[3] = (sel_item == 3) ? 'm_item_sel' : 'm_item'; // System Settings
  clv[9] = (sel_item == 9) ? 'm_item_sel' : 'm_item'; // Scan Destination
  clv[10] = (sel_item == 10) ? 'm_item_sel' : 'm_item'; // ID Card Scan Destination
  clv[11] = (sel_item == 11) ? 'm_item_sel' : 'm_item'; // Restrict Available Functions
  clv[4] = (sel_item == 4) ? 'm_item_sel' : 'm_item'; // Network Settings
  clv[8] = (sel_item == 8) ? 'm_item_sel' : 'm_item'; // IPsec settings
  clv[5] = (sel_item == 5) ? 'm_item_sel' : 'm_item'; // Reports Print
  clv[6] = (sel_item == 6) ? 'm_item_sel' : 'm_item'; // Administrator Tools
  //clv[12] = (sel_item == 12) ? 'm_item_sel' : 'm_item'; // PaaS(Printer as a Service) Settings
  clv[7] = (sel_item == 7) ? 'm_item_a_sel' : 'm_item_a'; // Trademarks


  document.write(
    '<a class="'+clv[0]+'" href="help.html">如何使用帮助</a>' +
    '<a class="'+clv[1]+'" href="wsm.html">关于Web Image Monitor</a>' +
    '<p class="m_title">页面说明 </p>' +
    '<a class="'+clv[2]+'" href="index.html">主页</a>' +
    '<a class="'+clv[3]+'" href="DE2000.html">系统设置</a>' +
    '<a class="'+clv[9]+'" href="DE7000.html">扫描目的地</a>' +
    '<a class="'+clv[10]+'" href="DE9000.html">身份证扫描目的地</a>' +
    '<a class="'+clv[11]+'" href="DE10000.html">限制可用功能</a>' +
    '<a class="'+clv[4]+'" href="DE3000.html">网络设置</a>' +
    '<a class="'+clv[8]+'" href="DE6000.html">IPsec设置</a>' +
    '<a class="'+clv[5]+'" href="DE4000.html">打印列表/报告</a>' +
    '<a class="'+clv[6]+'" href="DE5000.html">管理员工具</a>' +
    //'<a class="'+clv[12]+'" href="DE8000.html">PaaS（打印机作为服务）设置</a>' +
    '<a class="'+clv[7]+'" href="copyright.html">商标</a>'
  );
}
