Theres a temp sensor on the thermostat housing that controls the cooling fans. But check the relay with a friends fist if you can it's in the fuse box under the hood. And a quick way to see if your thermostat is bad is to feel the upper radiator hose and compare it against the lower one after the car has warmed up, if the lower one is alot cooler your thermostat is bad
__________________
Ricky