Let $(window).blur and $('#id').click perform same function
<p>I've got 2 different events that I want to have the same functions performed on. How do I 'merge' them?</p>

<pre><code>$(window).blur(function(e) {
    e.preventDefault();
    togglebackground();
});

$("#show-wall-link, #maximage, iframe").click(function (e) {
    e.preventDefault();
    togglebackground();
});
</code></pre>
