Uncaught TypeError: Object [object Object] has no method 'overlay'
<p>Why do I get this error from my overlay jquery code?</p>

<p>This is the code:</p>

<pre><code>jQuery(document).ready(function($) {

    // if the function argument is given to overlay,
    // it is assumed to be the onBeforeLoad event listener
    $("a[rel]").overlay({

        mask: 'darkred',
        effect: 'apple',

        onBeforeLoad: function() {

            // grab wrapper element inside content
            var wrap = this.getOverlay().find(".contentWrap");

            // load the page specified in the trigger
            wrap.load(this.getTrigger().attr("href"));
        }

    });
});
</code></pre>

<p>This code is the overlay like this: <a href="http://flowplayer.org/tools/demos/overlay/external.html" rel="nofollow">http://flowplayer.org/tools/demos/overlay/external.html</a></p>

<p>Halp?</p>

<p>ps. Sorry for my bad english.</p>
