Where is the thermostat located on a 1998 Toyota Corolla?

The thermostat on a 1998 Toyota Corolla is located next to the alternator. The alternator may have to be taken off to replace the thermostat.