MarcoPolo is an Open Source Mac OS X application that will change system parameters (or run specific applications) depending on a laptop's location (which it attempts to divine based on a number of inputs).

Besides being free, the really neat aspect of it is that it allows you to switch to a specific location automatically based on the devices you're hooked up to and the presence of specific Wi-Fi networks: