This example has a single function using two variables within it. The MouseOver and MouseOff events call this one function, but specify different variables for the two cases.