<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<div>
<div>
<a onclick="change(0)" href="#">测试1</a>
<a onclick="change(1)" href="#">测试2</a>
<a onclick="change(2)" href="#">测试3</a>
</div>
<div>
<div id="WT_NOR_Testa" style="Display:none;">a</div>
<div id="WT_NOR_Testb" style="Display:none;">b</div>
<div id="WT_NOR_Testc" style="Display:none;">c</div>
</div>
</div>
<script>
function change(index){
var arr=[document.getElementById("WT_NOR_Testa"),document.getElementById("WT_NOR_Testb"),document.getElementById("WT_NOR_Testc")];
for(var i=0;i<arr.length;i++){
if(index==i){
arr[i].style.display="";
}else{
arr[i].style.display="none";
}
}
}
</script>
</BODY>
</HTML>