<html> <head> <script> function function1() { document.all.myBody.bgProperties = "fixed"; } </script> </head> <body background="http://www.java2java.com/style/logo.png" onclick="function1();" id="myBody"> </body> </html>