[jQuery] [SimpleModal] Simplemodal is triggering $(document).ready

[jQuery] [SimpleModal] Simplemodal is triggering $(document).ready


Hi,
I've been using simple modal for quite some time.
Now I have a problem. I have some code with uses $(document).ready and
simplemodal.
The problem is I have 3 $(document).ready calls:
1-when page is loaded
2-when simple modal shows the overlay
3-when simple modal hides the overlay
How can I prevent simple modal from triggering the events?
Regards,
luis