function search_result()
{
  
   var frm=document.search_result_form
   var search_url="";
   var search_types="";
   s_types=frm.search_types.value;   

   switch (s_types)
   {
       case "1" :
	      search_url="http://tv.tvsou.com/q.aspx?KeyWords="+frm.Keys.value;
		  break;
	   case "2" :	     
	      search_url="http://www.tvsou.com/drama_search_result.asp?KeyWords="+frm.Keys.value;
		  break;
	   case "3" :
	      search_url="http://tv.tvsou.com/nettv.aspx?KeyWords="+frm.Keys.value;
		  break;
	   case "4" :	     
	      search_url="http://bar.tvsou.com/listz.aspx?key"+frm.Keys.value;
		  break;
	   case "5" :	     
	     search_url="http://star.tvsou.com/star_search_result.asp?KeyWords="+frm.Keys.value;
		  break;
   }
   window.open (search_url);
}

document.writeln("<img height=\"8\">");
document.writeln("<div id=\"r_2\" align=\"center\"> ");
document.writeln("    <div id=\"r_2_0\" style=\"width:960px;margin-bottom:10px\">");
document.writeln("       ");
document.writeln("    <div id=r_2_1 style=\"float:left;width:185\"><a href=\"http:\/\/www.tvsou.com\"><img src=\"http:\/\/www.tvsou.com\/images\/logo_3.gif\" border=\"0\"><\/a><\/div>");
document.writeln("	   <div id=r_2_2 style=\"float:left;margin-left:10px\"><img src=\"http:\/\/www.tvsou.com\/images\/logo_txt.gif\" width=\"225\" height=\"60\"><\/div>");
document.writeln("	   ");
document.writeln("    <div id=r_2_3 style=\"float:right\"><a href=\"http:\/\/www.tvsou.com\/yyt\/stock.htm\" target=\"_blank\"><img src=\"http:\/\/www.tvsou.com\/GG\/stock_468x60.GIF\" width=\"468\" height=\"60\" border=\"0\"><\/a><\/div>");
document.writeln("	<\/div>");
document.writeln("<\/div>");
document.writeln("");
document.writeln("<div id=\"r_3\" align=\"center\">    ");
document.writeln("  <table width=\"960\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("  <tr><td class=\"topmenu11\"><a href=\"http:\/\/www.tvsou.com\" class=\"topm\">首 页<\/a><\/td>");
document.writeln("    <td width=\"3\"><\/td><td class=\"topmenu12\"><a href=\"http:\/\/epg.tvsou.com\" class=\"topm\">节目表<\/a><\/td>");
document.writeln("    <td width=\"3\"><\/td><td class=\"topmenu12\"><a href=\"http:\/\/mov.tvsou.com\" class=\"topm\">剧 情<\/a><\/td>");
document.writeln("    <td width=\"3\"><\/td><td class=\"topmenu12\"><a href=\"http:\/\/www.tvsou.com\/xinwen\/\" class=\"topm\">星 闻<\/a><\/td>");
document.writeln("    <td width=\"3\"><\/td><td class=\"topmenu12\"><a href=\"http:\/\/star.tvsou.com\" class=\"topm\">明 星<\/a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td class=\"topmenu12\"><a href=\"http:\/\/bar.tvsou.com\" class=\"topm\">TV吧<\/a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td class=\"topmenu22\"><a href=\"http:\/\/www.tvsou.com\/mysous\/1.asp\" class=\"topm\">我的搜视<\/a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td class=\"topmenu22\"><a href=\"http:\/\/tv.tvsou.com\" class=\"topm\">网络电视<\/a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td width=\"80\"><a href=\"http:\/\/www.tvsou.com\/site_service.htm\"><img src=\"http:\/\/www.tvsou.com\/images\/menu_3.gif\" border=\"0\"><\/a><\/td>");
document.writeln("	<td width=\"10\"><\/td>");
document.writeln("	<form name=\"search_result_form\" method=\"post\" action=\"http:\/\/search.tvsou.com\">");
document.writeln("	<td align=\"right\" valign=\"top\"><input id=\"Keys\" name=\"Keys\" type=\"text\" class=\"search-input\" value=\"\">");
document.writeln("      <select id=\"search_types\" name=\"search_types\" class=\"search-input\">");
document.writeln("              <option value=\"1\" selected>节目表<\/option>");
document.writeln("              <option value=\"2\">剧 情<\/option>");
document.writeln("              <option value=\"3\">网络电视<\/option>");
document.writeln("              <option value=\"4\">TV 吧<\/option>");
document.writeln("              <option value=\"5\" selected>明星<\/option>");
document.writeln("      <\/select>");
document.writeln("          <a href=\"javascript:search_result()\"><img src=\"http:\/\/www.tvsou.com\/images\/btn_search.gif\" width=\"55\" height=\"24\" border=\"0\" align=\"absmiddle\"><\/a><\/td>");
document.writeln("      <\/form>");
document.writeln("  <\/tr>");
document.writeln("<\/table> ");
document.writeln("<table width=\"960\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td height=\"2\" bgcolor=\"#0070c0\"><\/td><\/tr><\/table>");
document.writeln("<\/div>");
document.writeln("");