Many of the existing javascript snippets you see on the internet to determine whether the DOM is fully loaded do not work properly in Internet Explorer when using SSL.