Thanks José M. Pérez for such a wonderful explanation. Basically I wanted to reduce the document completion or
window.load time. So I can fire an Ajax or run code after the page is fully loaded.
Your blog was very useful as I got
window.load event free much early as compared to other two techniques. Now I can also work on other page load parameters as suggested by you.
Thanks again for response!! Much appreciated :)