Try using this with the attached gani. If you don't want to use the idea image just replace the 'emoticon_idea.png' with the image you want to use.
PHP Code:
//#CLIENTSIDE
function onKeyPressed()
{
if (keydown2(keycode(z), true))
{
setani("emoticon2","emoticon_idea.png");
}
}