network connections

i have a laptop at work. i want to be able to make my firefox use the wireless connection while still connected to the LAN for work. LAN is the network for my work so i don't want to browse on it. is there a way to make firefox use the wireless connection, whist everything else goes though the LAN?

there is a wireless connection that i can pick up. it connects as one of my preferred networks. when i dock my laptop the LAN connects to my work network. the only way i can browse using the wireless connection is to disable the LAN. if i do this i have to enable it back to do work stuff and disable again to browse.

my question is if there is any way to port firefox to use the wireless connection for internet access, while maintaining a connection to the LAN for everything else?

If your network is on one subnet and not spread out further than that (it won't work if you need access to another office on a different subnet), simply disable the gateway on the LAN connection. All internet traffic will go out on the WiFi and LAN traffic will stay on the LAN connection. The only caveat is that if the IP addresses are on the same subnet, you may end up surfing LAN traffic on the WiFi, which may cause problems.