Automatically calling a JavaScript function

This page basically contains this code:
<script>
function MyAddress(IP) { alert("Your local IP is " + IP) } 
</script>

<APPLET CODE="MyAddress.class" MAYSCRIPT WIDTH=2 HEIGHT=2></APPLET>

Return to the main page.