Load lightbox effects after dom is ready?

Hi,
I have problem with loading lightbox image effects. I want to wait page to be loaded to apply lightbox effects on content images.

My header code looks like this


 <script type="text/javascript" src="/index.php_files/lightbox/js/prototype.js"></script>

	 <script type="text/javascript" src="/index.php_files/lightbox/js/scriptaculous.js?load=effects"></script>

		<script type="text/javascript" src="/index.php_files/lightbox/js/lightbox.js"></script>		

Now I suppose that I need to put this second line of code scriptaculous.js?load=effects in js dom is ready function.
Can anyone share with me syntax of this code ?

reagards

This is not my area, but one option might be to put the scripts at the end of the page, just before the closing html tag. Many of the top javascripters recommend this these days.