1st, the script calls for an argument to be passed in, it appears to be the Event object, yet your call doesn't pass anything in.
Also, the script definition should properly be inside the head section. Lastly, it's a bad idea, in my opinion, to attempt to alter or change the user model.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
Disabling right click is done using a single statement.
This works for both the mouse and the keyboard in all modern browsers except Opera (which doesn't allow you to block right click).
felgall
Junior Poster in Training
50 posts since Aug 2004
Reputation Points: 13
Solved Threads: 1