I would go over to <http://MacOSXHints.com> and do some searching.
I've read about several approaches on the MacOSXHints web site. One involved using SleepWatcher, which would run when you laptop (or any type of Mac) wakes from sleep, it will run any script you desire. Since most laptop network state changes occur when they away in a new location, SleepWatcher is a workable substitute.
It seems there is a com.apple.airport.preferences.plist changes when your network changes, so it might be possible to setup a launchd "WatchPaths" that executes a script when there is a network change.
You could get a utility such as MacroPolo that can trigger actions when your network changes (or maybe it is when your laptop wakes from sleep).
There are other utilities similar to MarcoPolo, such as LocationX, etc...
Finally, you could always give Apple a suggestion for such a service via <http://www.apple.com/feedback>