function ShoppingHeader(strCity,strKey,navName)
{
document.writeln("		<table width='778'  border='0' cellpadding='0' cellspacing='0'>");
document.writeln("			<tr>");
document.writeln("				<td colspan='4' valign='top'>");
document.writeln("					<table width='100%'  border='0' cellpadding='0' cellspacing='0'>");
document.writeln("				      <tr>");
document.writeln("				      	<td valign='top' background='http://www.chinaec.com/recommend/shopping/images/top_03.gif'>");
document.writeln("				      		<table width='100%' height='50'  border='0' cellpadding='0' cellspacing='0'>");
document.writeln("				      			<tr background='http://www.chinaec.com/recommend/shopping/images/top_03.gif'>");
document.writeln("				      				<td width='20' height='50'>　</td>");
document.writeln("				      				<td width='110'><a href='http://www.chinaec.com/'><img src='http://www.chinaec.com/recommend/shopping/images/tu_07.gif' width='104' height='35' border='0' /></a></td>");
document.writeln("				      				<td width='84' height='31' align='center' valign='bottom' background='http://www.chinaec.com/recommend/shopping/images/top_05_new.gif'>");
document.writeln("				      					<table width='96%'  border='0' cellpadding='0' cellspacing='0'>");
document.writeln("											<tr>");
document.writeln("												<td height='10' align='center' valign='middle'><a href='http://www.chinaec.com/'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>北京首页</font></a></td>");
document.writeln("											</tr>");
document.writeln("											<tr>");
document.writeln("												<td align='right'><!--a href='#' name=two-tabs|he|all-categories_city--><img src='http://www.chinaec.com/recommend/shopping/images/tu_18.gif' width='36' height='10' border='0' /><!--/a--></td>");
document.writeln("											</tr>");
document.writeln("				      					</table>");
document.writeln("				      				</td>");
//频道
ShowNavigator(navName);
document.writeln("				      				<td width='111' align='left' valign='bottom' background='http://www.chinaec.com/recommend/shopping/images/top_06.gif'>");
document.writeln("				      					<table width='90%'  border='0' cellpadding='0' cellspacing='0'>");
document.writeln("				      						<tr>");
document.writeln("				      							<td height='40' align='center' valign='middle'><a href='#' name=two-tabs|he|all-categories><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>所有21类商品</font></a> </td>");
document.writeln("				      							<td align='center' valign='middle'><img src='http://www.chinaec.com/recommend/shopping/images/tu_13.gif' width='8' height='4' /></td>");
document.writeln("				      						</tr>");
document.writeln("				      					</table>");
document.writeln("				      				</td>");
document.writeln("				      				<td width='30'>　</td>");
document.writeln("				      				<td><br><A href='/authentication/logon.aspx?logontype=1&amp;path=/user/purchaser/regchg.asp?' target=_top><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>用户登陆</font></A> | <a href='/authentication/logon.aspx?logontype=3&amp;returnurl=/user/admin' target=_top><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>企业登陆</font></a> <font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>|</font>  <img src='http://www.chinaec.com/recommend/shopping/images/tu_10.gif' width='15' height='12'>　<a href='http://chinaec.com/trade/myCart.asp' target=_blank><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>购物车</font></a> <font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>|</font> <a href='http://chinaec.com/search/viewitem.aspx?type=1'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>浏览记录</font></a></td>");
document.writeln("				      			</tr>");
document.writeln("				      		</table>");
document.writeln("				      	</td>");
document.writeln("				      </tr>");
document.writeln("				      <tr>");
document.writeln("				      	<td height='70' valign='top' background='http://www.chinaec.com/recommend/shopping/images/top_07.gif'>");
document.writeln("				      		<table width='778'  border='0' cellpadding='0' cellspacing='0'>");
document.writeln("				      			<tr>");
document.writeln("									<td height='30' colspan='4' align='center'><a href='http://www.chinashopping.org.cn'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>网络购物节</font></a>　<a href='http://chinaec.com/searchEngine/?key=%CB%F7%C4%E1N1&infoType=3'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>索尼N1</font></a>　<a href='http://chinaec.com/searchEngine/?key=PSP&infoType=3'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>PSP掌机</font></a>　<a href='http://chinaec.com/searchengine/?key=%d7%ea%ca%af%bd%e4%d6%b8&city=idcity&radflag=1&list=&infotype=&hotword=1&title='><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>钻石戒指</a></a>　<a href='http://chinaec.com/searchengine/default.aspx?key=%cf%ca%bb%a8'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>鲜花</font></a></td>");
document.writeln("				      			</tr>");
document.writeln("				      			<tr>");
document.writeln("				      				<td width='430' align='center'>");
document.writeln("				      				<!--搜索框开始-->");
SearchBar(strCity,strKey);
document.writeln("				      				<!--搜索框结束-->");
document.writeln("				      				</td>");
document.writeln("									<td width='0' align='center'><a href='http://chinaec.com/echelp/help.asp?cate1=2&cate2=0&cate3=2' target=_blank><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>搜索技巧</font></a> | <a href='http://chinaec.com/search/advanced.htm' target=_blank><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>高级搜索</font></a></td>");
document.writeln("									<td align='right' style='FONT-SIZE: 12px;COLOR: #000000;'>·<a href='http://elt.chinaec.com/'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>精品网店</font></a> ·<a href='http://www.chinaec.com/CorpSvc/Temp/T3/Product.aspx?idInfo=10077399&idCorp=1000000721'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>热门网址</font></a> ·<a href='http://llt.chinaec.com/'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>特色商家</font></a>　　</td>");
document.writeln("						            <td width='20' align='right' class='style3'>　</td>");
document.writeln("				      			</tr>");
document.writeln("				      		</table>");
document.writeln("				      	</td>");
document.writeln("				      </tr>");
document.writeln("				    </table>");
document.writeln("				</td>");
document.writeln("			</tr>");
document.writeln("		</table>");
document.write("		<!--城市弹出窗口开始-->");
document.write("		<DIV style='DISPLAY: none'>");
document.write("			<DIV id=all-categories_city>");
document.write("				<DIV style='BORDER-RIGHT: #aca976 1px solid; PADDING-RIGHT: 12px; BORDER-TOP: #aca976 1px solid; PADDING-LEFT: 12px; PADDING-BOTTOM: 12px; BORDER-LEFT: #aca976 1px solid; PADDING-TOP: 12px; BORDER-BOTTOM: #aca976 1px solid; BACKGROUND-COLOR: #ffffff'>");
document.write("					<TABLE style='BORDER-RIGHT: #e44e02 1px solid; BORDER-TOP: #e44e02 1px solid; BORDER-LEFT: #e44e02 1px solid; BORDER-BOTTOM: #e44e02 1px solid' height=68 cellSpacing=0 cellPadding=0 width=778 align=center border=0>");
document.write("					<TBODY>");
document.write("					<TR>");
document.write("					<TD height=2></TD></TR>");
document.write("					<TR>");
document.write("					<TD>");
document.write("					<TABLE id=ChinaEC_TEMP  borderColor=#dcdcdc cellSpacing=0 cellPadding=0 width=778 border=0>");
document.write("					<TBODY>");
document.write("					<TR>");
document.write("					<td width=24></td>");
document.write("					<TD width=51 bgColor=#fffeec height=66>");
document.write("					<TABLE id=ChinaEC_TEMP  borderColor=#dcdcdc cellSpacing=0 cellPadding=0 width='100%' border=0>");
document.write("					<TBODY>");
document.write("					<TR>");
document.write("					<TD align=middle><IMG src='http://www.chinaec.com/recommend/beijing_new/ec_default/image/item_ico1.gif'></TD></TR>");
document.write("					<TR>");
document.write("					<TD align=middle><FONT color=#030000>各地运</FONT></TD></TR>");
document.write("					<TR>");
document.write("					<TD align=middle><FONT color=#030000>营中心</FONT></TD></TR></TBODY></TABLE></TD>");
document.write("					<TD>");
document.write("					<TABLE id=ChinaEC_TEMP  borderColor=#dcdcdc cellSpacing=0 cellPadding=0 width='98%' align=center border=0>");
document.write("					<TBODY>");
document.write("					<TR>");
document.write("					<TD size='null'>");
document.write("					<P target='_blank'><STRONG><FONT color=#ff0000>华北</FONT></STRONG>&nbsp;<A href='/league/bj/北京首页.htm' target=_blank><FONT face=宋体>北京</FONT></A> <A href='http://tianjin.chinaec.com/' target=_blank><FONT face=宋体>天津</FONT></A> <A href='http://shenyang.chinaec.com/' target=_blank><FONT face=宋体>沈阳</FONT></A> <A href='http://shijiazhuang.chinaec.com/' target=_blank><FONT face=宋体>石家庄</FONT></A> <A href='http://haerbin.chinaec.com/' target=_blank><FONT face=宋体>哈尔滨</FONT></A> <A href='http://dalian.chinaec.com/' target=_blank><FONT face=宋体>大连</FONT></A>&nbsp;<A href='http://baotou.chinaec.com/' target=_blank><FONT face=宋体>包头</FONT></A> <A href='http://eerduosi.chinaec.com/' target=_blank><FONT face=宋体>鄂尔多斯</FONT></A> <A href='http://panjin.chinaec.com/' target=_blank><FONT face=宋体>盘锦</FONT></A> <A href='http://baoding.chinaec.com/' target=_blank><FONT face=宋体>保定</FONT></A> <A href='http://zhangjiakou.chinaec.com/' target=_blank><FONT face=宋体>张家口</FONT></A>&nbsp;<A href='http://gaocheng.chinaec.com/' target=_blank><FONT face=宋体>藁城</FONT></A> <A href='http://taiyuan.chinaec.com/' target=_blank><FONT face=宋体>太原</FONT></A> <A href='http://datong.chinaec.com/' target=_blank><FONT face=宋体>大同</FONT></A> <A href='http://cangzhou.chinaec.com/' target=_blank><FONT face=宋体>沧州</FONT></A> <A href='http://xingtai.chinaec.com/' target=_blank><FONT face=宋体>邢台</FONT></A> <A href='http://wafangdian.chinaec.com/' target=_blank><FONT face=宋体>瓦房店</FONT></A> <A href='http://pulandian.chinaec.com/' target=_blank><FONT face=宋体>普兰店</FONT></A> <A href='http://zhuanghe.chinaec.com/RegionSite/Site/zhuanghe/default.htm' target=_blank><FONT face=宋体>庄河</FONT></A></P></TD></TR>");
document.write("					<TR>");
document.write("					<TD>");
document.write("					<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href='http://changzhi.chinaec.com/' target=_blank><FONT face=宋体>长治</FONT></A> <A href='http://jinzhou.chinaec.com/' target=_blank><FONT face=宋体>锦州</FONT></A> <A href='http://chaoyang.chinaec.com/' target=_blank><FONT face=宋体>朝阳</FONT></A> <A href='http://tieling.chinaec.com/' target=_blank><FONT face=宋体>铁岭</FONT></A> <A href='http://lvliang.chinaec.com/' target=_blank><FONT face=宋体>吕梁</FONT></A> <A href='http://dashiqiao.chinaec.com/' target=_blank><FONT face=宋体>大石桥</FONT></A> <A href='http://hengshui.chinaec.com/' target=_blank><FONT face=宋体>衡水</FONT></A>&nbsp;<A href='http://huhehaote.chinaec.com/' target=_blank><FONT face=宋体>呼和浩特</FONT></A></P></TD></TR>");
document.write("					<TR>");
document.write("					<TD style='FONT-SIZE: 9pt; TEXT-DECORATION: none' size='null' target='_top'><FONT face=宋体 color=#ff0000><STRONG>华东</STRONG></FONT>&nbsp;<A href='http://shanghai.chinaec.com/' target=_blank><FONT face=宋体>上海</FONT></A><FONT color=#000000>&nbsp;<A href='http://jinan.chinaec.com/' target=_blank><FONT face=宋体>济南</FONT></A> <A href='http://hangzhou.chinaec.com/' target=_blank><FONT face=宋体>杭州</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://ningbo.chinaec.com/' target=_blank><FONT face=宋体>宁波</FONT></A>&nbsp;&nbsp;<U><A href='http://xuzhou.chinaec.com/' target=_blank><FONT face=宋体>徐州</FONT></A></U></FONT><FONT color=#000000><A href='http://hefei.chinaec.com/' target=_blank>&nbsp;<FONT face=宋体>合肥</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://yiwu.chinaec.com/' target=_blank><FONT face=宋体>义乌</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://zhangjiagang.chinaec.com/' target=_blank><FONT face=宋体>张家港</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://kunshan.chinaec.com/' target=_blank><FONT face=宋体>昆山</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://shouguang.chinaec.com/' target=_blank><FONT face=宋体>寿光</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://yantai.chinaec.com/' target=_blank><FONT face=宋体>烟台</FONT></A></FONT>&nbsp;<A href='http://jiaxing.chinaec.com/' target=_blank><FONT face=宋体>嘉兴</FONT></A> <A href='http://fuyang.chinaec.com/' target=_blank><FONT face=宋体>阜阳</FONT></A> <A href='http://zhengzhou.chinaec.com/' target=_blank><FONT face=宋体>郑州</FONT></A> <A href='http://nanjing.chinaec.com/' target=_blank><FONT face=宋体>南京</FONT></A> <A href='http://zibo.chinaec.com/' target=_blank><FONT face=宋体>淄博</FONT></A> <A href='http://lishui.chinaec.com/' target=_blank><FONT face=宋体>丽水</FONT></A> <A href='http://sanmenxia.chinaec.com/' target=_blank><FONT face=宋体>三门峡</FONT></A> <A href='http://taian.chinaec.com/' target=_blank><FONT face=宋体>泰安</FONT></A> <A href='http://changshu.chinaec.com/' target=_blank><FONT face=宋体>常熟</FONT></A> <A href='http://wuxi.chinaec.com/' target=_blank><FONT face=宋体>无锡</FONT></A></TD></TR>");
document.write("					<TR>");
document.write("					<TD target='_blank'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A href='http://yixing.chinaec.com/' target=_blank><FONT face=宋体>宜兴</FONT></A>&nbsp;<A href='http://shangqiu.chinaec.com/' target=_blank><FONT face=宋体>商丘</FONT></A> <A href='http://jiangyin.chinaec.com/' target=_blank><FONT face=宋体>江阴</FONT></A> <A href='http://bozhou.chinaec.com/' target=_blank><FONT face=宋体>亳州</FONT></A> <A href='http://suzhou.chinaec.com/' target=_blank><FONT face=宋体>苏州</FONT></A> <A href='http://weifang.chinaec.com/' target=_blank><FONT face=宋体>潍坊</FONT></A></TD></TR>");
document.write("					<TR>");
document.write("					<TD target='_blank'><STRONG><FONT color=#ff0000>华南</FONT></STRONG>&nbsp; <A href='http://guangzhou.chinaec.com/' target=_blank><FONT face=宋体>广州</FONT></A><FONT color=#000000>&nbsp;<A href='http://wuhan.chinaec.com/' target=_blank><FONT face=宋体>武汉</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://xiangfan.chinaec.com/' target=_blank><FONT face=宋体>襄樊</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://shenzhen.chinaec.com/' target=_blank><FONT face=宋体>深圳</FONT></A></FONT><FONT color=#000000>&nbsp;<A href='http://xiamen.chinaec.com/' target=_blank><FONT face=宋体>厦门</FONT></A></FONT><FONT color=#000000><A href='http://nanchang.chinaec.com/' target=_blank>&nbsp;<FONT face=宋体>南昌</FONT></A></FONT>&nbsp;<A href='http://changsha.chinaec.com/' target=_blank><FONT face=宋体>长沙</FONT></A> <A href='http://zhuhai.chinaec.com/' target=_blank><FONT face=宋体>珠海</FONT></A> <A href='http://foshan.chinaec.com/' target=_blank><FONT face=宋体>佛山</FONT></A> <A href='http://dongguan.chinaec.com/' target=_blank><FONT face=宋体>东莞</FONT></A> <A href='http://hainan.chinaec.com/' target=_blank><FONT face=宋体>海南</FONT></A> <A href='http://sanya.chinaec.com/' target=_blank><FONT face=宋体>三亚</FONT></A> <A href='http://jiujiang.chinaec.com/' target=_blank><FONT face=宋体>九江</FONT></A>&nbsp;<A href='http://longyan.chinaec.com/' target=_blank><FONT face=宋体>龙岩</FONT></A> <A href='http://hengyang.chinaec.com/' target=_blank><FONT face=宋体>衡阳</FONT></A> <A href='http://yichang.chinaec.com/' target=_blank><FONT face=宋体>宜昌</FONT></A> <A href='http://changshaxian.chinaec.com/RegionSite/Site/changshaxian/default.htm' target=_blank><FONT face=宋体>长沙县</FONT></A></TD></TR>");
document.write("					<TR>");
document.write("					<TD>");
document.write("					<P style='TEXT-DECORATION: none' target='_top'><FONT color=#ff0000><STRONG>华西</STRONG></FONT>&nbsp;&nbsp;<FONT color=#000000 target='_blank'><U><A style='TEXT-DECORATION: none' href='http://chongqing.chinaec.com/' target=_top><FONT face=宋体 color=#444444>重庆</FONT></A></U>&nbsp;</FONT><FONT color=#444444 target='_blank'><A href='http://zigong.chinaec.com/' target=_blank><FONT face=宋体>自贡</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://nanning.chinaec.com/' target=_blank><FONT face=宋体>南宁</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://kunming.chinaec.com/' target=_blank><FONT face=宋体>昆明</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://guilin.chinaec.com/' target=_blank><FONT face=宋体>桂林</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://guiyang.chinaec.com/' target=_blank><FONT face=宋体>贵阳</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://liuzhou.chinaec.com/' target=_blank><FONT face=宋体>柳州</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://xianyang.chinaec.com/' target=_blank><FONT face=宋体>咸阳</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://yulin.chinaec.com/' target=_blank><FONT face=宋体>玉林</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://xian.chinaec.com/' target=_blank><FONT face=宋体>西安</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://wuwei.chinaec.com/' target=_blank><FONT face=宋体>武威</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://hanzhong.chinaec.com/' target=_blank><FONT face=宋体>汉中</FONT></A>&nbsp;<A href='http://wulumuqi.chinaec.com/' target=_blank><FONT face=宋体>乌鲁木齐</FONT></A>&nbsp;<U><A href='http://honghezhou.chinaec.com/' target=_blank><FONT face=宋体>红河州</FONT></A></U><FONT face=宋体>&nbsp;</FONT><A href='http://qujing.chinaec.com/' target=_blank><FONT face=宋体>曲靖</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://lincang.chinaec.com/' target=_blank><FONT face=宋体>临沧</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://yuxi.chinaec.com/' target=_blank><FONT face=宋体>玉溪</FONT></A><FONT face=宋体> </FONT><A href='http://chuxiong.chinaec.com/' target=_blank><FONT face=宋体>楚雄</FONT></A>&nbsp;<A href='http://yinchuan.chinaec.com/' target=_blank><FONT face=宋体>银川</FONT></A>&nbsp;<A href='http://hami.chinaec.com/' target=_blank><FONT face=宋体>哈密</FONT></A></FONT></P></TD></TR>");
document.write("					<TR>");
document.write("					<TD style='FONT-SIZE: 9pt' size='null' target='_blank'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A href='http://baise.chinaec.com/' target=_blank><FONT face=宋体>百色</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://yanan.chinaec.com/' target=_blank><FONT face=宋体>延安</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://dali.chinaec.com/' target=_blank><FONT face=宋体>大理</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://lanzhou.chinaec.com/' target=_blank><FONT face=宋体>兰州</FONT></A><FONT face=宋体>&nbsp;</FONT><A href='http://zunyi.chinaec.com/League/zunyi/' target=_blank><FONT face=宋体>遵义&nbsp;</FONT></A><A href='http://simao.chinaec.com/RegionSite/Site/simao/default.htm' target=_blank><FONT face=宋体>思茅</FONT></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>");
document.write("					<TR>");
document.write("					<TD height=2></TD></TR></TBODY></TABLE>");
document.write("				</DIV>");
document.write("			</DIV>");
document.write("		</DIV>");
document.write("		<!--城市弹出窗口结束-->");
document.writeln(" <!--分类弹出窗口开始-->");
document.writeln("        <DIV style='DISPLAY: none'>");
document.writeln("          <DIV id=all-categories>");
document.writeln("            <DIV style='BORDER-RIGHT: #aca976 1px solid; PADDING-RIGHT: 12px; BORDER-TOP: #aca976 1px solid; PADDING-LEFT: 12px; PADDING-BOTTOM: 12px; BORDER-LEFT: #aca976 1px solid; PADDING-TOP: 12px; BORDER-BOTTOM: #aca976 1px solid; BACKGROUND-COLOR: #ffffff'>");
document.writeln(" 	<table width='766' border='0' cellspacing='0' cellpadding='0' align='center'>");
document.writeln(" 		<tr><td height='5'></td></tr>");
document.writeln(" 	</table>");
document.writeln(" 	<table width='766' height='60' border='0' cellspacing='0' cellpadding='0' align='center'>");
document.writeln(" 		<tr>");
document.writeln(" 			<td height='3'></td>");
document.writeln(" 		</tr>");
document.writeln(" 		<tr>");
document.writeln(" 			<td>");
document.writeln(" 				<table width='96%' border='0' cellspacing='0' cellpadding='0' align='right'>");
document.writeln(" 					<tr>");
document.writeln(" 						<td style='FONT-SIZE: 12px;COLOR: #000000;'>");
document.writeln(" 							<a href='http://www.chinaec.com/category/books/books.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>图书教材</font></a> | <a href='http://www.chinaec.com/category/yinxiang/yinxiang.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								音像影视</font></a> | <a href='http://www.chinaec.com/category/it/it.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>IT电脑</font></a> | <a href='http://www.chinaec.com/category/office/office.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								办公耗材</font></a> | <a href='http://www.chinaec.com/category/dress/dress.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>服装服饰</font></a> | <a href='http://www.chinaec.com/category/present/present.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								礼品饰品</font></a> | <a href='http://www.chinaec.com/category/soft/soft.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>软件游戏</font></a> | <a href='http://www.chinaec.com/category/card/card.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								网游点卡</font></a> | <a href='http://www.chinaec.com/category/mobile/mobile.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>手机通讯</font></a> | <a href='http://www.chinaec.com/category/digital/digital.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								数码摄像</font></a> | <a href='http://www.chinaec.com/category/car/car.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>汽车用品</font></a>");
document.writeln(" 						</td>");
document.writeln(" 					</tr>");
document.writeln(" 				</table>");
document.writeln(" 			</td>");
document.writeln(" 		</tr>");
document.writeln(" 		<tr>");
document.writeln(" 			<td>");
document.writeln(" 				<table width='96%' border='0' cellspacing='0' cellpadding='0' align='right'>");
document.writeln(" 					<tr>");
document.writeln(" 						<td style='FONT-SIZE: 12px;COLOR: #000000;'>");
document.writeln(" 							<a href='http://www.chinaec.com/category/sports/sports.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>运动休闲</font></a> | <a href='http://www.chinaec.com/category/toiletry/toiletry.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								化妆美容</font></a> | <a href='http://www.chinaec.com/category/bijou/bijou.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>珠宝首饰</font></a> | <a href='http://www.chinaec.com/category/watch/watch.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								钟表眼镜</font></a> | <a href='http://www.chinaec.com/category/electricAppliances/electricAppliances.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								家用电器</font></a> | <a href='http://www.chinaec.com/category/jiancai/jiancai.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>家装家具</font></a> |");
document.writeln(" 							<a href='http://www.chinaec.com/category/child/child.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>儿童用品</font></a> | <a href='http://www.chinaec.com/category/health/health.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								保 健 品</font></a> | <a href='http://www.chinaec.com/category/adult/adult.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>成人用品</font></a> | <a href='http://www.chinaec.com/category/flower/flower.html' target='_blank'><font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
document.writeln(" 								鲜花蛋糕</font></a>");
document.writeln(" 						</td>");
document.writeln(" 					</tr>");
document.writeln(" 				</table>");
document.writeln(" 			</td>");
document.writeln(" 		</tr>");
document.writeln(" 		<tr>");
document.writeln(" 			<td height='3'></td>");
document.writeln(" 		</tr>");
document.writeln(" 	</table>");
document.writeln("            </DIV>");
document.writeln("          </DIV>");
document.writeln("        </DIV>");
document.writeln("        <!--分类弹出窗口结束-->");
}

function SearchBar(strCity,strKey)
{
	document.writeln("	<table width='100%'  border='0' cellpadding='0' cellspacing='0'>");
	document.writeln("		<form id='form' name='form' action='http://www.chinaec.com/searchEngine/' method='get' class='td'>");
	document.writeln("			<tr>");
	document.writeln("				<td width='20'>");
	document.writeln("				</td>");
	document.writeln("				<td>");
	document.writeln("					<font style='FONT-SIZE: 14px;COLOR: #FFFFFF;font-weight: bold;'>商品搜索</font>");
	document.writeln("					<select name='city' style='font-size:12px; width:80px'>");
	GetCity(strCity);
	document.writeln("					</select>");
	document.writeln("					<select size='1' name='iType'>");
	document.writeln("						<option value='000000'>所有类别</option>");
	document.writeln("						<option value='110000'>计算机</option>");
	document.writeln("						<option value='130000'>通讯</option>");
	document.writeln("						<option value='150000'>家电</option>");
	document.writeln("						<option value='160000'>图书</option>");
	document.writeln("						<option value='170000'>音像</option>");
	document.writeln("						<option value='190000'>服装鞋帽</option>");
	document.writeln("						<option value='210000'>美容健身</option>");
	document.writeln("						<option value='230000'>珠宝首饰</option>");
	document.writeln("						<option value='250000'>运动休闲</option>");
	document.writeln("						<option value='270000'>情侣用品</option>");
	document.writeln("						<option value='290000'>家居</option>");
	document.writeln("						<option value='310000'>摄影</option>");
	document.writeln("						<option value='330000'>娱乐</option>");
	document.writeln("						<option value='350000'>交通</option>");
	document.writeln("						<option value='370000'>房产</option>");
	document.writeln("						<option value='390000'>收藏</option>");
	document.writeln("						<option value='410000'>办公</option>");
	document.writeln("						<option value='430000'>服务</option>");
	document.writeln("						<option value='610000'>其它</option>");
	document.writeln("					</select> ");
	document.writeln("					<input type='text' size='15' name='key' value=" + strKey + "> ");
	document.writeln("				</td>");
	document.writeln("				<td align=left>");
	document.writeln("					<input type='image' style='cursor: hand' name='image' src='http://www.chinaec.com/recommend/shopping/images/tu_26.gif' width='58' height='23' border='0'>");
	document.writeln("				</td>");
	document.writeln("			</tr>");
	document.writeln("		</form>");
	document.writeln("	</table>");
					
}


function GetCity(strCity)
{
	if (strCity != "" && strCity != "idcity")
	{
		document.write("	<OPTION value=" +  strCity + " selected>" + strCity + "</OPTION>");
	}
document.write("	<OPTION value=idcity > 所在城市</OPTION>");
document.write("    <OPTION value=北京>北京</OPTION>");
document.write("    <OPTION value=上海>上海</OPTION>");
document.write("	<OPTION value=天津>天津</OPTION>");
document.write("	<OPTION value=重庆>重庆</OPTION>");
document.write("	<OPTION value=广东>广东</OPTION>"); 
document.write("	<OPTION value=广州>&nbsp;广东广州</OPTION>");
document.write("	<OPTION value=深圳>&nbsp;广东深圳</OPTION>");
document.write("	<OPTION value=佛山>&nbsp;广东佛山</OPTION>");
document.write("	<OPTION value=汕头>&nbsp;广东汕头</OPTION>");
document.write("	<OPTION value=湛江>&nbsp;广东湛江</OPTION>");
document.write("	<OPTION value=中山>&nbsp;广东中山</OPTION>");
document.write("	<OPTION value=珠海>&nbsp;广东珠海</OPTION>");
document.write("	<OPTION value=江门>&nbsp;广东江门</OPTION>");
document.write("	<OPTION value=东莞>&nbsp;广东东莞</OPTION>");
document.write("	<OPTION value=惠州>&nbsp;广东惠州</OPTION>");
document.write("	<OPTION value=潮州>&nbsp;广东潮州</OPTION>");
document.write("	<OPTION value=福建>福建</OPTION>");
document.write("	<OPTION value=福州>&nbsp;福建福州</OPTION>");
document.write("	<OPTION value=厦门>&nbsp;福建厦门</OPTION>");
document.write("	<OPTION value=泉州>&nbsp;福建泉州</OPTION>");
document.write("	<OPTION value=龙岩>&nbsp;福建龙岩</OPTION>");
document.write("	<OPTION value=石狮>&nbsp;福建石狮</OPTION>");
document.write("	<OPTION value=漳州>&nbsp;福建漳州</OPTION>");
document.write("	<OPTION value=福清>&nbsp;福建福清</OPTION>");
document.write("	<OPTION value=浙江>浙江</OPTION>");
document.write("	<OPTION value=杭州>&nbsp;浙江杭州</OPTION>");
document.write("	<OPTION value=宁波>&nbsp;浙江宁波</OPTION>");
document.write("	<OPTION value=温州>&nbsp;浙江温州</OPTION>");
document.write("	<OPTION value=金华>&nbsp;浙江金华</OPTION>");
document.write("	<OPTION value=嘉兴>&nbsp;浙江嘉兴</OPTION>");
document.write("	<OPTION value=湖州>&nbsp;浙江湖州</OPTION>");
document.write("	<OPTION value=丽水>&nbsp;浙江丽水</OPTION>");
document.write("	<OPTION value=衢州>&nbsp;浙江衢州</OPTION>");
document.write("	<OPTION value=台州>&nbsp;浙江台州</OPTION>");
document.write("	<OPTION value=绍兴>&nbsp;浙江绍兴</OPTION>");
document.write("	<OPTION value=义乌>&nbsp;浙江义乌</OPTION>");
document.write("	<OPTION value=舟山>&nbsp;浙江舟山</OPTION>");
document.write("	<OPTION value=江苏>江苏</OPTION>");
document.write("	<OPTION value=南京>&nbsp;江苏南京</OPTION>");
document.write("	<OPTION value=徐州>&nbsp;江苏徐州</OPTION>");
document.write("	<OPTION value=常州>&nbsp;江苏常州</OPTION>");
document.write("	<OPTION value=无锡>&nbsp;江苏无锡</OPTION>");
document.write("	<OPTION value=苏州>&nbsp;江苏苏州</OPTION>");
document.write("	<OPTION value=张家港>&nbsp;江苏张家港</OPTION>");
document.write("	<OPTION value=南通>&nbsp;江苏南通</OPTION>");
document.write("	<OPTION value=淮阴>&nbsp;江苏淮阴</OPTION>");
document.write("	<OPTION value=连云港>&nbsp;江苏连云港</OPTION>");
document.write("	<OPTION value=泰州>&nbsp;江苏泰州</OPTION>");
document.write("	<OPTION value=扬州>&nbsp;江苏扬州</OPTION>");
document.write("	<OPTION value=镇江>&nbsp;江苏镇江</OPTION>");
document.write("	<OPTION value=盐城>&nbsp;江苏盐城</OPTION>");
document.write("	<OPTION value=常熟>&nbsp;江苏常熟</OPTION>");
document.write("	<OPTION value=宜兴>&nbsp;江苏宜兴</OPTION>");
document.write("	<OPTION value=昆山>&nbsp;江苏昆山</OPTION>");
document.write("	<OPTION value=江阴>&nbsp;江苏江阴</OPTION>");
document.write("	<OPTION value=潍安>&nbsp;江苏潍安</OPTION>");
document.write("	<OPTION value=山东>山东</OPTION>");
document.write("	<OPTION value=济南>&nbsp;山东济南</OPTION>");
document.write("	<OPTION value=青岛>&nbsp;山东青岛</OPTION>");
document.write("	<OPTION value=烟台>&nbsp;山东烟台</OPTION>");
document.write("	<OPTION value=潍坊>&nbsp;山东潍坊</OPTION>");
document.write("	<OPTION value=德州>&nbsp;山东德州</OPTION>");
document.write("	<OPTION value=威海>&nbsp;山东威海</OPTION>");
document.write("	<OPTION value=淄博>&nbsp;山东淄博</OPTION>");
document.write("	<OPTION value=济宁>&nbsp;山东济宁</OPTION>");
document.write("	<OPTION value=泰安>&nbsp;山东泰安</OPTION>");
document.write("	<OPTION value=寿光>&nbsp;山东寿光</OPTION>");
document.write("	<OPTION value=辽宁>辽宁</OPTION>");
document.write("	<OPTION value=沈阳>&nbsp;辽宁沈阳</OPTION>");
document.write("	<OPTION value=大连>&nbsp;辽宁大连</OPTION>");
document.write("	<OPTION value=鞍山>&nbsp;辽宁鞍山</OPTION>");
document.write("	<OPTION value=抚顺>&nbsp;辽宁抚顺</OPTION>");
document.write("	<OPTION value=盘锦>&nbsp;辽宁盘锦</OPTION>");
document.write("	<OPTION value=锦州>&nbsp;辽宁锦州</OPTION>");
document.write("	<OPTION value=铁岭>&nbsp;辽宁铁岭</OPTION>");
document.write("	<OPTION value=本溪>&nbsp;辽宁本溪</OPTION>");
document.write("	<OPTION value=营口>&nbsp;辽宁营口</OPTION>");
document.write("	<OPTION value=朝阳>&nbsp;辽宁朝阳</OPTION>");
document.write("	<OPTION value=辽阳>&nbsp;辽宁辽阳</OPTION>");
document.write("	<OPTION value=瓦房店>&nbsp;辽宁瓦房店</OPTION>");
document.write("	<OPTION value=普兰店>&nbsp;辽宁普兰店</OPTION>");
document.write("	<OPTION value=庄河>&nbsp;辽宁庄河</OPTION>");
document.write("	<OPTION value=大石桥>&nbsp;辽宁大石桥</OPTION>");
document.write("	<OPTION value=丹东>&nbsp;辽宁丹东</OPTION>");
document.write("	<OPTION value=黑龙江>黑龙江</OPTION>");
document.write("	<OPTION value=哈尔滨>&nbsp;黑龙江哈尔滨</OPTION>");
document.write("	<OPTION value=齐齐哈尔>&nbsp;黑龙江齐齐哈尔</OPTION>");
document.write("	<OPTION value=大庆>&nbsp;黑龙江大庆</OPTION>");
document.write("	<OPTION value=佳木斯>&nbsp;黑龙江佳木斯</OPTION>");
document.write("	<OPTION value=牡丹江>&nbsp;黑龙江牡丹江</OPTION>");
document.write("	<OPTION value=吉林>吉林</OPTION>");
document.write("	<OPTION value=长春>&nbsp;吉林长春</OPTION>");
document.write("	<OPTION value=吉林>&nbsp;吉林吉林</OPTION>");
document.write("	<OPTION value=四平>&nbsp;吉林四平</OPTION>");
document.write("	<OPTION value=通化>&nbsp;吉林通化</OPTION>");
document.write("	<OPTION value=延吉>&nbsp;吉林延吉</OPTION>");
document.write("	<OPTION value=河北>河北</OPTION>");
document.write("	<OPTION value=石家庄>&nbsp;河北石家庄</OPTION>");
document.write("	<OPTION value=唐山>&nbsp;河北唐山</OPTION>");
document.write("	<OPTION value=秦皇岛>&nbsp;河北秦皇岛</OPTION>");
document.write("	<OPTION value=保定>&nbsp;河北保定</OPTION>");
document.write("	<OPTION value=承德>&nbsp;河北承德</OPTION>");
document.write("	<OPTION value=沧州>&nbsp;河北沧州</OPTION>");
document.write("	<OPTION value=邯郸>&nbsp;河北邯郸</OPTION>");
document.write("	<OPTION value=廊坊>&nbsp;河北廊坊</OPTION>");
document.write("	<OPTION value=邢台>&nbsp;河北邢台</OPTION>");
document.write("	<OPTION value=藁城>&nbsp;河北藁城</OPTION>");
document.write("	<OPTION value=衡水>&nbsp;河北衡水</OPTION>");
document.write("	<OPTION value=张家口>&nbsp;河北张家口</OPTION>");
document.write("	<OPTION value=四川>四川</OPTION>");
document.write("	<OPTION value=成都>&nbsp;四川成都</OPTION>");
document.write("	<OPTION value=绵阳>&nbsp;四川绵阳</OPTION>");
document.write("	<OPTION value=攀枝花>&nbsp;四川攀枝花</OPTION>");
document.write("	<OPTION value=自贡>&nbsp;四川自贡</OPTION>");
document.write("	<OPTION value=宜宾>&nbsp;四川宜宾</OPTION>");
document.write("	<OPTION value=泸州>&nbsp;四川泸州</OPTION>");
document.write("	<OPTION value=乐山>&nbsp;四川乐山</OPTION>");
document.write("	<OPTION value=资阳>&nbsp;四川资阳</OPTION>");
document.write("	<OPTION value=陕西>陕西</OPTION>");
document.write("	<OPTION value=西安>&nbsp;陕西西安</OPTION>");
document.write("	<OPTION value=宝鸡>&nbsp;陕西宝鸡</OPTION>");
document.write("	<OPTION value=汉中>&nbsp;陕西汉中</OPTION>");
document.write("	<OPTION value=渭南>&nbsp;陕西渭南</OPTION>");
document.write("	<OPTION value=咸阳>&nbsp;陕西咸阳</OPTION>");
document.write("	<OPTION value=延安>&nbsp;陕西延安</OPTION>");
document.write("	<OPTION value=湖南>湖南</OPTION>");
document.write("	<OPTION value=长沙>&nbsp;湖南长沙</OPTION>");
document.write("	<OPTION value=株洲>&nbsp;湖南株洲</OPTION>");
document.write("	<OPTION value=常德>&nbsp;湖南常德</OPTION>");
document.write("	<OPTION value=衡阳>&nbsp;湖南衡阳</OPTION>");
document.write("	<OPTION value=湘潭>&nbsp;湖南湘潭</OPTION>");
document.write("	<OPTION value=益阳>&nbsp;湖南益阳</OPTION>");
document.write("	<OPTION value=岳阳>&nbsp;湖南岳阳</OPTION>");
document.write("	<OPTION value=长沙县>&nbsp;湖南长沙县</OPTION>");
document.write("	<OPTION value=广西>广西</OPTION>");
document.write("	<OPTION value=南宁>&nbsp;广西南宁</OPTION>");
document.write("	<OPTION value=桂林>&nbsp;广西桂林</OPTION>");
document.write("	<OPTION value=梧州>&nbsp;广西梧州</OPTION>");
document.write("	<OPTION value=柳州>&nbsp;广西柳州</OPTION>");
document.write("	<OPTION value=玉林>&nbsp;广西玉林</OPTION>");
document.write("	<OPTION value=百色>&nbsp;广西百色</OPTION>");
document.write("	<OPTION value=湖北>湖北</OPTION>");
document.write("	<OPTION value=武汉>&nbsp;湖北武汉</OPTION>");
document.write("	<OPTION value=襄樊>&nbsp;湖北襄樊</OPTION>");
document.write("	<OPTION value=宜昌>&nbsp;湖北宜昌</OPTION>");
document.write("	<OPTION value=荆州>&nbsp;湖北荆州</OPTION>");
document.write("	<OPTION value=黄石>&nbsp;湖北黄石</OPTION>");
document.write("	<OPTION value=十堰>&nbsp;湖北十堰</OPTION>");
document.write("	<OPTION value=鄂州>&nbsp;湖北鄂州</OPTION>");
document.write("	<OPTION value=江西>江西</OPTION>");
document.write("	<OPTION value=南昌>&nbsp;江西南昌</OPTION>");
document.write("	<OPTION value=九江>&nbsp;江西九江</OPTION>");
document.write("	<OPTION value=景德镇>&nbsp;江西景德镇</OPTION>");
document.write("	<OPTION value=赣州>&nbsp;江西赣州</OPTION>");
document.write("	<OPTION value=上饶>&nbsp;江西上饶</OPTION>");
document.write("	<OPTION value=鹰潭>&nbsp;江西鹰潭</OPTION>");
document.write("	<OPTION value=吉安>&nbsp;江西吉安</OPTION>");
document.write("	<OPTION value=云南>云南</OPTION>");
document.write("	<OPTION value=昆明>&nbsp;云南昆明</OPTION>");
document.write("	<OPTION value=大理>&nbsp;云南大理</OPTION>");
document.write("	<OPTION value=楚雄>&nbsp;云南楚雄</OPTION>");
document.write("	<OPTION value=丽江>&nbsp;云南丽江</OPTION>");
document.write("	<OPTION value=玉溪>&nbsp;云南玉溪</OPTION>");
document.write("	<OPTION value=曲靖>&nbsp;云南曲靖</OPTION>");
document.write("	<OPTION value=昭通>&nbsp;云南昭通</OPTION>");
document.write("	<OPTION value=思茅>&nbsp;云南思茅</OPTION>");
document.write("	<OPTION value=红河>&nbsp;云南红河</OPTION>");
document.write("	<OPTION value=德宏>&nbsp;云南德宏</OPTION>");
document.write("	<OPTION value=河南>河南</OPTION>");
document.write("	<OPTION value=郑州>&nbsp;河南郑州</OPTION>");
document.write("	<OPTION value=洛阳>&nbsp;河南洛阳</OPTION>");
document.write("	<OPTION value=三门峡>&nbsp;河南三门峡</OPTION>");
document.write("	<OPTION value=新乡>&nbsp;河南新乡</OPTION>");
document.write("	<OPTION value=开封>&nbsp;河南开封</OPTION>");
document.write("	<OPTION value=安阳>&nbsp;河南安阳</OPTION>");
document.write("	<OPTION value=信阳>&nbsp;河南信阳</OPTION>");
document.write("	<OPTION value=商丘>&nbsp;河南商丘</OPTION>");
document.write("	<OPTION value=平顶山>&nbsp;河南平顶山</OPTION>");
document.write("	<OPTION value=许昌>&nbsp;河南许昌</OPTION>");
document.write("	<OPTION value=鹤壁>&nbsp;河南鹤壁</OPTION>");
document.write("	<OPTION value=安徽>安徽</OPTION>");
document.write("	<OPTION value=合肥>&nbsp;安徽合肥</OPTION>");
document.write("	<OPTION value=蚌埠>&nbsp;安徽蚌埠</OPTION>");
document.write("	<OPTION value=芜湖>&nbsp;安徽芜湖</OPTION>");
document.write("	<OPTION value=黄山>&nbsp;安徽黄山</OPTION>");
document.write("	<OPTION value=马鞍山>&nbsp;安徽马鞍山</OPTION>");
document.write("	<OPTION value=淮南>&nbsp;安徽淮南</OPTION>");
document.write("	<OPTION value=阜阳>&nbsp;安徽阜阳</OPTION>");
document.write("	<OPTION value=淮北>&nbsp;安徽淮北</OPTION>");
document.write("	<OPTION value=亳州>&nbsp;安徽亳州</OPTION>");
document.write("	<OPTION value=海南>海南</OPTION>");
document.write("	<OPTION value=海口>&nbsp;海南海口</OPTION>");
document.write("	<OPTION value=三亚>&nbsp;海南三亚</OPTION>");
document.write("	<OPTION value=山西>山西</OPTION>");
document.write("	<OPTION value=太原>&nbsp;山西太原</OPTION>");
document.write("	<OPTION value=大同>&nbsp;山西大同</OPTION>");
document.write("	<OPTION value=榆次>&nbsp;山西榆次</OPTION>");
document.write("	<OPTION value=长治>&nbsp;山西长治</OPTION>");
document.write("	<OPTION value=阳泉>&nbsp;山西阳泉</OPTION>");
document.write("	<OPTION value=运城>&nbsp;山西运城</OPTION>");
document.write("	<OPTION value=河津>&nbsp;山西河津</OPTION>");
document.write("	<OPTION value=吕梁>&nbsp;山西吕梁</OPTION>");
document.write("	<OPTION value=晋城>&nbsp;山西晋城</OPTION>");
document.write("	<OPTION value=贵州>贵州</OPTION>");
document.write("	<OPTION value=贵阳>&nbsp;贵州贵阳</OPTION>");
document.write("	<OPTION value=六盘水>&nbsp;贵州六盘水</OPTION>");
document.write("	<OPTION value=遵义>&nbsp;贵州遵义</OPTION>");
document.write("	<OPTION value=甘肃>甘肃</OPTION>");
document.write("	<OPTION value=兰州>&nbsp;甘肃兰州</OPTION>");
document.write("	<OPTION value=武威>&nbsp;甘肃武威</OPTION>");
document.write("	<OPTION value=青海>青海</OPTION>");
document.write("	<OPTION value=西宁>&nbsp;青海西宁</OPTION>");
document.write("	<OPTION value=新疆>新疆</OPTION>");
document.write("	<OPTION value=乌鲁木齐>&nbsp;新疆乌鲁木齐</OPTION>");
document.write("	<OPTION value=哈密>&nbsp;新疆哈密</OPTION>");
document.write("	<OPTION value=克拉玛依>&nbsp;新疆克拉玛依</OPTION>");
document.write("	<OPTION value=石河子>&nbsp;新疆石河子</OPTION>");
document.write("	<OPTION value=内蒙古>内蒙古</OPTION>");
document.write("	<OPTION value=呼和浩特>&nbsp;内蒙古呼和浩特</OPTION>");
document.write("	<OPTION value=包头>&nbsp;内蒙古包头</OPTION>");
document.write("	<OPTION value=鄂尔多斯>&nbsp;内蒙古鄂尔多斯</OPTION>");
document.write("	<OPTION value=赤峰>&nbsp;内蒙古赤峰</OPTION>");
document.write("	<OPTION value=宁夏>宁夏</OPTION>");
document.write("	<OPTION value=银川>&nbsp;宁夏银川</OPTION>");
document.write("	<OPTION value=西藏>西藏</OPTION>");
document.write("	<OPTION value=拉萨>&nbsp;西藏拉萨</OPTION>");
document.write("	<OPTION value=香港>香港</OPTION>");
document.write("	<OPTION value=澳门>澳门</OPTION>");
document.write("	<OPTION value=台湾>台湾</OPTION>");
}

function ShowNavigator(navName)
{
	if(navName == "")
		return;
//频道显示开始
	document.writeln("				      				<td align='left' width='78' valign='bottom' background='http://www.chinaec.com/recommend/shopping/images/top_new.gif'>");
	document.writeln("				      					<table border='0' cellpadding='0' cellspacing='0' align='center'>");
	document.writeln("											<tr><td height='10'></td></tr>");
	document.writeln("				      						<tr>");
	document.writeln("				      							<td height='40' align='center' valign='middle'>");
	document.writeln("													<font color='#000000' style='FONT-SIZE: 12px;TEXT-DECORATION: none;'>");
	document.writeln(navName);
	document.writeln("													</font>");
	document.writeln("												</td>");
	document.writeln("				      						</tr>");
	document.writeln("				      					</table>");
	document.writeln("				      				</td>");
//频道显示结束
}

var gbN2LibMonMigrated = true;
var N2Loaded = false;
var n2LMStart = new Date();
var gaN2CSSLibs = new Array();
var gaN2JSLibs =  new Array(); 
var oTheDoc = document;
var oTheBody = oTheDoc.body;
var oTheHead = document.getElementsByTagName('head').item(0);
var n2sRTW1='onload';
var n2sRTWTBS='simplepopoverloaded';
function N2Initializer () {
this.aHandlers = new Array();
this.aEventsRun = new Array();
this.bCoreLoaded = false;
}
new N2Initializer ();
N2Initializer.prototype.runThisWhen  = function (sWhen, fFn, sComment) {
if ( (typeof fFn != 'function') || fFn == null) return false;
sWhen = sWhen.toLowerCase();
if ( (sWhen =='inbody' && document.body) || this.aEventsRun[sWhen] ){
fFn();
} else {
this.aHandlers[this.aHandlers.length] = { sWhen: sWhen, fFn: fFn, sComment: sComment };
}
return true
}
N2Initializer.prototype.initializeThis = N2Initializer.prototype.runThisWhen
N2Initializer.prototype.loadThisWhen  = function (sWhen, sURL, sID, sComment) {
sWhen = sWhen.toLowerCase();
goN2LibMon.monitorLoad (sID);
if ( sWhen =='now' ) {
n2LoadScript(sURL, true, sID);
} else {
this.aHandlers[this.aHandlers.length] = { sWhen: sWhen, sURL: sURL, sID: sID, sComment: sComment };
}
return true
}
N2Initializer.prototype.run = function (sWhen) {
sWhen = (typeof sWhen == 'undefined') ? null : sWhen;
sWhen = sWhen.toLowerCase();
this.aEventsRun[sWhen] = true;
if (sWhen == 'coreloaded') { this.bCoreLoaded=true; }
if (window.goN2Debug) goN2Debug.info("N2Initializer called with " + (sWhen ? "'"+sWhen+"'" : "null"));
var aH = this.aHandlers;
var len = aH.length;
for (var i=0;i<len;i++) {
var oTmp = aH[i];
if ((oTmp.bCalled != true) &&
(oTmp.fFn || oTmp.sURL) &&
( (sWhen == null) || (oTmp.sWhen && (oTmp.sWhen == sWhen)))
) {
if ((oTmp.sWhen == 'coreloaded') && !this.bCoreLoaded) continue;
if (window.goN2Debug) ;   
if (oTmp.fFn) {
oTmp.fFn();
} else if (oTmp.sURL) {
n2LoadScript(oTmp.sURL, true, oTmp.sID);
} 
oTmp.bCalled = true;
}
}
}
goN2Initializer = new N2Initializer();
function  n2RunThisWhen (sWhen, fFn, sComment) {
goN2Initializer.runThisWhen(sWhen, fFn, sComment);
}
function n2LoadThisWhen  (sWhen, sURL, sID, sComment) {
goN2Initializer.loadThisWhen(sWhen, sURL, sID, sComment);
}
function n2RunIfLoaded (sLibID, fFn, sComment) {
n2RunThisWhen(sLibID+'loaded', fFn, 'sequenced init of '+ sComment);
}
function n2LoadScript (sURL, bLocalCacheOK, sLibID) {
if (sLibID) { goN2LibMon.requestLoad (sLibID); }
var e = oTheDoc.createElement("script");
e.type="text/javascript";
if (bLocalCacheOK)	{
e.src = sURL;
} else {
e.src = sURL + (sURL.indexOf('?') == -1 ? '?' : '&') + 'lt='+ new Date().getTime();
}
oTheHead.appendChild(e);
}
function N2LibraryMonitor() {
this.aLibs = {};
this.bJSLoaded=false;
this.bCSSLoaded=false;
this.sNotLoaded ='A desirable part of the page did not load. Please refresh the page to try again. \n';
this.nTimer=null;
this.nTimeoutMs = 10000;
}
new N2LibraryMonitor();
N2LibraryMonitorProto = N2LibraryMonitor.prototype;
N2LibraryMonitor.prototype.monitorLoad = function (sLibID) {
this.aLibs[sLibID] = { sID: sLibID, nDuration: -1 };
}
N2LibraryMonitor.prototype.requestLoad = function (sLibID, sFeatureID) {
var oTmp = this.aLibs[sLibID];
if (oTmp) { oTmp.nDuration= -2; }
this.resetTimer();
}
N2LibraryMonitor.prototype.beginLoad = function (sLibID, sFeatureID) {
var oTmp = this.aLibs[sLibID];
if (oTmp) { 
oTmp.sFeature = sFeatureID;
oTmp.nBegin = new Date().getTime();
oTmp.nDuration= -3;
}
};
N2LibraryMonitor.prototype.endLoad = function (sLibID, nStatus) {
var oTmp = this.aLibs[sLibID];
if (oTmp) { oTmp.nDuration = new Date().getTime() - oTmp.nBegin; oTmp.bLoaded=true;}
var bALL;
if (bALL=this.allLibsLoaded()) {
this.clearTimer();
} else {
this.resetTimer();
}
goN2Initializer.run(sLibID+'loaded');
if (bALL) {
goN2Initializer.run('lastlibraryloaded');
}
}
N2LibraryMonitorProto.clearTimer=function() {
if (this.nTimer) {
clearTimeout(this.nTimer);
this.nTimer = null;
}
}
N2LibraryMonitorProto.resetTimer=function() {
if (this.nTimer) { 
clearTimeout(this.nTimer); }
this.nTimer = setTimeout(n2LibraryLoadTimeout, this.nTimeoutMs);
}
function n2LibraryLoadTimeout() {
goN2Initializer.run('libraryloadfailed');
}
N2LibraryMonitor.prototype.allLibsLoaded = function () {
var bAllLoaded=true;
for (var key in this.aLibs) {
if (this.aLibs[key] && this.aLibs[key].nDuration <0) { bAllLoaded=false; }
}
this.bJSLoaded = bAllLoaded;
return bAllLoaded;
}
N2LibraryMonitor.prototype.confirmJSLoaded = function() { return this.bJSLoaded; }
N2LibraryMonitor.prototype.confirmCSSLoaded = function() { this.bCSSLoaded=true; }
N2LibraryMonitor.prototype.isJSLoaded = function() { return this.bJSLoaded; }
N2LibraryMonitor.prototype.isCSSLoaded = function() { return this.bCSSLoaded; }
N2LibraryMonitor.prototype.status = function() { 
if (this.bJSLoaded) return "OK!";
else return this.sNotLoaded;
}
N2LibraryMonitor.prototype.stats = function() { return "N/A"; };
goN2LibMon = new N2LibraryMonitor();
var n2LLStop = new Date();
var n2LMStop = new Date();
function N2ConfigBase() { 
this.getValue = function(id,d) {
if(typeof this[id] != 'undefined') { return this.id; }
else { return d; } } }
var goN2ConfigBase = new N2ConfigBase();
document.write('<link href="http://www.dangdang.com/css/pop.css" type="text/css" rel="stylesheet">'+
'');
goN2LibMon.monitorLoad ("utilities");
goN2LibMon.monitorLoad ("events");
goN2LibMon.monitorLoad ("simplePopover");
document.write('<script language="javascript" src="http://www.dangdang.com/js/a_20051231.js" type="text/javascript"></script><\/script>'+
'<script language="javascript" src="http://www.dangdang.com/js/c_20051231.js" type="text/javascript"></script><\/script>'+
'<script language="javascript" src="http://www.dangdang.com/js/b_20051231.js" type="text/javascript"></script><\/script>'+
'');
var goCust = new Object();
goCust.isLoggedIn=function() { return false; }
var goN2Explorer;
var gaTD;
var goN2AC;
n2RunThisWhen (n2sRTWTBS, 
function() {
oAllCatPopover = new N2SimplePopover();
goN2Events.registerFeature('two-tabs', 'oAllCatPopover', 'n2MouseOverHotspot', 'n2MouseOutHotspot'); 
goN2Events.setFeatureDelays('two-tabs',200, 400, 200);
oAllCatPopover.initialize('AllCatPopoverDiv', 'oAllCatPopover',null,null,'below','c'); 
}, 
'All Categories popover');
n2RunThisWhen(n2sRTW1, 
function() {
if (!window.gaTD) gaTD = new Array();
N2Loaded = goN2LibMon.isJSLoaded(); 
}, "Last Init"
);
