function search_result2()
{
   var frm = document.search_result_form2;
   var search_url="";
   var search_types="";
   for (i=0;i<frm.all("KeyType").length;i++)
   {
      if (frm.KeyType.item(i).checked)
	  {
	     search_types=frm.KeyType.item(i).value;
		 break;
	  }
   }
   switch (search_types)
   {
       case "1" :
	      search_url="http://search.tvsou.com/?KeyWords="+frm.KeyWords.value;
		  break;
	   case "2" :
	      search_url="http://star.tvsou.com/star_search_result.asp?KeyWords="+frm.KeyWords.value;
		  break;
	   case "3" :
	      search_url="http://www.tvsou.com/drama_search_result.asp?KeyWords="+frm.KeyWords.value;
		  break;
	   case "4" :
	      search_url="http://tv.tvsou.com/nettv.aspx?KeyWords="+frm.KeyWords.value;
		  break;
   }
   //alert(search_url);
   window.open (search_url);
   return false;
}

document.writeln("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("  <form id=\'search_result_form2\' name=\'search_result_form2\' action=\"http:\/\/search.tvsou.com\/q.aspx\"  onsubmit=\"return search_result2();\"><tr> <td height=\"80\" bgcolor=\"#EAF2FC\"><table width=\"400\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"5\">");
document.writeln("        <tr> <td nowrap class=\"14txt\">搜索节目表：<\/td><td> <input name=\"KeyWords\" type=\"text\" class=\"searchinput\" value=\"\" size=\"40\"><\/td> <td><input name=\"Submit2\" type=\"submit\" class=\"searchbutton\" value=\"搜 索\"><\/td><\/tr>");
document.writeln("        <tr><td>&nbsp;<\/td>");
document.writeln("          <td> <input name=\"KeyType\" type=\"radio\" value=\"1\" checked>");
document.writeln("      节目表 ");
document.writeln("      <input name=\"KeyType\" type=\"radio\" value=\"2\">");
document.writeln("      明星 ");
document.writeln("      <input name=\"KeyType\" type=\"radio\" value=\"3\">");
document.writeln("      剧情");
//document.writeln("      <input name=\"KeyType\" type=\"radio\" value=\"4\">");
document.writeln("      <\/td><td>&nbsp;<\/td><\/tr><\/table><\/td><\/tr>");
document.writeln("  <tr><td height=\"35\">");
document.writeln("      <div align=\"center\">&copy; 2006-2010 TVsou.com <a href=\"http:\/\/www.tvsou.com\/site_ad.htm\" target=\"_blank\">广告联系<\/a> <a href=\"http:\/\/www.tvsou.com\/site_about.htm\" target=\"_blank\">关于我们<\/a> ");
document.writeln("        <a href=\"http:\/\/www.tvsou.com\/site_contact.htm\"  target=\"_blank\">联系我们<\/a> ");
document.writeln("        <a href=\"http:\/\/www.tvsou.com\/site_feedback.asp\"  target=\"_blank\">意见反馈<\/a> ");
document.writeln("        <a href=\"http:\/\/www.tvsou.com\/site_link.htm\"  target=\"_blank\">友情链接<\/a> ");
document.writeln("        <a href=\"http:\/\/www.tvsou.com\/site_sitemap.htm\"  target=\"_blank\">站点导航<\/a> ");
document.writeln("        <a href=\"http:\/\/www.tvsou.com\/site_EPG.htm\"  target=\"_blank\">EPG数据服务<\/a> &nbsp; ");
document.writeln("        <script language=\"javascript\" src=\"http:\/\/count18.51yes.com\/click.aspx?id=187866540&logo=1\"><\/script>        ");
document.writeln("      <\/div><\/td> <\/tr>");
document.writeln("  <tr><td height=\"30\"><div align=\"center\">&nbsp;<a href=\"http:\/\/www.sznet110.gov.cn\/webrecord\/innernet\/Welcome.jsp?bano=4403101410340\" target=\"_blank\"><img src=\"http://www.souepg.com/images/security.gif\" width=\"30\" height=\"40\" border=\"0\" align=\"absmiddle\"><\/a>&nbsp;<a href=\"http:\/\/www.sznet110.gov.cn\/netalarm\/index.jsp\" target=\"_blank\"><img src=\"http://www.souepg.com/Wangan/images/bjt.gif\" width=\"30\" height=\"40\" border=\"0\" align=\"absmiddle\"><\/a><a href=\"http:\/\/www.miibeian.gov.cn\/\" target=\"_blank\" class=\"4\">粤ICP备08114494号<\/a><a href=\"http://ulic.baidu.com/\" target=\"_blank\"><img src=\"http://eiv.baidu.com/unlic/4048_green.gif\" border=\"0\"><\/a><\/div><\/td><\/tr>");
document.writeln("<\/form><\/table>");