<!--
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] = "intro";
links[1] = "news";
links[2] = "education/index.asp";
links[3] = "product";
links[4] = "project";
links[5] = "technology";
links[6] = "server";
links[7] = "contact";

var name = new Array()
name[0] = "Image5";
name[1] = "Image6";
name[2] = "Image7";
name[3] = "Image8";
name[4] = "Image9";
name[5] = "Image10";
name[6] = "Image11";
name[7] = "Image12";


var pic = new Array()
pic[0] = " images/mune/mune_1.jpg";
pic[1] = " images/mune/mune_2.jpg";
pic[2] = " images/mune/mune_3.jpg";
pic[3] = " images/mune/mune_4.jpg";
pic[4] = " images/mune/mune_5.jpg";
pic[5] = " images/mune/mune_6.jpg";
pic[6] = " images/mune/mune_7.jpg";
pic[7] = " images/mune/mune_8.jpg";


var pic1 = new Array()
pic1[0] = " images/mune/mune_1.jpg";
pic1[1] = " images/mune/mune_2.jpg";
pic1[2] = "images/mune/mune_3.jpg";
pic1[3] = " images/mune/mune_4.jpg";
pic1[4] = " images/mune/mune_5.jpg";
pic1[5] = " images/mune/mune_6.jpg";
pic1[6] = " images/mune/mune_7.jpg";
pic1[7] = " images/mune/mune_8.jpg";


/*----------------------------------------------------------------------------------------------[0]--END*/

     document.write("<table  border='0 ' cellspacing='0' cellpadding='0'>");
     document.write("<tr>") ;
	 document.write("<td><img src='images/mune/lift.jpg' border='0'</td>") ;
	 
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><a id=menu"+[i+1]+" href=\""+links[i]+"\"><img src='"+pic1[i]+"' id=button"+[1+i]+" name=button"+[1+i]+" border='0'></a></td>");
	}
	else{
	document.write("<td><a href=\""+links[i]+"\" id=menu"+[i+1]+" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image2"+[i]+"\',\'\',\'"+pic1[i]+"\',1)\"><img src=\""+pic[i]+"\" name=\"Image2"+[i]+"\"  border=\"0\" id=button"+[1+i]+" name=button"+[1+i]+"></a></td>");
	}
}
document.write("<td></td>") ;
document.write("<td></td>") ;
document.write("<td><img src='images/mune/right.jpg' border='0'></td>") ;
document.write("</tr>");
document.write("</table>");
//-->
