Have you thought about using a micro switch much like the ones you find on a washing machine lid? they are cheaper and less sensitive to environmental conditions.



When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car.
-Unknown-