lol - you way would work but you would still have to do one of the 2 ways I posted, and the function would have to be declared in the header, otherwise <body onint="int()"> won't know what function int() is ie:
Code:
<html>
<head>
<script script type="text/javascript">
function annoy()
{
alert.show("Blah");
}
</script>
</head>
<body onint="annoy()">
</body>
And in correction to my first reply - the correct script mark up is
<script type="text/javascript">
</script>