Is there a way to somehow access YUI onload functionality?

I'm using embed.ly to auto-embed various media types on the forums, and for it to work I need to include embed.ly code in the...