87,996
社区成员




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>啊啊
<a onclick="a();" id="ly"><span id="NameError"></span></a>
<!--简体版或繁体版-->
</body>
<script language="JavaScript" type="text/javascript">
if(this.location.pathname.match(/(?!.*[\/\\]).htm/)==".htm")
{
document.getElementById("ly").innerHTML="简体版1";
document.getElementById("ly").href=this.location.pathname.match(/(?!.*[\/\\])[^\.\?]*/)+".html";
}else
{
document.getElementById("ly").innerHTML="繁体版"
document.getElementById("ly").href=this.location.pathname.match(/(?!.*[\/\\])[^\.\?]*/)+".htm";
}
function a(){
if(this.location.pathname.match(/(?!.*[\/\\]).htm/)==".htm")
{
document.getElementById("ly").innerHTML="简体版";
document.getElementById("ly").href=this.location.pathname.match(/(?!.*[\/\\])[^\.\?]*/)+".html";
}
else
{
document.getElementById("ly").innerHTML="繁体版"
document.getElementById("ly").href=this.location.pathname.match(/(?!.*[\/\\])[^\.\?]*/)+".htm";
}
}
</script>
</html>