Yes, there will be trouble. In particular, if you call the global setCurr, it will only affect the last lava lamp, even though you may be trying to call it on a different lava lamp. The $li.click handlers will still work properly, since they call the local setCurr.
There's a potential gotcha in...