Questo script mi da un errore
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>per aprire un link casuale</title>
<!--
<script language="JavaScript" type="text/javascript">
function go_to(url)
{
location.href=(url);
// window.open(url);
}
function rand_link()
{
var a;
a=1+Math.round(Math.random()*3);
if(a==1)go_to("http://www.tin.it");
if(a==2)go_to("http://www.google.it");
if(a==3)go_to("http://www.yahoo.it");
}
// End -->
</script>
</head>
<body onload=\"rand_link()">
</body>
</html>