<html>
<body>

<%
randomize()
r=rnd()
if r>0.5 then
  response.write("<a href='http://www.3wschool.com.cn'>3wschool.com.cn!</a>")
else
  response.write("<a href='http://www.news.cn'>news.cn!</a>")
end if
%>

<p>
本例演示一个链接,每当您加载本页时,就会显示两个链接之一:3wschool.com.cn! 或 news.cn!各占百分之五十的几率。
</p>

</body>
</html>