Execute code within window.load if content takes longer than 7s to load
<p>As it says in the title I've got a window.load line:</p>

<pre><code>$(window).load(function() { 
   //Some Code
});
</code></pre>

<p>So once everything is loaded I execute <code>//Some Code</code>, however I want to make it so if content is not loaded, lets say within 7 seconds (maybe large image file, or missing file occurs etc..) than execute <code>//Some Code</code> even if content is not fully loaded.
How can I achieve this task?</p>
