Help with Code

I have the following code and I need it to operate opposite, like the following sequence: LED off Switch Open - Switch Closed LED Off - Switch Open LED on for x period then off. Can anybody help ? A circuit I have operates just the opposite with this code. Anybody help?

Please edit you post to use code tags. See How to use this forum.

But uhm, isn't that as easy as flipping this line...

 if (digitalRead(BUTTON) == LOW) {