add function to a custom plugin
<p>i've this (simple) plugin:</p>

<pre><code>(function($){
    $.fn.extend({
    rtext: function(options){
        var defaults = {
            dId : '#div'
        };
        var options = $.extend(defaults, options);
        return this.each(function(){
            var o = options;
            var obj = $(this);

            $(o.dId).text( obj.text );
            $(o.dId).show();
        });
    }
    });
})(jQuery);
</code></pre>

<p>it places an element <code>text</code> in another element (<code>dId</code>: element id) and shows the second element.</p>

<p>i want to add a method (or function) to that plugin (or an external function) to hide the <code>dId</code> (the second element).</p>

<p>for example:</p>

<pre><code>$('#mytext').rtext({dId: '#mydiv'}); // put #mytext text to dId (#mydiv) and show dId

hideRtext(); // hide the dId, was set in first line
</code></pre>

<p>can you help me?</p>

<p>thanks (sorry for bad english)</p>
