<!--
/*第一种形式 更换显示样式*/
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}
//-->
document.writeln("<SCRIPT language=javascript>");
document.writeln("		<!--");
document.writeln("		function vtab(m,n,s) {");
document.writeln("			s = s + 1;");
document.writeln("			for(var i=1;i<s;i++) {");
document.writeln("				document.getElementById(\"c_\"+m+\"_\"+i).style.display=\"none\";");
document.writeln("				document.getElementById(\"l_\"+m+\"_\"+i).style.backgroundColor=\"#FEF7E7\";");
document.writeln("			}");
document.writeln("			document.getElementById(\"c_\"+m+\"_\"+n).style.display=\"block\";");
document.writeln("			document.getElementById(\"l_\"+m+\"_\"+n).style.backgroundColor=\"#FBDEA2\";");
document.writeln("		}");
document.writeln("		\/\/-->");
document.writeln("    <\/SCRIPT>");
document.writeln("	<script type=\"text\/javascript\">");
document.writeln("function tabit(btn){");
document.writeln("   var idname = new String(btn.id);");
document.writeln("   var s = idname.indexOf(\"_\");");
document.writeln("   var e = idname.lastIndexOf(\"_\")+1;");
document.writeln("   var tabName = idname.substr(0, s);");
document.writeln("   var id = parseInt(idname.substr(e, 1));");
document.writeln("   var tabNumber = btn.parentNode.childNodes.length;");
document.writeln("   for(i=0;i<tabNumber;i++){");
document.writeln("     document.getElementById(tabName+\"_div_\"+i).style.display = \"none\";");
document.writeln("     document.getElementById(tabName+\"_btn_\"+i).style.backgroundColor = \"#EBF3FB\";");
document.writeln("     document.getElementById(tabName+\"_btn_\"+i).style.borderBottomColor = \"#aaccee\";");
document.writeln("     document.getElementById(tabName+\"_btn_\"+i).style.cursor = \"pointer\";");
document.writeln("    };");
document.writeln("   document.getElementById(tabName+\"_div_\"+id).style.display = \"block\";");
document.writeln("   btn.style.backgroundColor = \"#fff\";");
document.writeln("   btn.style.borderBottomColor = \"#fff\";");
document.writeln("   btn.style.cursor = \"default\";");
document.writeln("}");
document.writeln("<\/script>")