Deleting/removing function?
<p>I'm having this little function which sets a div to position:fixed after a link is clicked.</p>

<pre><code>$(window).load(function(){
    $('#linktofreeze').click(function() {
        var ftop = $('#fixedbox').offset().top - $(window).scrollTop();
        var fleft = $('#fixedbox').offset().left;
        $('#fixedbox').css({position: 'fixed', left: fleft + 'px', top: ftop + 'px'});
    });
});
</code></pre>

<p>What I'm trying to achieve now, is to make the whole thing backwards:
When a second link is clicked, the div's position shouldn't be 'fixed' anymore.</p>

<p>What is the best way to do this? Is there a way to delete/remove this function 'onClick' again?</p>

<p>To make it more clear, I uploaded the files on jsFiddle:
<a href="http://jsfiddle.net/hZX5h/72/" rel="nofollow">http://jsfiddle.net/hZX5h/72/</a></p>

<p>Would be great if anyone could help.
Thanks!</p>
