﻿document.write("<div id=row>");
document.write("	<div class='flL' style='height:50px;'><div class='logo'></div><br>·</div>");
document.write("	<div class='flL'><font class=city><br>"+sn[4]+"</font></div>");
document.write("	<div class='flR' style='text-align:right;'>");
document.write("		<font color='#666666'>「便民中国·您的免费广告发布网」<br><a href='javascript:gcom(3);'>推荐好友</a>加入！用户<a href=/user/>登录</a>, <a href=/user/reg.asp>注册</a></font><br><font color='#cccccc'>5月4日删除重复信息3万余件！即将删除[2008年12月]之前数据</font>");
document.write("	</div>");
document.write("</div>");
document.write("<div id='row'>");
document.write("	<div id='daohang'>");
document.write("		<table width=100% border=0 cellspacing=0 cellpadding=0 class='daohang'>");
document.write("		<tr height=35 valign=center>");
if(sn[1]==""){document.write("<td align=left>&nbsp;<b>欢迎您光临便民中国网！</b></td>");}else{
document.write("		  <td>导航栏</td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=50><a href=/"+sn[1]+"/>首页</a></td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=75><a href=/"+sn[1]+"/store/fine.food.html>餐饮美食</a></td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=75><a href=/"+sn[1]+"/store/leisure.entertainment.html>休闲娱乐</a></td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=75><a href=/"+sn[1]+"/store/life.html>生活服务</a></td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=75><a href=/"+sn[1]+"/store/maintained.html>电器维修</a></td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=75><a href=/"+sn[1]+"/store/tour.holidays.html>旅游度假</a></td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=75><a href=/"+sn[1]+"/store/automobile.html>汽车相关</a></td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=75><a href=/"+sn[1]+"/store/shopping.html>购物商城</a></td>");
document.write("		  <td width=1>|</td>");
document.write("		  <td width=75><a href=/"+sn[1]+"/store/commercial.html>商业服务</a></td>");
document.write("		  <td width=5>&nbsp;</td>");}
document.write("		</tr>");
document.write("		</table>");
document.write("	</div>");
document.write("</div>");
document.write("<div id='header1'>");
document.write("	<div id=search>");
document.write("		<table width=100% border=0 cellspacing=0 cellpadding=0 height=50>");
document.write("		<form name=gcom><input type=hidden name=syid><input type=hidden name=pj_lx><input type=hidden name=bmid><input type=hidden name=bm_kaisya><input type=hidden name=bm_user></form>");
document.write("		<tr><td class=search></td>");
document.write("		<form name=searchForm method=get><td valign=middle width=370>");
document.write("		　我要查找：<input type=text name=q maxlength=10 size=25 value=\"" + sn[2] + "\"><input type=text name=searchcityname size=10 value=\"" + sn[5] + "\"><br>");
document.write("		　　　　　　<input name=lx type=radio value=0><span class=white checked>店铺黄页</span>	<input type=radio name=lx value=1><span class=white>分类信息</span>");
document.write("		　　　<a href='" + sn[0] + "city/'>其他城市</a>");
document.write("		<td width=210 align=left><input type='button' value='本地搜索' onclick='chkSearch();'><br>查询：<a href=http://map.sogou.com/new/index.html target=_blank>地图</a> <a href=/alimama.html target='_blank'>网上购物 淘宝</a> <a href=http://travel.elong.com/flights/default.aspx?campaign_id=4051317 target='_blank'>航班</a><img src=/bmzg/img/sp.gif height=18 width=0></td>");
document.write("		<td valign=middle><input type='button' value='用户登录,注册,发布' style='color:#000000' onclick=\"window.location.href='" + sn[0] + "user/';\"><br>订票：");
document.write("		<a href=http://travel.elong.com/hotels/Default.aspx?Campaign_ID=4051317 target='_blank'>酒店</a> <a href=http://travel.elong.com/flights/default.aspx?campaign_id=4051317 target='_blank'>机票</a><img src=/bmzg/img/sp.gif height=18 width=0></td>");
document.write("		</form>");
document.write("		</tr>");
document.write("		</table>");
document.write("	</div>");
document.write("</div>");
if (top.location != self.location)top.location=self.location;
function trimspace(obj){
	String.prototype.Trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"");}
	obj.value = obj.value.Trim();
}
var dpwin = null;
function errpic(obj){obj.src='/upload/err.jpg';}
function yqlj(url,name){document.write("<a href=http://" + url.replace(/\~/g,".").replace(/\*/g,"/") + " target=_blank>" + name + "</a> ");}
function dp(bmid){document.write("<a href=./"+bmid+".html#dp target=_blank>点评店铺</a>");}
function od(bmid,title){document.write("<a href=/"+sn[1]+"/store/"+bmid+".html target=_blank>"+title+"</a>");}
function odfl(bmid){window.open("/"+sn[1]+"/classification/"+bmid+".html");return false;}
function setsize(){var gsimg;for(var i=1;i<=20;i++){gsimg=eval("document.images.gsimg" + i);if(gsimg != null){if (gsimg.height/gsimg.width > 53/75){gsimg.height = 53;}else{gsimg.width = 75;}}}}
function pj(intpj){document.write("<table width=50 border=1 cellspacing=0 cellpadding=0 height=8 bordercolor=blue><tr>");for(var i =0;i<10;i++){if (intpj > i){document.write("<td bgcolor=#009966></td>");}else{document.write("<td></td>");}}document.write("</tr></table>");}
function urlqq(qq){if(qq!=""){document.write("<a href=# onclick=\"window.open('http://wpa.qq.com/msgrd?V=1&Uin=" + qq + "&Site=便民中国[www.bmzg.cn]&Menu=yes target=qq');return false;\">" + "通过QQ["+qq+"]联系店主" + "</a>");}}
function urlmail(qq){if(qq!=""){document.write("<a href='mailto:" + qq + "'>" + qq + "</a>");}}
function urlweb(qq){if(qq!=""){document.write("<a href=http://" + qq + " target=_blank>http://" + qq + "</a>");}}
function showform(){if(dpwin != null){try{dpwin.focus();}catch(e){}}}
function closeform(){if(dpwin != null){try{dpwin.close();}catch(e){}}}
function gcom(gid){
	if(gid == 5){
		if (window.sidebar&&"object"==typeof(window.sidebar)&&"function"==typeof(window.sidebar.addPanel)){
            window.sidebar.addPanel(window.document.title, window.location.href, "");return;}
		else if ( document.all && "object"==typeof(window.external)){
			window.external.AddFavorite(window.location.href,window.document.title);return;}
	}
	else if(gid == 6){window.print();return;}
	else if(gid == 7){window.clipboardData.setData("Text",window.location.href);alert('网址已复制好了，直接粘贴到QQ、MSN、邮箱推荐给朋友就可以了，谢谢您！');return;}
	var theForm = document.gcom;
	dpwin = window.open('about:blank','gcom','toolbar=no,scrollbars=auto,width=600,height=400,status=yes,top='+(window.screen.height-400)/2+',left='+ (window.screen.width-600)/2);
	theForm.syid.value = gid;
	theForm.bmid.value = sn[6];
	theForm.bm_kaisya.value = sn[7];
	theForm.bm_user.value = sn[8];
	theForm.pj_lx.value = sn[3];
	theForm.method = 'post';
	theForm.action = sn[0] + 'gcom.asp';
	theForm.target = 'gcom';
	theForm.submit();
	showform();
}
function chkSearch(){
	var theForm = document.searchForm;
	trimspace(theForm.q);
	trimspace(theForm.searchcityname);
	if(theForm.q.value == ''){
		alert('查询的关键字必须输入！                  \n\n列如：空调维修');
		theForm.q.focus();
		return;
	}else if(theForm.searchcityname.value == ''){
		alert('查询城市必须输入！                      \n\n列如：杭州市');
		theForm.searchcityname.focus();
		return;
	}
	document.searchForm.action = "/search.asp";
	if (sn[2]!=""){
		theForm.target = "_self";
	}else{
		theForm.target = "_blank";
	}
	theForm.submit();
}
function rf(){return false;}
document.body.oncopy=rf; 
document.body.oncut=rf; 
window.document.onmouseover=showform;
window.document.onclick=showform;
window.onunload=closeform;
if(sn[3]==''){sn[3]='0';}document.searchForm.lx[sn[3]].checked = true;
function showAdRight(){
	for(var i=1;i < adArr.length;i++){
		if (adArr[i][2] == ""){
			document.write("<br>&nbsp;·<a href=" + adArr[i][1] + " target=_blank'>" + adArr[i][0] + "</a>");
			document.write("");
		}else{			
			document.write("<a href=" + adArr[i][1] + " target=_blank title='" + adArr[i][0] + "'><img src='" + adArr[i][2] + "' border='0' style='border-color:#cccccc;'></a>");
			document.write("<div style='float:left;font-size:1%;height:4px;width:100%;'></div>");
		}
	}
}
function setAds(){
	var t=(new Date()).getSeconds()%4;
	//if (t==0 || t==2){
	if(document.all.item("gAd") != null && document.all.item("gCd") != null)gAd.innerHTML = gCd.innerHTML;
	if(document.all.item("bAd") != null && document.all.item("bCd") != null)bAd.innerHTML = bCd.innerHTML;
	//}else{
	//if(document.all.item("gAd") != null && document.all.item("gCd") != null)bAd.innerHTML = gCd.innerHTML;
	//if(document.all.item("bAd") != null && document.all.item("bCd") != null)gAd.innerHTML = bCd.innerHTML;
	//}
}
var g1="http://www.go";
var g2="ogle.cn/search?hl=zh-CN&newwindow=1&client=pub-7953250270552740&prog=aff&source=sdo_sb&sdo_rt=ChBJlXLPAAhQtQpvexA7bE1BEg5fX1JMX0RFRkFVTFRfXxoIq5wXWSoYrmAoAQ&q=";
var g3="&meta=&aq=f&oq=";
var b1="http://www.ba";
var b2="idu.com/s?tn=bengb&ct=&lm=&z=&rn=&word=";
var b3="&_sv=1";
function setiq(){try{setIqi(document.getElementById('google_ads_frame1'));setIqi(document.getElementById('google_ads_frame2'));}catch(e){}}
function setIqi(obj){obj.style.position = '';obj.parentNode.style.position = '';obj.parentNode.parentNode.style.position = ''}