var url = window.location.href;
var b = false;
var index_css = '';
var home_css = '';
var sub_css = '';
var club_css = '';
b_club = url.indexOf('nippon_club')>0
if(url.indexOf('nippon_club')>0){
	club_css = 'class=\"sel-now\"';
}else if(url.indexOf('hdc')>0||url.indexOf('marine')>0
		||url.indexOf('project')>0||url.indexOf('auto')>0
		||url.indexOf('auto_refinish')>0||url.indexOf('plastic')>0
		||url.indexOf('ccl')>0||url.indexOf('giu')>0
		||url.indexOf('powder')>0||url.indexOf('companies')>0||url.indexOf('b_index')>0){
	sub_css = 'class=\"sel-now\"';
}else if(url.indexOf('www.hx19.com.cn')>0&&url.indexOf('home')<0){
	index_css = 'class=\"sel-now\"';
}else if(url.indexOf('www.hx19.com.cn')>0&&url.indexOf('home')>0){
	home_css = 'class=\"sel-now\"';
}

var top1="";
 top1+="<div id=\"header-zone\">";
 top1+="<div id=\"header-padding\">";
 top1+="<div id=\"logo\">";
 top1+="<map name=\"FPLogo\" id=\"FPLogo\">";
 top1+="<area shape=\"rect\" href=\"#\" coords=\"0, 1, 45, 60\">";
 top1+="<area shape=\"rect\" href=\"#\" target=\"_blank\" coords=\"57, 1, 185, 60\">";
 top1+="</map>";
 top1+="<img usemap=\"#FPLogo\" src=\"web/img/common/logo.jpg\" border=\"0\">";
 top1+="</div>";	
 top1+="<p class=\"header-language\"><a href=\"http://mail.nationstar.com\">进入邮箱</a>　　<a href=\"/\" style=\"color:#ff0000\">中文</a> / <a href=\"/eng/\" style=\"color:#ff0000\">English</a>";
 top1+="</p>";
 top1+="<div style=\"display: none;\" id=\"category_top\">";
 top1+="<p onclick=\"searchButtonTop('none', 'product', this);\">";
 top1+="<a href=\"javascript:void(0)\">产品查询</a>";
 top1+="</p>";/*
 top1+="<p onclick=\"searchButtonTop('none', 'other', this);\">";
 top1+="<a href=\"javascript:void(0)\">文章查询</a>";
 top1+="</p>";*/
 top1+="</div>";
 /*搜索需要按不同网站区分*/
 top1+="<form target=\"_blank\" action=\"#\" onsubmit=\"return scheckTop();\" method=\"post\" name=\"search_top\">";
 /*搜索需要按不同网站区分*/
 top1+="<p class=\"header-search\">";
 top1+="<input id=\"keyword_top\" name=\"keyword\" class=\"keyword_top\" type=\"text\" onblur=\"if (this.value =='') this.value='关键词搜索'\" onclick=\"if(this.value=='关键词搜索')this.value=''\" onfocus=\"this.select()\" onmouseover=\"this.focus()\" value=\"关键词搜索\"/>";
 top1+="<input id=\"kw_select_top\" name=\"kw_select_top\" class=\"kw_select_top\" readonly=\"true\" value=\"产品查询\"/>";
 top1+="<a id=\"search-type-top\" href=\"javascript:searchButtonTop('', '')\">";
 top1+="</a>";
 top1+="<input type=\"button\" onclick=\"if(scheckTop()){this.form.submit();}\" id=\"search-btn-top\"/>";
 top1+="<input type=\"hidden\" value=\"\" id=\"type_top\" name=\"type\"/>";
 top1+="</p>";
 top1+="</form>";

 top1+="</div>";
 top1+="</div>";
document.write(top1);
