Function Button Problem

Could anyone offer a possible answer to my problem and tell me why the following script will not work?

[COLOR=Magenta]chromeless.on(keyPress “<h>”) = function()
{
getURL(“javascript:myChromeless.openChromeless()”);
}[/COLOR]

All I want is the function to activate when the user presses the letter “h” on the keyboard.