Sådan:
<script type="text/JavaScript" language="JavaScript">
function senddata()
{
var links = new Array();
links[links.length] = "
http://www1.domæne.dk";links[links.length] = "
http://www2.domæne.dk";index = Math.floor(Math.random() * links.length);
url = links[index];
document.login.action = url;
document.login.submit();
}
</script>
<html>
<head>
</head>
<body onload="senddata()">
<form name="login" action="default.asp" style="margin-top:0px; margin-bottom:0px" target="_top" method="post">
<b>Brugernavn</b><br />
<input size="12" type="text" name="loginname" value="test"><br />
<b>Kodeord</b><br />
<input size="12" type="password" name="password" value="test"><br />
<input type="hidden" name="actionType" value="login">
<input TYPE="image" border="0" name="submit" src="button_enter.gif" width="50" height="13" alt="" vspace="6" value="Log på">
</form>
</body>
</html>