a good sample for explaining the differences. http://ie.microsoft.com/testdrive/HTML5/DOMContentLoaded/Default.html