






document.writeln("<link href=\"http://sso.hc360.com/style/include/include.css\" rel=\"stylesheet\" type=\"text/css\">");
document.writeln("<style type='text/css'>");
document.writeln("#newindexlayout{width:100%;text-align:center;}");
document.writeln("#newindexlayout *{margin:0;padding:0;}");
document.writeln("#newindexlayout ul,#newindexlayout li{list-style:none;}");
document.writeln("#newindexlayout div,#newindexlayout ul,#newindexlayout li{font:12px/20px '宋体';color:#333;}");
document.writeln("#newindexlayout a{color:#333;text-decoration:none;}");
document.writeln("#newindexlayout a:hover{color:#C00;}");

document.writeln("#newindexlayout #tools{width:100%;height:25px;border-bottom:1px solid #CCC;background:url(http://www.hc360.com/images/200710/bg_tools.gif);text-align:center;overflow:hidden;}");
document.writeln("#newindexlayout #tools #wordbtn{position:relative;margin:0 auto;}");
document.writeln("#newindexlayout #tools #left{float:left;line-height:26px;width:160px;border:0;}");
document.writeln("#newindexlayout #tools #right{position:absolute;line-height:25px;width:435px;background:url(http://www.hc360.com/images/200710/bg_tools.gif);border-bottom:1px solid #CCC;}");
document.writeln("#newindexlayout #tools #left span{cursor:pointer;}");
document.writeln("#newindexlayout #tools a{color:#000;}");
document.writeln("#newindexlayout #tools a:hover{color:#C00;}");

document.writeln("#newindexlayout #top{position:relative;margin-bottom:1px;text-align:left;clear:both;margin:0 auto;}");
document.writeln("#newindexlayout h1{float:left;width:276px;height:65px;}");
document.writeln("#newindexlayout h1 span{margin-left:-9999px;}");
document.writeln("#newindexlayout #mainnav{position:absolute;width:480px;}");

document.writeln("#newindexlayout #mainnav li{float:right;height:19px;margin:8px 0 6px 6px;background:url(http://www.hc360.com/images/200710/bg_tools_tagright.gif) no-repeat right top;}");
document.writeln("#newindexlayout #mainnav li.w47{width:47px;}");
document.writeln("#newindexlayout #mainnav li.w72{width:72px;}");
document.writeln("#newindexlayout #mainnav li.w84{width:84px;}");
document.writeln("#newindexlayout #mainnav ul{margin-right:25px;}");
document.writeln("#newindexlayout #mainnav #pubinfo{position:relative;width:79px;background:url(http://image.hc360.com/hc360/200710/pubinfo.gif) no-repeat;}");
document.writeln("#newindexlayout #mainnav #pubinfo a{background:url();display:block;width:79px;height:18px;}");
document.writeln("#newindexlayout #mainnav #pubinfo a h3{display:none;}");
document.writeln("#newindexlayout #mainnav #pubinfo span{position:absolute;left:82px;top:3px;}");
document.writeln("#newindexlayout #mainnav li.login{width:270px;background:none;text-align:right;}");
document.writeln("#newindexlayout #mainnav li.login span{color:#C53333;font:bold 12px '宋体';}");
document.writeln("#newindexlayout #mainnav li.login a{display:inline;padding:0;background:none;}");
document.writeln("#newindexlayout #mainnav li a{display:block;padding-left:16px;;background:url(http://www.hc360.com/images/200710/bg_tools_tagleft.gif) no-repeat left top;}");

document.writeln("#newindexlayout #prompt{text-align:right;}");
document.writeln("#newindexlayout #prompt a{color:#5F1717}");
document.writeln("#newindexlayout #prompt a:hover{text-decoration:underline;}");
document.writeln("</style>");

document.writeln("<div id='newindexlayout'>");

	//未登录

	document.writeln("<div id='tools'>");
	document.writeln("<div id='wordbtn'>");
	document.writeln("<div id='left'><a href='http://www.hc360.com' target='_top'>慧聪网首页</a> | <span onclick=\"window.external.addFavorite('http://www.hc360.com','慧聪网 赢造企业网上贸易，中国领先的b2b电子商务网站')\" title='添加到收藏夹'>添加到收藏夹</span></div>");
	document.writeln("<div id='right'><a href='http://www.madeinchina.com/static/prototype/transfer-pages/index.shtml' target='_top'>出口服务</a> | <a href='http://b2b.hc360.com/intro/index.htm' target='_top'>买卖通</a> | <a href='http://b2b.hc360.com/rank/jbtm.html' target='_top'>金榜题名</a> | <a href='http://www.im.hc360.com' target='_top'>慧聪发发</a> | <a href='http://my.b2b.hc360.com/' target='_top'>我的商务中心</a> | <a href='http://mail.hc360.com.cn/' target='_top'>邮箱</a> | <a href='http://help.hc360.com/' target='_top'>帮助中心</a></div>");
	document.writeln("</div>");
    document.writeln("</div>");
	
	//logo部分开始
	document.writeln("<div id='top'>")
	document.writeln("<h1><a href='http://www.hc360.com' target='_top'><img src='http://www.hc360.com/images/200710/logo.gif' alt='慧聪网logo' width='276' height='56'  border='0'/></a><span>慧聪网</span></h1>")
	
	document.writeln("<div id='mainnav'>")
	document.writeln("<ul>")	
	document.writeln("<li id='pubinfo'><a id='pubinfolink' href='http://my.b2b.hc360.com/my/turbine/template/corcenter%2Cbusiness%2Cbusindetailedit.html' title='发布信息' target='_top'><h3>发布信息</h3></a><span><img src='http://image.hc360.com/hc360/200710/free.gif' width='23' height='12'/></span></li>");
	document.writeln("<li class='w72'><a href='http://b2b.hc360.com/intro/index.htm' title='商铺直达' target='_top'>商铺直达</a></li>");
	
	document.writeln("<li class='w72' id='reg'><a style='background:url(http://sso.hc360.com/images/include/but_02.gif) no-repeat;' href='http://b2b.hc360.com/member/reg_28.html' title='免费注册' target='_top'>免费注册</a></li>");	
	document.writeln("<li class='w47'><a href='http://sso.hc360.com/ssologin?ReturnURL=",escape(top.location.href),"' title='登录' target='_top'>登录</a></li>");
	
            	
			document.writeln("</ul>");
			document.writeln("<p id='prompt'><iframe src='http://info.b2b.hc360.com/list/hc360_textad.shtml' frameborder='0' scrolling='no' width='290' height='25'></iframe></p>");
		document.writeln("</div>");
	document.writeln("</div>");
document.writeln("</div>");


var anchor='fire-970';
var pubinfolink=document.getElementById('pubinfolink');

//alert(anchor);
//alert(top.location.href);
var curwid;
var scrwid1 = parseInt(screen.availWidth)-20;
  try{
     if(pubinfolink!=null){
        pubinfolink.href='http://my.b2b.hc360.com/my/turbine/template/pubinfo,infopub,businpub.html?pubinfo='+anchor;
     }
     
	 //alert(j[6].style.marginRight);
	 	if(anchor.indexOf("-")!=-1){
			curwid = anchor.split("-")[1];
			anchor = anchor.split("-")[0];
		}
		
	 if(anchor=="chat"){
        document.getElementById("reg").innerHTML="<a style='background:url(http://sso.hc360.com/images/include/but_02.gif) no-repeat;' href='http://b2b.hc360.com/member/reg_1036.html?skey="+anchor+ "' target='_top'>免费注册</a>";
	  }
	  else
	  if (anchor=="sellermeet"){ 
	     document.getElementById("reg").innerHTML="<a style='background:url(http://sso.hc360.com/images/include/but_02.gif) no-repeat;' href='http://b2b.hc360.com/member/reg_1183.html?skey="+anchor+ "' target='_top'>免费注册</a>";
	  }
	  else{
	     document.getElementById("reg").innerHTML="<a style='background:url(http://sso.hc360.com/images/include/but_02.gif) no-repeat;' href='http://b2b.hc360.com/member/reg_28.html?skey="+anchor+ "' target='_top'>免费注册</a>";
     }
     
    
 }
 catch(e){};
 
if(curwid==null || curwid == undefined || curwid == "") curwid = scrwid1 - 30;
	//alert(curwid);
	document.getElementById("newindexlayout").style.width = scrwid1 + "px";
	document.getElementById("wordbtn").style.width = curwid + "px";
	document.getElementById("top").style.width = curwid + "px";
	document.getElementById("right").style.right = "5px";
	document.getElementById("mainnav").style.right = "5px";

