I have something like this:
var Something = function(){ this.render = function(){}; $(window).resize(function(){ this.render(); }); }
I've been doing it this way in many tight situations. It doesn't look elegant, but it never fails. Actually thats javascript closures in action.
jrh