Subj : Re: Calling nested Functions through Scriptable Objects To : netscape.public.mozilla.jseng From : Olinda Spider Date : Tue Jul 26 2005 09:53 am Ryan, My guess is your "test" function is in the scope you passed to the evaluateReader call. Try this instead: testFunction = function(){ var test = function(){ return "Hello"; } var testVar = 5; testFunction.prototype = { visit: function(){ return "Hello2"; } } } Pat .