<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
var a = 0;
function fun1() {
if (a == 0) {
var h1 = window.document.getElementById("h1");
h1.href = "#";
window.open(h1.href);
a++;
} else if (a == 1) {
var h1 = window.document.getElementById("h1");
h1.href = "##";
window.open(h1.href);
a++;
} else if (a == 2) {
var h1 = window.document.getElementById("h1");
h1.href = "###";
window.open(h1.href);
a++;
a = 0;
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<a href="http://www.baidu.com" onclick="fun1()" id="h1">点击这里</a>
</div>
</form>
</body>
</html>