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://house.qianlong.com/fdcq.htm";
links[1] = "http://house.qianlong.com/jydq.htm";
links[2] = "http://house.qianlong.com/jjsp.htm";
links[3] = "http://house.qianlong.com/jzjc.htm";
links[4] = "http://house.qianlong.com/law.htm";
links[5] = "http://house.qianlong.com/photo.htm";

text = new Array();
text[0] = "房地产圈";
text[1] = "家用电器";
text[2] = "家具饰品";
text[3] = "家装建材";
text[4] = "政策法规";
text[5] = "精美图库";

document.writeln('<table width="490" height="20" border="0" cellpadding="0" cellspacing="0" class="daohang12">');
document.writeln('<tr>');
document.writeln('<td width="10"><img src="/images/shim.gif" width="20" height="1"></td>');
for (x=0; x<links.length; x++) {
	if (loc.indexOf(links[x]) > -1) {
		document.writeln('<td width="80">' + text[x] + ' </td>');
	} 
	else {
		document.writeln('<td width="80"><a href="' + links[x] + '" >' + text[x] + '</a> </td>');
	}
}
document.writeln('</tr>');
document.writeln('</table>');