<!--
var loc=stringA=location.href.toLowerCase()
var strhref=""
var strlocation="/";
var len=strlocation.length;
var pos=stringA.indexOf(strlocation)

function lastfilename(stringA){

if (pos>=0){
	stringA=stringA.substring(pos+len,stringA.length);
	while (stringA.indexOf("/")>=0){
		pos=stringA.indexOf("/")
		stringA=stringA.substring(pos+1,stringA.length);
	}
}
return stringA
}	


function lastfoldername(stringA){
if (pos>=0){
	var pos1,pos2
	pos1 = stringA.lastIndexOf("/")//得到所在目录位置end
	stringA=stringA.substring(pos+len,pos1);
	pos2 = stringA.lastIndexOf("/")//得到所在目录位置start
	stringA=stringA.substring(pos2+1,pos1)
	}
return stringA
}




/*------------------------------------------------------------------------------------------[0]--END*/




/*START--[0]-------------------------------------------------------------------------定义判断类型*/

var lastfoldername=lastfoldername(stringA)



/*------------------------------------------------------------------------------------------[0]--END*/



/*START--[0]------------------------------------------------------links[x] = 这儿输入连接页面--*/



//可添加更多数组

var links = new Array();
links[0] = "../../";
links[1] = "../index";
links[2] = "../product";
links[3] = "../production";
links[4] = "../qc";
links[5] = "../contact";
links[6] = "../info";

var name = new Array()
name[0] = " ../../images/en/bottom/1.gif";
name[1] = " ../../images/en/bottom/2.gif";
name[2] = " ../../images/en/bottom/3.gif";
name[3] = " ../../images/en/bottom/4.gif";
name[4] = " ../../images/en/bottom/5.gif";
name[5] = " ../../images/en/bottom/6.gif";
name[6] = " ../../images/en/bottom/7.gif";


var pic1 = new Array()
pic1[0] = " ../../images/en/bottom/1_1.gif";
pic1[1] = " ../../images/en/bottom/2_1.gif";
pic1[2] = " ../../images/en/bottom/3_1.gif";
pic1[3] = " ../../images/en/bottom/4_1.gif";
pic1[4] = " ../../images/en/bottom/5_1.gif";
pic1[5] = " ../../images/en/bottom/6_1.gif";
pic1[6] = " ../../images/en/bottom/7_1.gif";


var pic = new Array()
pic[0] = " ../../images/en/bottom/1.gif";
pic[1] = " ../../images/en/bottom/2.gif";
pic[2] = " ../../images/en/bottom/3.gif";
pic[3] = " ../../images/en/bottom/4.gif";
pic[4] = " ../../images/en/bottom/5.gif";
pic[5] = " ../../images/en/bottom/6.gif";
pic[6] = " ../../images/en/bottom/7.gif";
/*----------------------------------------------------------------------------------------------[0]--END*/

     document.write("<table width='372' height='10' border='0'cellspacing='0' cellpadding='0'>")
     document.write("<tr>") 
for (var i=0; i<links.length; i++) {

// 判断验证
	temp = links[i].replace(/(.+\/)/,"")
//	document.write(temp) 
//	document.write(anyfoldername) 
//	document.write(lastfilename)
	if (temp == lastfoldername){
	
// 判断后内容
	document.write("<td><img src='"+pic1[i]+"'></td>");
	}
	else{
	document.write("<td><a href=\""+links[i]+"\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image2"+[i]+"\',\'\',\'"+pic1[i]+"\',1)\"><img src=\""+pic[i]+"\" name=\"Image2"+[i]+"\"  border=\"0\"></a></td>");
	}
}
document.write("<td width='87'>&nbsp;</td>");
document.write("</tr>");
document.write("</table>");
	//-->