1)is it just the rubber button that faleen off?
2)or is it the actual on/off switch that fallen off?
Solutions:
1) if this is the case try a small screwdriver to push down the switch.
2) take it to your local mobile repair shop to get the on/off switch resoldered to the motherboard.
www.themobilephonesurgery.com
Alex
July 2008