http://www.whoiskeel.com/projects/switch/

thanks for your advice, i was able to fix my DC and so far no resets. i had the dreaded faulty lid switch, well not so dreaded as your the only other person i know who've had this problem, but still.