Accessing Accordion from within an iframe

Accessing Accordion from within an iframe

Hi,
I use an accordion as a menu that loads the content of an iframe. I need to use the .accordion('activate',index) funtion from within the iframe. How can I do this?

Regards,
Roar Bjørndal-Rasmussen