<html>
<head>
<title>Random</title>
<script>
function random(){
var ran = parseInt((Math.random())*10);
if (isNaN(ran)) ran = 10;
if (ran==1)page="pagina1.html";
if (ran==2)page="pagina2.html";
if (ran==3)page="pagina3.html";
if (ran==4)page="pagina4.html";
if (ran==5)page="pagina5.html";
if (ran==6)page="pagina6.html";
if (ran==7)page="pagina7.html";
if (ran==8)page="pagina8.html";
if (ran==9)page="pagina9.html";
if (ran==10)page="pagina10.html";
document.location.href=page
}
</script>
<body onload="random();">
</body>
</html>