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=\"6\">影片导演</option>')
document.writeln('          <option value=\"5\">影片Tags</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=\'812\'>影视频道 </option><option value=\'812:822\'>──动作片 </option><option value=\'812:821\'>──恐怖片 </option><option value=\'812:820\'>──爱情片 </option><option value=\'812:819\'>──战争片 </option><option value=\'812:818\'>──喜剧片 </option><option value=\'812:817\'>──科幻片 </option><option value=\'812:815\'>──综艺片 </option><option value=\'812:814\'>──剧情片 </option><option value=\'812:813\'>──纪录片 </option><option value=\'812:921\'>──灾难片 </option><option value=\'812:920\'>──武侠片 </option><option value=\'812:1422\'>──预告片 </option><option value=\'812:1423\'>──视频资讯 </option><option value=\'1431\'>在线影片 </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=\"7\" 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:95/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();} }); });
