document.writeln('<table width=\"98%\" border=\"0\" align=\"center\">')
document.writeln('<form id=\"SearchForm\" onsubmit=\"return false\" name=\"SearchForm\" method=\"get\" action=\"/item/index.asp\">')
document.writeln('  <tr>')
document.writeln('    <td align=\"center\"><select name=\"t\" id=\"m_t\">')
document.writeln('          <option value=\"1\">商品名称</option>')
document.writeln('          <option value=\"2\">商品介绍</option>')
document.writeln('          <option value=\"3\">生 产 商</option>')
document.writeln('          <option value=\"4\">录入者</option>')
document.writeln('          <option value=\"5\">商品Tags</option>')
document.writeln('          <option value=\"6\">商品ID</option>')
document.writeln('      </select>')
document.writeln('        <select name=\"tid\" id=\"m_tid\" style=\"width:150px\">')
document.writeln('          <option value=\"0\" selected=\"selected\">所有栏目</option>')
document.writeln('<option value=\'926\'>网上购物 </option><option value=\'926:1243\'>──居家生活 </option><option value=\'926:1243:1354\'>────水具/酒具 </option><option value=\'926:1243:1355\'>────清洁用品 </option><option value=\'926:1243:1356\'>────家具 </option><option value=\'926:1243:1474\'>────收纳保鲜 </option><option value=\'926:1243:1475\'>────床品件套 </option><option value=\'926:1243:1476\'>────被子 </option><option value=\'926:1243:1477\'>────家装建材 </option><option value=\'926:1243:1478\'>────灯具 </option><option value=\'926:1243:1479\'>────生活日用 </option><option value=\'926:1243:1480\'>────烹饪锅具 </option><option value=\'926:1243:1481\'>────餐具 </option><option value=\'926:1243:1482\'>────蚊帐凉席 </option><option value=\'926:1243:1483\'>────枕头枕芯 </option><option value=\'926:1243:1484\'>────宠物生活 </option><option value=\'926:1243:1485\'>────急救卫生 </option><option value=\'926:1244\'>──电脑数码 </option><option value=\'926:1244:1334\'>────健身器材 </option><option value=\'926:1244:1459\'>────超极本 </option><option value=\'926:1244:1460\'>────笔记本 </option><option value=\'926:1244:1461\'>────平板电脑 </option><option value=\'926:1244:1462\'>────打印机 </option><option value=\'926:1244:1463\'>────移动硬盘 </option><option value=\'926:1244:1464\'>────路由器 </option><option value=\'926:1244:1465\'>────显示器 </option><option value=\'926:1244:1466\'>────数码相机 </option><option value=\'926:1244:1467\'>────单反相机 </option><option value=\'926:1244:1468\'>────台式电脑 </option><option value=\'926:1244:1469\'>────耳机 </option><option value=\'926:1244:1470\'>────数码配件 </option><option value=\'926:1244:1471\'>────办公文仪 </option><option value=\'926:1244:1472\'>────鼠标 </option><option value=\'926:1244:1473\'>────显卡 </option><option value=\'926:1248\'>──服饰鞋包 </option><option value=\'926:1248:1249\'>────男鞋专区 </option><option value=\'926:1248:1250\'>────女装 </option><option value=\'926:1248:1251\'>────男装 </option><option value=\'926:1248:1448\'>────服装配饰 </option><option value=\'926:1248:1449\'>────内衣 </option><option value=\'926:1248:1450\'>────童装 </option><option value=\'926:1248:1451\'>────男鞋 </option><option value=\'926:1248:1452\'>────功能箱包 </option><option value=\'926:1248:1453\'>────潮流女包 </option><option value=\'926:1248:1454\'>────时尚男包 </option><option value=\'926:1248:1455\'>────户外鞋服 </option><option value=\'926:1248:1456\'>────户外装备 </option><option value=\'926:1248:1457\'>────运动器械 </option><option value=\'926:1248:1458\'>────运动鞋服 </option><option value=\'926:1649\'>──珠光宝石 </option><option value=\'926:1514\'>──美食小吃 </option>        </select>')
document.writeln('        <input name=\"key\" type=\"text\" id=\"m_key\" class=\"textbox\"  value=\"关键字\" onfocus=\"this.select();\"/>')
document.writeln('        <input name=\"ChannelID\" id=\"m_id\" value=\"5\" type=\"hidden\" />')
document.writeln('        <input type=\"button\" onclick=\"turnsearch()\" class=\"inputButton\" name=\"sbtn\" value=\"搜 索\" /></td>')
document.writeln('  </tr>')
document.writeln('</form>')
document.writeln('</table>')
function turnsearch(){location.href='http://192.168.0.10/item/index.asp?c-'+$('#m_id').val()+',tid-'+$('#m_tid').val()+',t-'+$('#m_t').val()+',key-'+$('#m_key').val()+'.html';}
$(document).ready(function() { $(document).keydown(function(e) { if (e.keyCode==13){ turnsearch();} }); });
