scope of stopEvent
<p>how can i call stopEvent within init?</p>

<pre><code>testObj.prototype =
{
    init: function(wrapper)
    {       
        wrapper.onclick = function(e){
            stopEvent(e);  //getting error stopEvent not defined
        };
    },
    stopEvent: function(e){
        if(e.preventDefault)
            e.preventDefault();
        else
            e.returnValue = false
    }
}
</code></pre>
