How to call iframe parent function using jquery?

How to call iframe parent function using jquery?

Hi, I'm after something like this - only working :)

jQuery('#ilightbox').top.myfunction();

Can Somebody help me pleaes?