Javascript error, not recognizing function... why?
<p>This is my code (in a firefox addon)  </p>

<pre><code>this.something_something = function (the_actual_url) {
    this.this_version = null;
    try {
        // Firefox 4 and later; Mozilla 2 and later
        Components.utils.import("resource://gre/modules/AddonManager.jsm");
        AddonManager.getAddonByID("parasites@maafire.com", function (addon) {
            this_version = addon.version;
        });
    }
    catch (ex) {
        // Firefox 3.6 and before; Mozilla 1.9.2 and before
        var em = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager);
        var addon = em.getItemForID("parasites@maafire.com");
        this_version = addon.version;
    }


    this.timervar = setTimeout(function () {
        this.get_plugin_version(this.this_version);
    }, 2000);
}

this.get_plugin_version = function (blah) {
    alert("aa:" + blah);
}
</code></pre>

<p>I get the error: </p>

<blockquote>
  <p>Error: this.get_plugin_version is not a function
  Source File: chrome://mf_monkey_project/content/overlay.js Line: 476</p>
</blockquote>

<p>What am I doing wrong?</p>

<p>Sorry about the screwed up formatting, but i deleted the bulk of the code to fit here and it made the formatting all screwy.</p>
