var loc=stringA=location.href.toLowerCase()
var strhref=""
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] = "http://culture.qianlong.com/index.htm";
links[1] = "http://culture.qianlong.com/news.htm";
links[2] = "http://culture.qianlong.com/fxls.htm";
links[3] = "http://culture.qianlong.com/gdjf.htm";
links[4] = "http://culture.qianlong.com/ydkj.htm";
links[5] = "http://culture.qianlong.com/yqjh.htm";
links[6] = "http://culture.qianlong.com/art.htm";
links[7] = "http://culture.qianlong.com/bfyw.htm";
links[8] = "http://culture.qianlong.com/jclx.htm";
links[9] = "http://culture.qianlong.com/xqtd.htm";
links[10] = "http://culture.qianlong.com/zy.htm";
links[11] = "http://culture.qianlong.com/ztjc.htm";

text = new Array();
text[0] = "首页";
text[1] = "新闻中心";
text[2] = "发现历史";
text[3] = "观点交锋";
text[4] = "阅读空间";
text[5] = "眼球聚会";
text[6] = "美术时空";
text[7] = "缤纷乐舞";
text[8] = "剧场连线";
text[9] = "戏曲天地";
text[10] = "展演资讯";
text[11] = "专题集粹";

document.writeln('<table cellspacing=0 cellpadding=1 width=760 border=0 height="24" background="images/20040401_daohangbg.gif">');
document.writeln('<tr>');
document.writeln('<td width=30 >&nbsp;</td>');
for (x=0; x<links.length; x++) 
  {
  if (loc.indexOf(links[x]) > -1) 
  {
    document.writeln('<td valign="middle"  align=center ><font color="#ffff00">' + text[x] + '</font> </td>');
  } 
else 
  {
  document.writeln('<td valign="middle" align=center  class="daohang"><a href="' + links[x] + '" >' + text[x] + '</a> </td>');
  }
  }
document.writeln('<td >&nbsp;</td>');
document.writeln('</tr>');
document.writeln('</table>');