<link rel="stylesheet" type="text/css" href="Resource/Template/default/css/style.css">
<link rel="stylesheet" type="text/css" href="Resource/Template/default/css/pad.css">
</head>
<body>
<script language="javascript">
function qhshow(t,n1,n2){var p=t.parentNode;var b='',a=0;for (var i=0; i<p.childNodes.length; i++){
if(p.childNodes[i].className==n1)
{p.childNodes[i].className=n2;document.getElementById('s_' + p.childNodes[i].id).style.display='none';break;}}t.className=n1;document.getElementById('s_' + t.id).style.display='';}
</script>
<div class="head_top">
	<div class="text"><span><a title="把本站设为首页!" href="#" onClick="this.style.behavior='url(#default#homepage)';this.sethomepage('{$getwebcache(weblink)$}');return false;">设为首页</a> | <a href="javascript:window.external.AddFavorite('{$getwebcache(weblink)$}','{$showcity(2,{#cid#},2,,{@name@})$}{$getwebcache(webname)$}')">加入收藏</a> | <a href="Help.asp?cid={#cid#}&hid=2">帮助</a> | <a href="http://bbs.yitie.com.cn" target="_blank">论坛</a></span>
	{$if({#getcookies(username)#},)/$}
		欢迎访问{$showcity(2,{#cid#},2,,{@name@})$}{$getwebcache(webname)$} 请 <a href="Login.asp">登陆</a> ！还没有 <a href="UserReg.asp">注册</a> 吗？ <a href="ForgetPwd.asp">忘记密码</a>？
	{$else$}
		<b style="font-family:Arial, Helvetica, sans-serif; color:#ff0000;">{#getcookies(username)#}</b>，您好！欢迎访问{$showcity(2,{#cid#},2,,{@name@})$}{$getwebcache(webname)$} [<a href="User.asp">会员中心</a>] [<a href="Login.asp?act=out">退出</a>]
	{$/if$}
	</div>
</div>
<div class="head_text">
	<div class="logo">
	{$if({#cid#},0)/$}
		<a href="index.asp"><img src="{$getwebcache(weblogo)$}" alt="{$getwebcache(webname)$}"/></a>
	{$else$}
		{$ShowCity(2,{#cid#},2,,<a href="index.asp?cid={@id@}"><img src="{$getwebcache(weblogo)$}" alt="{$getwebcache(webname)$}"/></a>)$}
	{$/if$}
		<p><span>{$if({#cid#},0)/$}总站{$else$}{$showcity(2,{#cid#},2,,{@name@})$}{$/if$}</span> [<a href="City.asp">切换城市</a>]</p>
  </div>
	<div class="search">
		<ul class="tit">
			<li class="tit_1" id='m1' onClick="qhshow(this,'tit_1','tit_2');">信息</li>
			<li class="tit_2" id='m2' onClick="qhshow(this,'tit_1','tit_2');">新闻</li>
			<div class="clearit"></div>
		</ul>
		<div class="search_text">
	  	<input type="text" size="42" name="key" id="key" class="head_input_1" onFocus="this.onfocus=null;this.value='';this.style.color='';" value="" style="color:#CCCCCC" />
		<span id="s_m1">
	  	<input type="button" value="信息搜索" class="head_input_2" onClick="oksearch(0);" /> <input type="button" value="免费发布" class="head_input_3" onclick="window.open('infoadd.asp?cid={#cid#}');" />
		</span>
		<input type="button" value="新闻搜索" class="head_input_2" id="s_m2" onClick="oksearch(1);" style="display:none;" />
		<script language="javascript">
String.prototype.UrlEncode = function(){var str=this;str=str.replace(/./g,function(sHex){window.EnCodeStr="";window.sHex=sHex;window.execScript('window.EnCodeStr=Hex(Asc(window.sHex))',"vbscript");return window.EnCodeStr.replace(/../g,"%$&");});return str;}
		function oksearch(s){
			var url,K = document.getElementById('key').value;
			if(K=='' || K=='请输入关键词'){alert('请填写关键词');return;}
			if(s==0)
			{
				location = 'infosearch.asp?cid={#cid#}&tid={#tid#}&key={key}'.replace('{key}',K.UrlEncode());
			}else{
				location = 'newssearch.asp?cid={#cid#}&nid={#nid#}&key={key}'.replace('{key}',K.UrlEncode());
			}
		}
		document.getElementById('key').value='{#g(key,1)#}'!=''?'{#g(key,1)#}':'请输入关键词';
		</script>
      </div>
	  <div class="search_hot">热门：
	  <a href="infolist.asp?cid={#cid#}&tid=64">房屋出租</a>
	  <a href="infolist.asp?cid={#cid#}&tid=23">二手汽车转让</a>
	  <a href="infolist.asp?cid={#cid#}&tid=22">拼车/顺风车</a>
	  <a href="infolist.asp?cid={#cid#}&tid=30">家教</a>
	  <a href="infolist.asp?cid={#cid#}&tid=53">宠物狗</a>
	  <a href="infolist.asp?cid={#cid#}&tid=58">火车票转让</a>
	  <a href="infolist.asp?cid={#cid#}&tid=1330">招聘销售/业务</a></div>
	</div>
	<div class="clearit"></div>
</div>
<div class="head_nav">
	<ul>
		<li class="t1" id="Navigation_Index">{$if({#cid#},0)/$}<a href="index.asp">网站首页</a>{$else$}{$showcity(2,{#cid#},2,,<a href="index.asp?id={@id@}">网站首页</a>)$}{$/if$}</li>
		<li class="t2" id="Navigation_City"><a href="City.asp">城市分类</a></li>
		<li class="t2" id="Navigation_Category"><a href="Category.asp?cid={#cid#}">信息分类</a></li>
		<li class="t2" id="Navigation_NewsList"><a href="NewsList.asp?cid={#cid#}" target="_blank">新闻中心</a></li>
		<li class="t2"><a href="Web.asp?cid={#cid#}" target="_blank">网址导航</a></li>
		<li class="t2"><a href="http://bbs.yitie.com.cn" target="_blank">论坛交流</a></li>
	</ul>
</div>