function ShoppingHeader(strCity,strKey,navName)
{
document.writeln("		<table width='1002' border='0' cellpadding='0' cellspacing='0'>");
document.writeln("			<tr>");
document.writeln("				<td>");
document.writeln("");
document.writeln("				</td>");
document.writeln("			</tr>");
document.writeln("         <tr>");
document.writeln("         <td");
//document.writeln("   <p <!--onClick=window.open('http://www.chinaec.com/ad/hot/daojishi.html','a','width=450,height=554') align='right'-->         ");

//document.writeln("<strong><font color='#000099' size='1' face='宋体'>签约商户 </font></strong><img  src=");
//document.writeln(" 'http://www.chinaec.com/recommend/shopping/images/2.jpg' align='absmiddle'><img  src= ");
//document.writeln(" 'http://www.chinaec.com/recommend/shopping/images/3.jpg' align='absmiddle'><img src= ");
//document.writeln(" 'http://www.chinaec.com/recommend/shopping/images/8.jpg' align='absmiddle'><img  src=  ");
//document.writeln(" 'http://www.chinaec.com/recommend/shopping/images/5.jpg' align='absmiddle'><img  src=  ");
//document.writeln(" 'http://www.chinaec.com/recommend/shopping/images/0.jpg' align='absmiddle'>");
//document.writeln("<strong><font color='#000099' size='1' face='宋体'> 家&nbsp;&nbsp; </font></strong>");
//document.writeln(" </p>");
document.writeln("         </td>");
document.writeln("			</tr>");
document.writeln("		</table>");
document.writeln("		<table width='1002'  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='186' 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.gif'>");
showCityName(strCity);
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'><span class='style3'><a href='#' name=two-tabs|he|all-categories>所有22类商品</a></span> </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><span class='style3'><span class='style4'><br><A href='/authentication/logon.aspx?logontype=1&amp;path=/user/purchaser/regchg.asp?' target=_top>用户登陆</A></span> | </span><span class='style5'><a href='/authentication/logon.aspx?logontype=3&amp;returnurl=/user/admin' target=_top>企业登陆</a></span><span class='style3'> | <span class='style4'> <img src='http://www.chinaec.com/recommend/shopping/images/tu_10.gif' width='15' height='12'>　<a href='/trade/myCart.asp' target=_blank>购物车</a></span> | <span class='style4'><a href='/search/viewitem.aspx?type=1'>浏览记录</a></span></span></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='100%'  border='0' cellpadding='0' cellspacing='0'>");
document.writeln("				      			<tr>");
document.writeln("									<td height='30' colspan='4' align='center'><span class='style3'><a href='http://www.chinashopping.org.cn'>网络购物节</a>　<a href='/searchEngine/?key=%CB%F7%C4%E1N1&infoType=3'>索尼N1</a>　<a href='/searchEngine/?key=PSP&infoType=3'>PSP掌机</a>　<a href='/searchengine/?key=%d7%ea%ca%af%bd%e4%d6%b8&city=idcity&radflag=1&list=&infotype=&hotword=1&title='>钻石戒指</a>　<a href='http://www.9588.com/Default.aspx?CooperateId=113635'>机票酒店<font color='#FF0000'>New!</font></a>  <a href='http://yesky.chinaec.com' target='_blank'>IT资讯<font color='#FF0000'>New!</font></a>  <a href='http://www.chinaec.com/ad/winechannel/index.html' target='_blank'>酒频道<font color='#FF0000'>New!</font></a>  <a href='http://www.chinaec.com/ad/shenma/index.html' target='_blank'>神码杀毒<font color='#FF0000'>Free!</font></a></span></td>");
document.writeln("				      			</tr>");
document.writeln("				      			<tr>");
document.writeln("				      				<td width='600' align='center'>");
document.writeln("				      				<!--搜索框开始-->");
SearchBar(strCity,strKey);
document.writeln("				      				<!--搜索框结束-->");
document.writeln("				      				</td>");
document.writeln("									<td width='140' align='center' class='style3'><a href='/echelp/help.asp?cate1=2&cate2=0&cate3=2' target=_blank>搜索技巧</a> | <a href='/search/advanced.htm' target=_blank>高级搜索</a></td>");
document.writeln("									<td align='right' class='style3'>·<a href='http://elt.chinaec.com/' target=_blank>精品网店</a> ·<a href='http://www.chinaec.com/CorpSvc/Temp/T3/Product.aspx?idInfo=10077399&idCorp=1000000721' target=_blank>热门网址</a> ·<a href='http://llt.chinaec.com/' target=_blank>特色商家</a>　　</td>");
document.writeln("						            <td width='25' 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.writeln("<!--城市弹出窗口开始-->");
document.writeln("<DIV style='DISPLAY: none'>");
document.writeln("	<DIV id=all-categories_city>");
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>");
document.writeln("					<td height='5'></td>");
document.writeln("				</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>");
document.writeln("									<a href='http://www.chinaec.com/' target='_blank'>北京</a> | <a href='http://shanghai.chinaec.com/' target='_blank'>");
document.writeln("										上海</a> | <a href='http://chongqing.chinaec.com/' target='_blank'>重庆</a> | <a href='http://tianjin.chinaec.com/' target='_blank'>");
document.writeln("										天津</a> | <a href='http://guangzhou.chinaec.com/' target='_blank'>广州</a> | <a href='http://kunming.chinaec.com/' target='_blank'>");
document.writeln("										昆明</a> | <a href='http://weifang.chinaec.com/' target='_blank'>潍坊</a> | <a href='http://taian.chinaec.com/' target='_blank'>");
document.writeln("										泰安</a> | <a href='http://shijiazhuang.chinaec.com/' target='_blank'>石家庄</a> | <a href='http://shenyang.chinaec.com/' target='_blank'>");
document.writeln("										沈阳</a> | <a href='http://zigong.chinaec.com/' target='_blank'>自贡</a> | <a href='http://xian.chinaec.com/' target='_blank'>");
document.writeln("										西安</a> | <a href='http://baise.chinaec.com/' target='_blank'>百色</a> | <a href='http://haerbin.chinaec.com/' target='_blank'>");
document.writeln("										哈尔滨</a> | <a href='http://www.chinaec.com/ad/cyjj/index.htm' target='_blank'>大连</a> | <a href='http://baoding.chinaec.com/' target='_blank'>");
document.writeln("										保定</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>");
document.writeln("									<a href='http://zhangjiakou.chinaec.com/' target='_blank'>张家口</a> | <a href='http://jinan.chinaec.com/' target='_blank'>");
document.writeln("										济南</a> | <a href='http://guiyang.chinaec.com/' target='_blank'>贵阳</a> | <a href='http://nanjing.chinaec.com/' target='_blank'>");
document.writeln("										南京</a> | <a href='http://wuhan.chinaec.com/' target='_blank'>武汉</a> | <a href='http://xiangfan.chinaec.com/' target='_blank'>");
document.writeln("										襄樊</a> | <a href='http://www.chinaec.com/ad/cyjj/index.htm' target='_blank'>杭州</a> | <a href='http://ningbo.chinaec.com/' target='_blank'>");
document.writeln("										宁波</a> | <a href='http://www.chinaec.com/ad/cyjj/index.htm' target='_blank'>徐州</a> | <a href='http://zhengzhou.chinaec.com/' target='_blank'>");
document.writeln("										郑州</a> | <a href='http://changsha.chinaec.com/' target='_blank'>长沙</a> | <a href='http://foshan.chinaec.com/' target='_blank'>");
document.writeln("										佛山</a> | <a href='http://dongguan.chinaec.com/' target='_blank'>东莞</a> | <a href='http://hainan.chinaec.com/' target='_blank'>");
document.writeln("										海南</a> | <a href='http://nanning.chinaec.com/' target='_blank'>南宁</a> | <a href='http://hefei.chinaec.com/' target='_blank'>");
document.writeln("										合肥</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>");
document.writeln("									<a href='http://xiamen.chinaec.com/' target='_blank'>厦门</a> | <a href='http://hengyang.chinaec.com/' target='_blank'>");
document.writeln("										衡阳</a> | <a href='http://longyan.chinaec.com/' target='_blank'>龙岩</a> | <a href='http://yichang.chinaec.com/' target='_blank'>");
document.writeln("										宜昌</a> | <a href='http://guilin.chinaec.com/' target='_blank'>桂林</a> | <a href='http://tieling.chinaec.com/' target='_blank'>");
document.writeln("										铁岭</a> | <a href='http://hengshui.chinaec.com/' target='_blank'>衡水</a> | <a href='http://baotou.chinaec.com/' target='_blank'>");
document.writeln("										包头</a> | <a href='http://eerduosi.chinaec.com/' target='_blank'>鄂尔多斯</a> | <a href='http://datong.chinaec.com/' target='_blank'>");
document.writeln("										大同</a> | <a href='http://yantai.chinaec.com/' target='_blank'>烟台</a> | <a href='http://yixing.chinaec.com/' target='_blank'>");
document.writeln("										宜兴</a> | <a href='http://shangqiu.chinaec.com/' target='_blank'>商丘</a> | <a href='http://jiangyin.chinaec.com/' target='_blank'>");
document.writeln("										江阴</a> | <a href='http://sanya.chinaec.com/' target='_blank'>三亚</a> | <a href='http://yinchuan.chinaec.com/' target='_blank'>");
document.writeln("										银川</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>");
document.writeln("									<a href='http://zunyi.chinaec.com/' target='_blank'>遵义</a> | <a href='http://lanzhou.chinaec.com/' target='_blank'>");
document.writeln("										兰州</a> | <a href='http://zibo.chinaec.com/' target='_blank'>淄博</a> | <a href='http://liuzhou.chinaec.com/' target='_blank'>");
document.writeln("										柳州</a> | <a href='http://sanmenxia.chinaec.com/' target='_blank'>三门峡</a> | <a href='http://panjin.chinaec.com/' target='_blank'>");
document.writeln("										盘锦</a> | <a href='http://hami.chinaec.com/' target='_blank'>哈密</a> | <a href='http://lishui.chinaec.com/' target='_blank'>");
document.writeln("										丽水</a> | <a href='http://suzhou.chinaec.com/' target='_blank'>苏州</a> | <a href='http://changzhi.chinaec.com/' target='_blank'>");
document.writeln("										长治</a> | <a href='http://jinzhou.chinaec.com/' target='_blank'>锦州</a> | <a href='http://zhangjiagang.chinaec.com/' target='_blank'>");
document.writeln("										张家港</a> | <a href='http://hebi.chinaec.com/' target='_blank'>鹤壁</a> | <a href='http://yanan.chinaec.com/' target='_blank'>");
document.writeln("										延安</a> | <a href='http://fuyang.chinaec.com/' target='_blank'>阜阳</a> | <a href='http://changshu.chinaec.com/' target='_blank'>");
document.writeln("										常熟</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>");
document.writeln("									<a href='http://wuxi.chinaec.com/' target='_blank'>无锡</a> | <a href='http://shouguang.chinaec.com/' target='_blank'>");
document.writeln("										寿光</a> | <a href='http://jiaxing.chinaec.com/' target='_blank'>嘉兴</a> | <a href='http://xingtai.chinaec.com/' target='_blank'>");
document.writeln("										邢台</a> | <a href='http://jiujiang.chinaec.com/' target='_blank'>九江</a> | <a href='http://xianyang.chinaec.com/' target='_blank'>");
document.writeln("										咸阳</a> | <a href='http://nanchang.chinaec.com/' target='_blank'>南昌</a> | <a href='http://zhuhai.chinaec.com/' target='_blank'>");
document.writeln("										珠海</a> | <a href='http://wuwei.chinaec.com/' target='_blank'>武威</a> | <a href='http://hanzhong.chinaec.com/' target='_blank'>");
document.writeln("										汉中</a> | <a href='http://taiyuan.chinaec.com/' target='_blank'>太原</a> | <a href='http://qujing.chinaec.com/' target='_blank'>");
document.writeln("										曲靖</a> | <a href='http://chuxiong.chinaec.com/' target='_blank'>楚雄</a> | <a href='http://dali.chinaec.com/' target='_blank'>");
document.writeln("										大理</a> | <a href='http://lincang.chinaec.com/' target='_blank'>临沧</a> | <a href='http://honghezhou.chinaec.com/' target='_blank'>");
document.writeln("										红河州</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>");
document.writeln("									<a href='http://yuxi.chinaec.com/' target='_blank'>玉溪</a> | <a href='http://wulumuqi.chinaec.com/' target='_blank'>");
document.writeln("										乌鲁木齐</a> | <a href='http://lvliang.chinaec.com/' target='_blank'>吕梁</a> | <a href='http://yiwu.chinaec.com/' target='_blank'>");
document.writeln("										义乌</a> | <a href='http://cangzhou.chinaec.com/' target='_blank'>沧州</a> | <a href='http://kunshan.chinaec.com/' target='_blank'>");
document.writeln("										昆山</a> | <a href='http://chaoyang.chinaec.com/' target='_blank'>朝阳</a> | <a href='http://yingkou.chinaec.com/' target='_blank'>");
//document.writeln("										营口</a> <!--| <a href='http://nantong.chinaec.com/' target='_blank'>南通</a>--> | <a href='http://quanzhou.chinaec.com/' target='_blank'>");
document.writeln("										营口</a> | <a href='http://quanzhou.chinaec.com/' target='_blank'>");
document.writeln("										泉州</a> | <a href='http://shenzhen.chinaec.com/' target='_blank'>深圳</a> | <a href='http://bozhou.chinaec.com/' target='_blank'>亳州</a> ");
document.writeln("| <a href='http://taizhou.chinaec.com/' target='_blank'>台州</a> | <a href='http://zhaoqing.chinaec.com/' target='_blank'>肇庆</a> | <a href='http://langfang.chinaec.com/' target='_blank'>廊坊</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("<!--城市弹出窗口结束-->");
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>");
document.writeln(" 							<a href='http://www.chinaec.com/category/books/books.html' target='_blank'>图书教材</a> | <a href='http://www.chinaec.com/category/yinxiang/yinxiang.html' target='_blank'>");
document.writeln(" 								音像影视</a> | <a href='http://www.chinaec.com/category/it/it.html' target='_blank'>IT电脑</a> | <a href='http://www.chinaec.com/category/office/office.html' target='_blank'>");
document.writeln(" 								办公耗材</a> | <a href='http://www.chinaec.com/category/dress/dress.html' target='_blank'>服装服饰</a> | <a href='http://www.chinaec.com/category/present/present.html' target='_blank'>");
document.writeln(" 								礼品饰品</a> | <a href='http://www.chinaec.com/category/soft/soft.html' target='_blank'>软件游戏</a> | <a href='http://www.chinaec.com/category/card/card.html' target='_blank'>");
document.writeln(" 								网游点卡</a> | <a href='http://www.chinaec.com/category/mobile/mobile.html' target='_blank'>手机通讯</a> | <a href='http://www.chinaec.com/category/digital/digital.html' target='_blank'>");
document.writeln(" 								数码摄像</a> | <a href='http://www.chinaec.com/category/car/car.html' target='_blank'>汽车用品</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>");
document.writeln(" 							<a href='http://www.chinaec.com/category/sports/sports.html' target='_blank'>运动休闲</a> | <a href='http://www.chinaec.com/category/toiletry/toiletry.html' target='_blank'>");
document.writeln(" 								化妆美容</a> | <a href='http://www.chinaec.com/category/bijou/bijou.html' target='_blank'>珠宝首饰</a> | <a href='http://www.chinaec.com/category/watch/watch.html' target='_blank'>");
document.writeln(" 								钟表眼镜</a> | <a href='http://www.chinaec.com/category/electricAppliances/electricAppliances.html' target='_blank'>");
document.writeln(" 								家用电器</a> | <a href='http://www.chinaec.com/category/jiancai/jiancai.html' target='_blank'>家装家具</a> |");
document.writeln(" 							<a href='http://www.chinaec.com/category/child/child.html' target='_blank'>儿童用品</a> | <a href='http://www.chinaec.com/category/health/health.html' target='_blank'>");
document.writeln(" 								保 健 品</a> | <a href='http://www.chinaec.com/category/adult/adult.html' target='_blank'>成人用品</a> | <a href='http://www.chinaec.com/recommend/flower/flower.html' target='_blank'>");
document.writeln(" 								<font color='#FF0000'>鲜花蛋糕</font></a> | <a href='http://www.9588.com/Default.aspx?CooperateId=113635' target='_blank'><font color='#FF0000'>机票酒店</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='ec_form' name='ec_form' action='/searchEngine/' method='get' class='td'>");
	document.writeln("			<tr>");
	document.writeln("				<td width='100'>");
	document.writeln("				</td>");
	document.writeln("				<td>");
	document.writeln("					<span class='style6'>商品搜索</span>");
	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='0'>所有类别</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='30' 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()
{
	/*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=肇庆>&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("													<span class='style3'>");
	document.writeln(navName);
	document.writeln("													</span>");
	document.writeln("												</td>");
	document.writeln("				      						</tr>");
	document.writeln("				      					</table>");
	document.writeln("				      				</td>");
//频道显示结束
}

function showCityName(strCity)
{
	if(strCity == "")
	{
		strCity = "北京";
	}
	if (strCity == "idcity")
	{
		strCity = "";
	}
//城市首页开始
	document.writeln("				      					<table width='96%'  border='0' cellpadding='0' cellspacing='0'>");
	document.writeln("											<tr>");
	document.writeln("												<td height='10' align='center' valign='middle'><span class='style3'><a href='#'>" + strCity + "首页</a></span></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>");
//城市首页结束
}



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.chinaec.com/recommend/shopping/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.chinaec.com/recommend/shopping/js/a_20051231.js" type="text/javascript"></script><\/script>'+
'<script language="javascript" src="http://www.chinaec.com/recommend/shopping/js/c_20051231.js" type="text/javascript"></script><\/script>'+
'<script language="javascript" src="http://www.chinaec.com/recommend/shopping/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"
);