//Content:SunfireINFO top.js ALing 20111031
var sp=window.location.pathname.split("/");
al=sp[sp.length-1];
document.write('<div id="header">');
//screen b
if (window.screen.width<=1024)
{
document.write('<div class="header_en2"><div class="fr english_font english_alink"><a href="/en" target="_self">ENGLISH</a></div></div>');
}
else if (window.screen.width<1680)
{
document.write('<div class="header_en"><div class="fr english_font english_alink"><a href="/en" target="_self">ENGLISH</a></div></div>');
}
else if (window.screen.width<=1920)
{
document.write('<div class="header_en3"><div class="fr english_font english_alink"><a href="/en" target="_self">ENGLISH</a></div></div>');
}
//screen e
document.write('<div id="header_t">');
document.write('<img class="logo_margin fl" src="images/index_05.jpg" />');
document.write('<ul class="fr">');
if (al=="index.html" || al==""){
document.write('<li class="nav_1"><a href="index.html" target="_self" class="current" onFocus="this.blur();">首页</a></li>');
}
else{
document.write('<li class="nav_1"><a href="index.html" target="_self" onFocus="this.blur();">首页</a></li>');
}
if (al=="about.html"){
document.write('<li class="nav_2"><a href="about.html" target="_self" class="current" onFocus="this.blur();">关于我们</a></li>');
}
else{
document.write('<li class="nav_2"><a href="about.html" target="_self" onFocus="this.blur();">关于我们</a></li>');	
}
if (al=="app_list.html" || al=="app_show_1.html" || al=="app_show_2.html" || al=="app_show_3.html" || al=="app_show_4.html" || al=="app_show_5.html" || al=="app_show_6.html" || al=="app_show_7.html"){
document.write('<li class="nav_3"><a href="app_list.html" target="_self" class="current" onFocus="this.blur();">苹果产品</a></li>');
}
else{
document.write('<li class="nav_3"><a href="app_list.html" target="_self" onFocus="this.blur();">苹果产品</a></li>');	
}
if (al=="brand_list.html"){
document.write('<li class="nav_4"><a href="brand_list.html" target="_self" class="current" onFocus="this.blur();">品牌服务</a></li>');
}
else{
document.write('<li class="nav_4"><a href="brand_list.html" target="_self" onFocus="this.blur();">品牌服务</a></li>');	
}
if (al=="case_list.html"){
document.write('<li class="nav_5"><a href="case_list.html" target="_self" class="current" onFocus="this.blur();">品牌案例</a></li>');
}
else{
document.write('<li class="nav_5"><a href="case_list.html" target="_self" onFocus="this.blur();">品牌案例</a></li>');	
}
if (al=="contact.html"){
document.write('<li class="nav_6"><a href="contact.html" target="_self" class="current" onFocus="this.blur();">联系我们</a></li>');
}
else{
document.write('<li class="nav_6"><a href="contact.html" target="_self" onFocus="this.blur();">联系我们</a></li>');
}	
document.write('</ul> ');
document.write('</div>');
document.write('<div class="clear"></div>');
//document.write('<div class="fr english_font english_alink"><a href="/en" target="_self" onFocus="this.blur();">ENGLISH</a></div>');
document.write('</div>');
