Forum Moderators: open
attachEvent and anonymous functions. It's hard to guess at alternatives without knowing what your code's like, but can you keep your images in an array and just change the value in the array? Then your function can be called the same way every time and just reference the same index in the array.