If you want to be 100% sure that it's when the page ACTUALLY loads, use:
$(window).load(function(){
//After EVERYTHING loads, including images.
})
The other's solution, onload
works, but it loads once the DOM is ready, but not when the window is actually finished loading.