Is it possible to check if my document (window) is ready with loading all it's code/data?
Yes. Use "postlayout" event (that means, window will be rendered on the screen).
P.S. Be careful, for some elements "postlayout" is fired multiple times.
Think you can help? Login to answer this question!