Hi I'm a little new to JavaScripting and need some guidance. I wan't to be able to click on an image and have it execute a key-shortcut command. For example: If there's an image called "close.jpg" and you click on it, I want it to execute "Ctrl+W" to close tab. Can anyone provide an example code so that I may look over it?

Thanks in advance.

Best regards,
David