var loc=stringA=location.href.toLowerCase()
var strhref=""
//var strlocation="zhaoji/"
var strlocation=window.location.host
var pos=stringA.indexOf(strlocation)
var len=strlocation.length
if (pos>=0){
	stringA=stringA.substring(pos+len,stringA.length);
	while (stringA.indexOf("/")>=0){
		pos=stringA.indexOf("/")
		strhref=strhref+"../"
		stringA=stringA.substring(pos+1,stringA.length);
	}
}

links = new Array();
links[0] = "index.htm";
links[1] = "gsjs.htm";
links[2] = "cpxl/fqkz/";
links[3] = "zzzm/";
links[4] = "lxwm.htm";

text = new Array();
text[0] = "首　页";
text[1] = "公司简介";
text[2] = "产品系列";
text[3] = "资质证明";
text[4] = "联系我们";

document.writeln('<table width="399" border="1" cellspacing="0" cellpadding="0" bgcolor="#3785C4" bordercolor="#3785C4" bordercolordark="#3785C4" bordercolorlight="#ffffff" height="21">');
document.writeln('<tr align="center">');
for (x=0; x<links.length; x++) 
  {
  if (loc.indexOf(links[x]) > -1) 
  {
  document.writeln('<td class="dh" bgcolor="#2E70A5"><img src="'+ strhref + 'images/pass.gif" width="1" height="12">' + text[x] + '</td>');
  } 
  else 
  {
  document.writeln('<td class="dh" onmouseover=this.bgColor="#2E70A5" onmouseout=this.bgColor="#3785C4"><img src="'+ strhref + 'images/pass.gif" width="1" height="12"><a href="'+ strhref + links[x] + '" class="dh">' + text[x] + '</a></td>');
  }
  }
document.writeln('</tr>');
document.writeln('</table>');