<%@ page language="C#" autoeventwireup="true" inherits="search, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>搜索_<%=ZK.config("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <script type="text/javascript">
        function SetWinHeight(obj){
            var win=obj;
            if (document.getElementById){
                if (win && !window.opera){
                    if (win.contentDocument && win.contentDocument.body.offsetHeight)win.height = win.contentDocument.body.offsetHeight;else if(win.Document && win.Document.body.scrollHeight)win.height = win.Document.body.scrollHeight;
                }
            }
        }
        function self_dosearch(type){
            top.location="search.aspx?type="+type+"&k="+escape(document.getElementById("TextBox_WordKey").value);
        }
        function self_hover(obj){var opacity=1;if(obj.className=="but3 self_on")opacity=0.6; obj.style.opacity=opacity;obj.style.filter="Alpha(Opacity="+opacity*100+");-moz-opacity: "+opacity+";opacity: "+opacity+";";}
        function self_keyup(e){
            <asp:Literal ID="LiteralForJs" runat="server"></asp:Literal>
            var theEvent=window.event||e;var keyNum=theEvent.keyCode||theEvent.which;if(keyNum==13)top.location="search.aspx?type="+type+"&k="+escape(document.getElementById("TextBox_WordKey").value);
        }
    </script>
    <style type="text/css">
         body,.wrap{background-image:none;background-color:#fff;}
        .self_topbar{height: 40px;padding-left: 13px;padding-right: 2px;background: #fff url(/skin/public/search_topbar.gif) repeat-x 0 0;overflow: hidden;border-bottom: solid 1px #ccc;}
        .self_topbar td .ar{color: #999;}
        .self_topbar td .ar a{color: #666;margin: 0 8px;}
        .self_topbar td .ar a:hover{color: #f60;}
        .self_on{filter: Alpha(Opacity=60);-moz-opacity: 0.6;opacity: 0.6;}
        .but3{ margin-right:5px;}
    </style>
</head>
<body>    
    <form id="form1" runat="server" onsubmit="return false" autocomplete="off">
        <div class="self_topbar">
            <table border="0" cellpadding="0" cellspacing="0" width="100%" height="40">
                <tr>
                    <td width="60"><div class="s14 str" style="color: #999">关键字:</div></td>
                    <td width="190"><asp:TextBox ID="TextBox_WordKey" runat="server" CssClass="inp2" Width="180" MaxLength="100" onkeyup="self_keyup(event)"></asp:TextBox></td>
                    <td width="660">
                      <div style="padding-left:5px">
                          <input type="button" class="but3" value="生活信息" onmouseover="hover(this,0.8)" onmouseout="self_hover(this)" id="life" onclick="self_dosearch('life')" /><input type="button" class="but3" value="房屋出租" onmouseover="hover(this,0.8)" onmouseout="self_hover(this)" id="rent" onclick="self_dosearch('rent')" /><input type="button" class="but3" value="房屋出售" onmouseover="hover(this,0.8)" onmouseout="self_hover(this)" id="sell" onclick="self_dosearch('sell')" /><input type="button" class="but3" value="招聘求职" onmouseover="hover(this,0.8)" onmouseout="self_hover(this)" id="job" onclick="self_dosearch('job')" /><input type="button" class="but3" value="黄页大全" onmouseover="hover(this,0.8)" onmouseout="self_hover(this)" id="company" onclick="self_dosearch('company')" /><input type="button" class="but3" value="新闻资讯" onmouseover="hover(this,0.8)" onmouseout="self_hover(this)" id="news" onclick="self_dosearch('news')" /><input type="button" class="but3" value="论坛帖子" onmouseover="hover(this,0.8)" onmouseout="self_hover(this)" id="bbs" onclick="self_dosearch('bbs')" /><input type="button" class="but3" value="同城网购" onmouseover="hover(this,0.8)" onmouseout="self_hover(this)" id="mall" onclick="self_dosearch('mall')" />
                      </div>
                      <asp:Literal ID="JS1" runat="server"></asp:Literal>
                    </td>
                    <td><div class="ar"><a href="/">返回首页</a>|<a href="/user/control.aspx?notip">会员中心</a></div></td>
                </tr>
            </table>
        </div>
    </form>
    <iframe allowtransparency="true" frameborder="0" scrolling="no" width="100%" id="search_iframe" onload="SetWinHeight(this)" src='<asp:Literal ID="Literal1" runat="server"></asp:Literal>'></iframe>
    <script type="text/javascript">
        function reinitIframe(){var iframe = document.getElementById("search_iframe");try{var bHeight = iframe.contentWindow.document.body.scrollHeight;var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;var height = Math.max(bHeight, dHeight);iframe.height=height;}catch (ex){}}
        window.setInterval("reinitIframe()", 200);
    </script>
</body>
</html>
