You should check out
Wireless AutoSwitch
Wireless AutoSwitch will automatically enable/disable the wireless card based on the LAN connection. It works on XP, Vista and Windows 7. When the LAN is connected the wireless card will automatically get disabled, and then re-enabled when there is no LAN connection. This ensures the security of your corporate network, ensures laptops are always using the fastest connection and reduce redundant network connections. Wireless AutoSwitch can also be set to automatically enable/disable modems, Bluetooth devices and 3G/Broadband cards.