yep

. there is something called a KVM switch. What it does is allow you to share your single keyboard, monitor, and mouse between two or more pc's. The D-link one I have came with USB capability and cost me $50 canadian... but in order to make it work with my mac, I needed to buy a ps2 to USB converter since the unit took it's power from the mouse ports.
In order to switch between the machines, i just push a little button on the KVM switch or I use the hotkey commands via the keyboard. Unfortunately, the hotkey doesn't work through my mac so I have to use the button on the unit

.
Anyways, they usually start around $20 canadian.