 document.write('<table width=\"1000\" border=\"0\" cellpadding=\"0\" cellspacing=\"20\" align=center>');
 document.write("<tr>");
 document.write("<td>");
document.writeln("<div id=\"r_2\" align=\"center\"> ");
document.writeln("  <div style=\"width:960px;\">");
document.writeln("    <div id=\"r_2_0\" style=\"width:960px;margin-bottom:5px\">       ");
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("	   <div id=r_2_2_2 style=\"float:left;margin-left:5px;padding-top:5px\"><br><\/div>	   ");
document.writeln("       <div id=r_2_3 style=\"float:right\"><iframe src=\"http:\/\/www.tvsou.com\/tvsou_468x60.html\" frameborder=\"0\" scrolling=\"no\" width=\"468\" height=\"60\"><\/iframe><\/div>");
document.writeln("	<\/div> ");
document.writeln("    <div id=\"r_3_0\" style=\"float:left;width:960px\">");
document.writeln("  <table width=\"960\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("  <tr><td class=\"topmm12\"><a href=\"http:\/\/www.tvsou.com\" class=\"topmm\">首 页<\/a><\/td>");
document.writeln("    <td width=\"3\"><\/td><td class=\"topmm12\"><a href=\"http:\/\/epg.tvsou.com\" class=\"topmm\">节目表<\/a><\/td>");
document.writeln("    <td width=\"3\"><\/td><td class=\"topmm12\"><a href=\"http:\/\/jq.tvsou.com\" class=\"topmm\">剧 情<\/a><\/td>");
document.writeln("    <td width=\"3\"><\/td><td class=\"topmm11\"><a href=\"http:\/\/www.tvsou.com\/xinwen\/\" class=\"topmm\">星 闻<\/a><\/td>");
document.writeln("    <td width=\"3\"><\/td><td class=\"topmm12\"><a href=\"http:\/\/star.tvsou.com\" class=\"topmm\">明 星<\/a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td class=\"topmm12\"><a href=\"http:\/\/bar.tvsou.com\" class=\"topmm\">TV吧<\/a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td class=\"topmenu22\"><a href=\"http:\/\/www.tvsou.com\/mysous\/3.asp\" class=\"topmm\">我的搜视<\/a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td class=\"topmenu22\"><a href=\"http://zhidao.tvsou.com/\" class=\"topmm\" target='_blank'><font color='yellow'>搜视知道</font></a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td class=\"topmenu12\"><a href=\"http://www.tvsou.com/tvpad/index.htm\" class=\"topmm\" target='_blank'>电视本</a><\/td>");
document.writeln("	<td width=\"3\"><\/td><td width=\"110\"><a href=\"http:\/\/media.tvsou.com\" class=\"topmm\"><img src=\"\/images\/btn.GIF\" border=\"0\"><\/a><\/td>");
document.writeln("	<td width=\"3\"><\/td>");
document.write('<td align=\"right\" valign=\"top\"><input id=\"KeyWords\" name=\"KeyWords\" type=\"text\" class=\"search-input\" value=\"\" size=\"11\">');
  document.write('<select id=\"s\" name=\"s\" class=\"search-input\">');
  document.write('<option value=\"1\" >节目表</option>');
  document.write('<option value=\"2\">剧 情</option>');
//document.write('<option value=\"3\">网络电视</option>');
  document.write('<option value=\"4\">TV 吧</option>');
  document.write('<option value=\"5\" selected>明 星</option>');
 document.write('</select>');
  document.write('<a href=\"javascript:Search()\"><img src=\"http://www.tvsou.com/images/btn_search.gif\" width=\"55\" height=\"24\" border=\"0\" align=\"absmiddle\"></a></td>');   
  document.write('</tr>');
    document.write('</table>');
document.writeln("<iframe src='http://www.tvsou.com/GG/tvsou_960_28.htm' width='960' height='28'  frameborder='no' border='0' marginwidth='0' marginheight='0' scrolling='no'></iframe>");
document.writeln("<iframe src='http://www.tvsou.com/GG/tvsou_960_90.htm' width='960' height='120'  frameborder='no' border='0' marginwidth='0' marginheight='0' scrolling='no'></iframe>");
document.writeln("   <\/div>");
document.writeln(" <\/div>");
document.writeln("<\/div>");
document.write("</td>");
document.write("</tr>");
document.write("</talbe>");
   
   function Search()
  {
   var search_url="";
   switch (document.getElementById("s").value)
   {
       case "1" :
	      search_url="http://search.tvsou.com/?KeyWords="+frm.KeyWords.value;
		  break;
	   case "5" :
	      search_url="http://star.tvsou.com/star_search_result.asp?KeyWords="+frm.KeyWords.value;
		  break;
	   case "2" :
	      search_url="http://www.tvsou.com/drama_search_result.asp?KeyWords="+frm.KeyWords.value;
		  break;
	   case "3" :
	      search_url="http://search.tvsou.com/nettv.aspx?KeyWords="+frm.KeyWords.value;
		  break;
       case "4":
		  //search_url="http://bar.tvsou.com/search_topic.aspx?type=0&KeyWords="+frm.KeyWords.value;
	     search_url="http://bar.tvsou.com/listz.aspx?Key="+frm.KeyWords.value;
		  break;
   }
     window.open (search_url);
   
  } 



function Tc(tvid,chid)
{
var dt=new Date();
var wn=dt.getDay();
if(wn==0)wn=7;
window.location.href="http://epg.tvsou.com/program/TV_"+tvid+"/Channel_"+chid+"/W"+wn+".htm ";
}