//新版header
var headerHtml = '';
headerHtml += '<div class="container-fulid">'+
				  '<div class="containerCon">'+
				  		'<div class="floatL">'+
								'<div class="headlogo floatL">'+
										'<a href="//www.ekexiu.com/"><h1></h1></a>'+
								'</div>' +
								'<ul class="headnav floatL">'+
										'<li class="navcurrent"><a href="//www.ekexiu.com/">首页</a></li>'+
										'<li><a href="">专家</a></li>'+
										'<li><a href="">资源</a></li>'+
										'<li><a href="">发现</a></li>'+
										'<li><a href="">我的工作台</a></li>'+
								'</ul>' +
							'</div>' +
							'<div class="floatR">'+
								'<div class="headuser headRadius floatR">'+
										'<img src="../../images/default-photo.jpg" width="100%" />'+
								'</div>' +
								'<ul class="headnavbtn floatR">'+
										'<li><div class="navbtn navnews"></div></li>'+
										'<li><div class="navbtn navsearch"></div></li>'+
								'</ul>' +
								
							'</div>' +
					'</div>' +
			'</div>';

//旧版header
var hHtml = '';
hHtml +='<a href="index.html" alt="科袖" class="logo"></a>'+
	'<div class="searchblock" style="display:block;">'+
   '<input type="text" placeholder="搜索专家、研发资源" class="search-txt" id="hsearchContent">'+
		'<div class="search-btn" id="hsearch"><span class="search-icon"></span></div>'+
	'</div>'+
	'<div class="header-right"> '+
				//<!--未登录-->
        '<div class="unlogin">'+
        	'<a class="loginbtn loginlbtn" href="login-invite-code.html">特邀专家登录</a>'+
        	'<a class="loginbtn loginrbtn" href="login.html">登录&nbsp;&nbsp;|</a>'+
        	'<a class="loginbtn loginrbtn" href="register.html">注册</a>'+
        '</div>'+
        //<!--已登录-->
        '<div class="onlogin">'+
        	'<a class="myWorkspace" href="workspaces.html">我的工作台</a>'+
	        '<div class="head-portrait headRadius">'+
	        	'<img class="portrait-p" />'+
	            '<div class="personal-infor">'+
	                '<div class="triangleB"></div>'+
	                '<div class="personal-box bgRadius">'+
	                    '<a href="information.html"><span class="icon icon2"></span>修改资料</a>'+
	                    '<a href="account-set.html"><span class="icon icon3"></span>账户设置</a>'+
	                    '<a href="#" onClick="exit()"><span class="icon icon4"></span>退出登录</a>'+
	                '</div>'+
	                
	            '</div>'+
	        '</div>'+
        '</div>'+
	'</div>';


document.write(hHtml);

/*新版header*/
//header{background: #373d41;color:#888;font-size:16px;line-height:32px;height:60px;}
//header .containerCon{background: #373d41;}
//header .headlogo h1 {width: 64px;height: 32px;margin:14px 14px 14px 0;padding: 0;background-image: url(../images/home_icon_logo2.png);background-size:contain;overflow: hidden;}
//header .headnav{margin:0 14px;}
//header .headnav li{float:left;margin:0 4px; padding:12px 0;}
//header .headnav li a{ color:#FFFFFF; padding:14px 18px;}
//header .headuser{overflow: hidden; width: 38px;height: 38px;margin:10px 0 12px 20px;cursor: pointer;}
//header .headnavbtn{margin:20px 6px;}
//header .headnavbtn li{float:right;margin:0 6px;}
//header .navbtn{width: 18px;height:20px;cursor: pointer; padding:10px 18px;background-position:center;background-repeat:no-repeat;}
//header .navnews{background-image: url(../images/nav_button_news_nor.png);background-size:contain;}
//header .navsearch{background-image: url(../images/nav_button_search_nor_2.png);background-size:contain;}
//header .headnav li.navcurrent{border-bottom:4px solid #28b8fa;}


