>I doubt so, as JavaScript only support passing parameters by value.
>What probably happens is that lnLeft, not being defined by var lnLeft, is created as a property of the global object (window when executing in a browser); when onMouseOut() executes, it takes whatever lnLeft is in scope, eg window.lnLeft.
Thanks, using var seems to be the simplest way to use.