
    function iframeAutoFit()
    {
        try
        {
            if(window!=parent)
            {
                var a = parent.document.getElementsByTagName("IFRAME");
                for(var i=0; i<a.length; i++) //author:meizz
                {
                    if(a[i].contentWindow==window)
                    {
                        var h1=0, h2=0;
                        a[i].parentNode.style.height = a[i].offsetHeight +"px";
                        a[i].style.height = "10px";
                        if(document.documentElement&&document.documentElement.scrollHeight)
                        {
                            h1=document.documentElement.scrollHeight;
                        }
                        if(document.body) h2=document.body.scrollHeight;

                        var h=Math.max(h1, h2);
                        if(document.all) {h += 4;}
                        if(window.opera) {h += 1;}
                        a[i].style.height = a[i].parentNode.style.height = h +"px";
                    }
                }
            }
        }
        catch (ex){}
    }
    if(window.attachEvent)
    {
        window.attachEvent("onload",  iframeAutoFit);
        //window.attachEvent("onresize",  iframeAutoFit);
    }
    else if(window.addEventListener)
    {
        window.addEventListener('load',  iframeAutoFit,  false);
        //window.addEventListener('resize',  iframeAutoFit,  false);
    }
	
	
    
document.writeln("<span id=\"lblHead\"> ");
document.writeln("  <table width=\"773\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">");
document.writeln("    <form id=\'searchP0\' name=\'searchP0\' action=\"http:\/\/search.tvsou.com\/q.aspx\" target=\"_blank\" >");
document.writeln("      <tr> ");
document.writeln("        <td width=\"80\"><div align=\"center\"> ");
document.writeln("            <table width=\"150\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("              <tr> ");
document.writeln("                <td width=\"50\" background=\"images\/title_3.gif\"><a href='http://www.tvsou.com' target='_blank'><img src=\"http:\/\/www.tvsou.com\/tom\/tom\/images\/title_1.gif\" border=0></a><\/td>");
document.writeln("                <td nowrap background=\"http:\/\/www.tvsou.com\/tom\/tom\/images\/title_3.gif\" class=\"14txt\"><b><font color=\"#4B6197\">电视节目搜索<\/font><\/b><br> ");
document.writeln("                  <a href='http://www.tvsou.com' target='_blank'><img src=\"http:\/\/www.tvsou.com\/tom\/tom\/images\/title_2.gif\" border=0></a><\/td>");
document.writeln("              <\/tr>");
document.writeln("            <\/table>");
document.writeln("          <\/div><\/td>");
document.writeln("        <td valign=\"top\"><table width=\"100%\" border=\"0\" cellspacing=\"12\" cellpadding=\"0\">");
document.writeln("            <tr> ");
document.writeln("              <td nowrap><div align=\"right\"> ");
document.writeln("                  <input id=\"keywords2\" name=\"KeyWords\" type=\"text\"  size=\"30\" value=\"\" title=\"请输入频道或节目名称\">");
document.writeln("                  <input name=\"KeyType\" type=\"radio\" value=\"0\" checked>");
document.writeln("                  按节目搜索 ");
document.writeln("                  <input type=\"radio\" name=\"KeyType\" value=\"1\">");
document.writeln("                  按频道搜索 ");
document.writeln("                  <input type=\"submit\" name=\"Submit4\" value=\"搜 索\" >");
document.writeln("                <\/div><\/td>");
document.writeln("            <\/tr>");
document.writeln("          <\/table><\/td>");
document.writeln("      <\/tr>");
document.writeln("    <\/form>");
document.writeln("  <\/table>");
document.writeln("  <\/span>");
document.writeln("<table width=\"773\" border=\"0\" cellspacing=\"10\" cellpadding=\"0\"  align=\"center\" >");
document.writeln("<tr> ");
document.writeln("<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("<tr> ");
document.writeln("<td width=\"65\" valign=\"top\"><img  src=\"tom\/images\/icon_difang.gif\"><\/td>");
document.writeln("<td width=\"190\" class=\"listtop\"><table width=\"180\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("<tr> ");
document.writeln("<td width=\"45\"><img  src=\"http:\/\/epg.tvsou.com\/images\/loca_1.gif\" width=\"45\" height=\"20\"><\/td>");
document.writeln("<td nowrap background=\"http:\/\/epg.tvsou.com\/images\/loca_bg1.gif\">&nbsp;<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=38&channelid=60&pro=北京\">北京<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=11&channelid=81&pro=上海\">上海<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=35&channelid=57&pro=天津\">天津<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=37&channelid=59&pro=重庆\">重庆<\/a><\/td>");
document.writeln("<td width=\"4\"><img  src=\"http:\/\/epg.tvsou.com\/images\/loca_4.gif\" width=\"4\" height=\"20\"><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table>");
document.writeln("<table width=\"100\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("<tr> ");
document.writeln("<td height=\"5\"><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table>");
document.writeln("<table width=\"180\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("<tr> ");
document.writeln("<td width=\"45\"><img  src=\"http:\/\/epg.tvsou.com\/images\/loca_2.gif\" width=\"45\" height=\"20\"><\/td>");
document.writeln("<td  background=\"http:\/\/epg.tvsou.com\/images\/loca_bg1.gif\">&nbsp;<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=3&channelid=22&pro=香港\">香港<\/a>&nbsp;&nbsp;<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=150&channelid=737&pro=澳门\">澳门<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=68&channelid=246&pro=台湾\">台湾<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=9&channelid=32&pro=海外\">海外<\/a><\/td>");
document.writeln("<td width=\"4\"><img  src=\"http:\/\/epg.tvsou.com\/images\/loca_4.gif\" width=\"4\" height=\"20\"><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table><\/td>");
document.writeln("<td class=\"listtop\"><table width=\"180\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("<tr> ");
document.writeln("<td width=\"40\"><img  src=\"http:\/\/epg.tvsou.com\/images\/loca_3.gif\" width=\"40\" height=\"45\"><\/td>");
document.writeln("<td nowrap background=\"http:\/\/epg.tvsou.com\/images\/loca_bg2.gif\"> <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("<tr> ");
document.writeln("<td width=\"8\" nowrap><\/td>");
document.writeln("<td nowrap><a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=24&channelid=46&pro=湖南\">湖南<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=25&channelid=47&pro=湖北\">湖北<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=22&channelid=44&pro=江苏\">江苏<\/a>&nbsp;&nbsp;");
document.writeln("<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=23&channelid=45&pro=江西\">江西<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=20&channelid=42&pro=安徽\">安徽<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=21&channelid=43&pro=浙江\">浙江<\/a> ");
document.writeln("<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=29&channelid=51&pro=福建\">福建<\/a><br> ");
document.writeln("<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=39&channelid=70&pro=广东\">广东<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=28&channelid=50&pro=广西\">广西<\/a>&nbsp;&nbsp;<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=36&channelid=58&pro=四川\">四川<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=27&channelid=49&pro=云南\">云南<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=26&channelid=48&pro=贵州\">贵州<\/a> ");
document.writeln("<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=8&channelid=31&pro=海南\">海南<\/a> <\/td>");
document.writeln("<td width=\"8\" nowrap><\/td>");
document.writeln("<\/tr>");
document.writeln("");
document.writeln("<\/table><\/td>");
document.writeln("<td nowrap background=\"http:\/\/epg.tvsou.com\/images\/loca_bg2.gif\" width=\"1\"><img  src=\"http:\/\/epg.tvsou.com\/images\/loca_7.gif\"><\/td>");
document.writeln("<td nowrap background=\"http:\/\/epg.tvsou.com\/images\/loca_bg2.gif\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("<tr> ");
document.writeln("<td width=\"8\" nowrap><\/td>");
document.writeln("<td nowrap> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=19&channelid=41&pro=山东\">山东<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=17&channelid=39&pro=山西\">山西<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=16&channelid=38&pro=河南\">河南<\/a> ");
document.writeln("<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=15&channelid=37&pro=河北\">河北<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=18&channelid=40&pro=陕西\">陕西<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=30&channelid=52&pro=甘肃\">甘肃<\/a> ");
document.writeln("<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=12&channelid=34&pro=黑龙江\">黑龙江<\/a><br> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=14&channelid=36&pro=辽宁\">辽宁<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=13&channelid=35&pro=吉林\">吉林<\/a> ");
document.writeln("<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=33&channelid=55&pro=新疆\">新疆<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=32&channelid=54&pro=西藏\">西藏<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=31&channelid=53&pro=宁夏\">宁夏<\/a> ");
document.writeln("<a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=114&channelid=592&pro=青海\">青海<\/a> <a href=\"http:\/\/www.tvsou.com\/tom\/list_c.asp?tvid=34&channelid=56&pro=内蒙古\">内蒙古<\/a><\/td>");
document.writeln("<td><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table><\/td>");
document.writeln("<td width=\"4\"><img  src=\"http:\/\/epg.tvsou.com\/images\/loca_5.gif\" width=\"4\"><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table>");
